6 releases (stable)

2.2.0 Oct 28, 2024
2.1.0 Dec 15, 2022
2.0.0 Mar 10, 2022
1.0.0 Feb 11, 2022
0.0.1 Feb 8, 2022

#393 in Development tools

Download history 2/week @ 2024-08-26 10/week @ 2024-09-09 3/week @ 2024-09-16 25/week @ 2024-09-23 23/week @ 2024-09-30 3/week @ 2024-10-14 141/week @ 2024-10-28 28/week @ 2024-11-04 9/week @ 2024-11-18 110/week @ 2024-12-09

119 downloads per month
Used in antimony-lang

MIT/Apache

30KB
712 lines

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.

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