CG4
CodeGen4
CodeGen4 is an open-source software library that can be used to generate source code for wide range of languages in a structured way.
Your application can define the structure of your code in a way that is language-agnostic, using a simple API that represents the abstract syntax tree of types, members, and statements. A variety of code generators can then be used to convert that syntax tree into source code for most modern languages. Generators for additional languages can be added easily.
CodeGen4 is implemented in 100% RemObjects Swift and compiles for .NET, Java, Cocoa and Island, making it accessible and usable from a wide range of toolchains.
Internally at RemObjects, CodeGen4 drives code generation across all of our products, from interface proxies in Remoting SDK over strongly typed data access classes in Data Abstract and interface import in Hydra to a wide range of uses for displaying and generating code in Elements and its IDEs, as well as Oxidizer.
Get the latest source and downloads for CodeGen4 or participate in the development process and contribute code to
the project on github.
Visit https://github.com/remobjects/CodeGen4 for more information.