{"id":14991212,"url":"https://github.com/vaivaswatha/pliron","last_synced_at":"2026-01-28T13:00:53.745Z","repository":{"id":58565831,"uuid":"521289860","full_name":"vaivaswatha/pliron","owner":"vaivaswatha","description":"An Extensible Compiler IR Framework","archived":false,"fork":false,"pushed_at":"2026-01-19T15:19:37.000Z","size":1125,"stargazers_count":247,"open_issues_count":10,"forks_count":22,"subscribers_count":7,"default_branch":"master","last_synced_at":"2026-01-19T21:44:25.327Z","etag":null,"topics":["compilers","ir","mlir","pliron"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vaivaswatha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-08-04T14:03:33.000Z","updated_at":"2026-01-19T18:35:38.000Z","dependencies_parsed_at":"2024-01-28T02:29:24.286Z","dependency_job_id":"596eaaba-03b5-4603-87a4-b8dedc1e93e3","html_url":"https://github.com/vaivaswatha/pliron","commit_stats":{"total_commits":225,"total_committers":5,"mean_commits":45.0,"dds":0.4622222222222222,"last_synced_commit":"592fdeea0aff834449cdce66c39212c7d4b4aca9"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/vaivaswatha/pliron","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaivaswatha%2Fpliron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaivaswatha%2Fpliron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaivaswatha%2Fpliron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaivaswatha%2Fpliron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vaivaswatha","download_url":"https://codeload.github.com/vaivaswatha/pliron/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaivaswatha%2Fpliron/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28845757,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T12:37:07.070Z","status":"ssl_error","status_checked_at":"2026-01-28T12:37:06.657Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["compilers","ir","mlir","pliron"],"created_at":"2024-09-24T14:21:45.026Z","updated_at":"2026-01-28T13:00:53.733Z","avatar_url":"https://github.com/vaivaswatha.png","language":"Rust","readme":"## Programming Languages Intermediate Representation\n\n[![Status](https://github.com/vaivaswatha/pliron/actions/workflows/ci.yml/badge.svg)](https://github.com/vaivaswatha/pliron/actions/workflows/ci.yml)\n\n`pliron` is an extensible compiler IR framework in Rust, inspired by [MLIR](https://mlir.llvm.org/docs/LangRef/).\n\n### Build and Test\n* Install the [rust toolchain](https://www.rust-lang.org/tools/install).\n* `cargo build` and `cargo test` should build the compiler and run the testsuite.\n* To see a simple IR constructed (by the [print_simple](tests/ir_construct.rs) test),\n  use the following command:\n\n      cargo test print_simple -- --show-output\n\n  It should print something like:\n  ```mlir\n  builtin.module @bar \n  {\n    ^block_1v1():\n      builtin.func @foo: builtin.function \u003c()-\u003e(builtin.integer si64)\u003e \n      {\n        ^entry_block_2v1():\n          c0_op_3v1_res0 = test.constant builtin.integer \u003c0: si64\u003e;\n          test.return c0_op_3v1_res0\n      }\n  }\n  ```\n* `pliron` provides an [LLVM Dialect](pliron-llvm/README.md) and\nconsequently an [`llvm-opt` tool](pliron-llvm/llvm-opt/README.md)\nthat can parse LLVM-IR bitcode into the LLVM dialect and output\nLLVM-IR bitcode.\n\n### Using the Library\nAdd a dependence to the [crate](https://crates.io/crates/pliron) in your Rust project.\n\nNote: `pliron`, is under active development. All effort is made to ensure that the code is well tested\nand of production quality. Current efforts are directed at completing the LLVM dialect, which can\nalready [compile bzip2](https://github.com/vaivaswatha/pliron/wiki/Compiling-bzip2-through-pliron's-LLVM-dialect).\nWe also plan to start work on supporting a cranelift dialect / backend soon.\n\n### Documentation\n* Introduction and motivation are covered in the [introductory wiki article](https://github.com/vaivaswatha/pliron/wiki/Introduction).\n* The wiki also has a [comparison](https://github.com/vaivaswatha/pliron/wiki/Comparison-with-other-compiler-frameworks) of `pliron`\nwith other compiler projects, touching upon some design decisions.\n* Code documentation can be found on\n  [docs.rs](https://docs.rs/pliron/latest/pliron/).\n\n### Some talks on `pliron`\n* [pliron: An Extensible IR Framework in Rust - IICT'24](https://www.youtube.com/watch?v=LobYuwcUaZA)\n* [Rust(ing) the Future of Compilers: Pliron as the MLIR Alternative (No C/C++)](https://www.youtube.com/watch?v=rRgYGBAhKQ0)\n* [Pliron Rust Workshop (6 sessions)](https://www.youtube.com/watch?v=6EjMWJ2PY-o)\n\n### Projects using `pliron`\n* [Commonly used Pliron Dialects](https://github.com/vaivaswatha/pliron-common-dialects)\n* [Pliron Dialect for Tensors](https://github.com/vaivaswatha/pliron-tensor)\n\n![pliron-logo](https://github.com/user-attachments/assets/adfaaeed-775f-4290-92fd-93d7c9b4fd12)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaivaswatha%2Fpliron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaivaswatha%2Fpliron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaivaswatha%2Fpliron/lists"}