You can check out the file: - data/test.svc to see what the description language looks like. - generators/cpp-like.rhai to see what a generator could look like. - generators/cpp-like.rhai.tym to see what a typemapping file looks like.
shell
cargo install --locked ssdcg
```shell ssdcg 0.1.0 Simple Service Description & Code Generator
USAGE:
ssdcg
FLAGS: -h, --help Prints help information -V, --version Prints version information
SUBCOMMANDS: debug Print debug representation of the parsed file generate Use a generator with the parsed file help Prints this message or the help of the given subcommand(s) pretty Pretty print the parsed file ```
To test it out you can use the following command:
rust
ssdcg generate generators/cpp-like.rhai data/test.svc