Skip to content

CiccioTecchio/YASPL3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yet Another Simple Programming Language

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).

How to install

  1. You can download the YASPL compiler here.
  2. For more information about the lexical, grammatical and semantic rules specification read the wiki.
  3. 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.