#compiler #ir #qbe

jyafn-qbe

QBE IR for Rust (forked from https://github.com/garritfra/qbe-rs for jyafn)

1 stable release

2.1.1 Jul 30, 2024

#687 in Development tools


Used in jyafn

MIT/Apache

30KB
708 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