QBE IR for Rust

docs Crates.io

https://c9x.me/compile/

This crate seeks to provide a Rust-y representation of QBE IR. It can be used for code generation of compilers. A way to parse existing IR is planned.

Getting Started

This crate is on crates.io, so you can simply add it as a dependency in your Cargo.toml and off you go.

If you don't know where to get started, check out the hello_world example in the examples/ directory.

License

The qbe crate is distributed under either of

at your option.