This is an implementation of a programming language, to generate the lexical analyzer has been used JFlex, to generate the parser has been used JavaCup, the semantic analysis has been managed using the Visitor pattern after this last analysis is generated the C code(always using the visitor pattern).
- You can download the YASPL compiler here.
- For more information about the lexical, grammatical and semantic rules specification read the wiki.
- You can clone this project you can import it in IntelliJ an run the Maven task jflex to generate the lexical analyzer and run the Maven task jcup to generate the parser.