Skip to content

bedinotto/EZ

Repository files navigation

EZ

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.

How to run

Prerequisites

  • JavaCC

$ sudo apt install javacc $ brew install javacc

Compile

$ cd parser

/parser$ javacc ez.jj

$ cd ..

$ javac parser/ez.java

Run

$ java parser.ez <input_file>

Run with debug

$ java parser.ez -debug_AS <input_file>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published