dorian icon indicating copy to clipboard operation
dorian copied to clipboard

Dorian is an intuitive high-level abstraction for LLVM for creating imperative programs using declarative structures.

dorian

Dorian is a Rusty type-safe high-level abstraction for LLVM.

Installing

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.

Stability

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.

Transition from LLVM

Check out LLVM_COMPARISON.md for a complete analogous comparison of the LLVM and Dorian API.

Contributing

Check out CONTRIBUTING.md