Skip to content

Implementation of a source-to-source compiler through the principles of a language neutral-based compilation framework.

License

Notifications You must be signed in to change notification settings

RafaelSantosBraz/AS2SCompiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Another Source-to-Source Compiler

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.

Compiling the Compiler

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.

How to Contribute

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.

notes

*Disclaimer: It is not possible to translate the entire language so far, only a limited set of aspects are currently covered by AS2SCompiler.