Skip to content

Adding semantic analysis

Pre-release
Pre-release
Compare
Choose a tag to compare
@romildo romildo released this 24 Oct 11:44
· 64 commits to master since this release
  • Add script "run" to make it easier to test the compiler
  • Add negate unary operator to EPLan
  • Update documentation
  • Ignore .iml files
  • Rename the generated parser class
  • Add location to AST
  • Add unit name to lexer
  • Add simple GUI
  • Add more command line options
  • Add type package and type representation for 'real'
  • Add type mismatch error message
  • Only generate code in the absense of errors
  • Add semantic analysis
  • Rename class 'ExpNum' to 'ExpReal'
  • More flexible generation code to print the result