Dorian is a Rusty type-safe high-level abstraction for LLVM.
Add Dorian to your cargo project: cargo add dorian
Dorian uses llvm-sys
as its sole dependency for LLVM, so we recommend your look at
their page for instructions on how to install LLVM
and to make sure that Rust can find it.
Check out EXAMPLES.md for a list of simple applications built using Dorian.
Dorian currently offers no guarantee of non-breaking API changes across updates, as changes are constantly being made to improve the utility of the API. Furthermore, the library remains largely untested, so while most of the code likely works, we can't guarantee it.
Examples are available, and the API is built to be intuitive, so you likely won't run into big issues using Dorian for a hobby project, it is not recommended for a production context.
Check out LLVM_COMPARISON.md for a complete analogous comparison of the LLVM and Dorian API.
Check out CONTRIBUTING.md