#codegen #plugin #appcore

yanked cg

Codegen utility library

Uses old Rust 2015

0.1.0 Jun 30, 2015

#288 in #codegen

18KB
286 lines

rust-cg

Rust codegen library.

Features

  • macros for syntax::ext::deriving::generic: you can use ext_path!() and ext_ty!() with
  • mixed variable: ext_!(std::core::option::Option<$ty_var>)

lib.rs:

cg helps writing a compiler plugin. You can use something simillar to quote_* for deriving traits.

No runtime deps