This is a project of compiler for a simple language called EZ. The compiler is written in Java, using JavaCC as the parser generator.
This project is part of the course "Compilers" at the Universidade Federal do Pampa, Brazil.
This project is developed by:
- Felipe Bedinotto Fava
- Lucas Santos Oliveira
This project follows the book "Como Construir um Compilador Utilizando Ferramentas Java" by Marcio Delamaro.
- JavaCC
$ sudo apt install javacc
$ brew install javacc
$ cd parser
/parser$ javacc ez.jj
$ cd ..
$ javac parser/ez.java
$ java parser.ez <input_file>
$ java parser.ez -debug_AS <input_file>