Implementation of a source-to-source compiler (currently converting Java programs into C programs and vice-versa*) through the principles of a language neutral-based compilation framework.
The compiler is designed to be easily extended, so you can add support to other Imperative (Object-Oriented and Procedural) programming languages by providing Translation Schemes for them.
The complete description of the compiler, its documentation, documentation and usage instructions and examples can be found on the project website.
Download the executable jar here.
To compile the AS2SCompiler source code, download those awesome open-source projects:
After that, enter the AS2SCompiler directory and execute the following command:
$ mvn clean package
The compiler will be in the target directory.
Everyone can modify the source code. Follow those steps to do and feel free to submit your improvements:
- Fork this repository.
- Change or add code.
- Create a pull request.
*Disclaimer: It is not possible to translate the entire language so far, only a limited set of aspects are currently covered by AS2SCompiler.