12 breaking releases

0.13.0 Oct 25, 2021
0.11.0 Oct 4, 2021

#2347 in Development tools

34 downloads per month

MIT license

64KB
1.5K SLoC

lib-ruby-parser-bindings

test unsafe forbidden Crates.io MIT Licence dependency status Docs

This crate contains shared scripts to build bindings to lib-ruby-parser.

Examples

use lib_ruby_parser_bindings::{generate, Options};

let options = Options {
    pre_code: "#include \"stubs.h\"",
    fn_attributes: "__attribute__((always_inline))",
    ..Default::default()
};
let contents = generate(&options);

std::fs::write("codegen/bindings.h", contents).unwrap();

Dependencies

~8.5MB
~162K SLoC