code_generator
Brendan Smith (smithb21)
documentation
https://docs.rs/code_generator/latest/code_generator/
README
Code Generator
- This project is not stabilized. There will be many breaking changes before it is stabilized.
- The goal of this project is to be able to generate code, and be able to easily change the formatting of the generated code as needed.
- This library makes it easier to reuse code generation code since it is context aware.
- This library currently only supports C, but I would like to support multiple target languages.
TODO:
- Support more types of code generation (switch, do/while, etc.)
- Support more languages. Currently the language is fairly hard coded. Not sure if that can be abstracted.
- Unit tests
- Documentation
Limitations
- I don't believe it would be possible to work backwards with the existing architecture of the project. This library could not parse code, and do anything with it without a major rework.
Commit count: 24
cargo fmt