GenCo
GenCo is an even simpler code generator for Rust, specifically written for use in reproto.
It does not deal with language-specific syntax, instead it can do some of the basic necessities through specialization.
- Handle imports, if needed.
- Quote strings according to language convention.
Examples
This is an example building some JavaScript:
extern crate genco;
use Quoted;
Running this example would print:
;