#llvm #parser #bindings #build #ctablegen

tablegen

Bindings to LLVM's TableGen via the ctablegen library

2 releases

Uses old Rust 2015

0.1.2 Dec 20, 2016
0.1.1 Dec 18, 2016
0.1.0 Dec 17, 2016

#106 in #llvm

MIT/Apache

5.5MB
18K SLoC

C++ 17K SLoC // 0.2% comments Rust 716 SLoC // 0.1% comments

tablegen-rs

Minimal Rust bindings to LLVM's TableGen via the ctablegen library. Requires llvm-config, LLVM Core and Support libraries along with includes.

WIP

  • Add tests
  • Write documentation
  • Examples

Build

If llvm-config is not on the system path or named differently, set the LLVM_CONFIG_PATH environment variable:

LLVM_CONFIG_PATH=/usr/bin/llvm-config-3.9 cargo build

LLVM_CONFIG_PATH=llvm-config-3.8 cargo build

No runtime deps