9 releases (stable)

new 2.4.0 Feb 28, 2025
2.3.0 Jan 13, 2025
2.2.0 Oct 28, 2024
2.1.0 Dec 15, 2022
0.1.0 Feb 9, 2022

#362 in Development tools

41 downloads per month
Used in antimony-lang

MIT/Apache

50KB
1K SLoC

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.

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for details on how to contribute to this project.

Projects using this crate

This crate is used by the Antimony project. Check out the QBE generator to see how they are using it.

License

The qbe crate is distributed under either of

at your option.

No runtime deps