pliron
is an extensible intermediate representation framework for programming languages,
inspired by MLIR and written in safe Rust.
cargo build
and cargo test
should build the compiler and run the testsuite.To see a simple IR constructed (from the constretin_mod test), use the following command:
cargo test constretin_mod -- --show-output
pliron
is currently in a nascent stage and not yet useful for
real-world use. In the future it can be used by just adding
a dependence to the crate
in your Rust project.