#compile #compiler #jit #interpreter

llvm-rs

A wrapper for LLVM, a powerful library and toolkit for compilers

5 releases

Uses old Rust 2015

0.2.1 Jan 20, 2019
0.1.3 Feb 9, 2018
0.1.2 Feb 9, 2018
0.1.1 Feb 9, 2018
0.1.0 Feb 9, 2018

#236 in Programming languages

24 downloads per month

BSD-3-Clause

115KB
2.5K SLoC

LLVM-rs

Build Status Dependency Status

This is a library that wraps LLVM using Rust idioms and the cbox library. There is good quality documentation available if you want to check out the API. It's basically a simplified version of the C++ API which has documentation.

Using in your projects

To use this in your project, add the following to your Cargo.toml

[dependencies]
...
llvm-rs = { git ="https://github.com/lapz/llvm-rs/"}

Bugs

While using this library, if you ever encounter a segmentation fault or similar unverbose error messages, please file an issue with what code caused the problem. Thanks!

Notes

This is a fork of the original bindings that were written by TomBebb that has been updated and with more bindings written.

Dependencies

~270–800KB
~15K SLoC