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.
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.
This crate is used by the Antimony project. Check out the QBE generator to see how they are using it.
The qbe
crate is distributed under either of
at your option.