Crates.io | tblgen-alt |
lib.rs | tblgen-alt |
version | 0.4.0 |
source | src |
created_at | 2024-04-29 13:22:57.339631 |
updated_at | 2024-09-24 13:16:35.208664 |
description | Safe Rust bindings for TableGen. Alternative updated version. |
homepage | |
repository | https://github.com/edg-l/tblgen-rs-alt |
max_upload_size | |
id | 1224173 |
size | 112,828 |
This is a updated (LLVM 19) fork of https://gitlab.com/Danacus/tblgen-rs. Original author: Daan Vanoverloop.
This crate provides raw bindings and a safe wrapper for TableGen, a domain-specific language used by the LLVM project.
The goal of this crate is to enable users to develop custom TableGen backends in Rust. Hence the primary use case of this crate are procedural macros that generate Rust code from TableGen description files.
Read the documentation at https://danacus.gitlab.io/tblgen-rs/tblgen/.
An installation of LLVM is required to use this crate. Both LLVM 16, 17 and 18 are supported and can be selected using feature flags.
The TABLEGEN_<version>_PREFIX
environment variable can be used to specify a custom directory of the LLVM installation.