Skip to content

Construction of a compiler for the Portugol language as a requirement for the discipline of Compilers - UFPI

License

Notifications You must be signed in to change notification settings

VictorCampelo/Compiler_VisualG

Repository files navigation

Compiler_VisualG

Construction of a compiler for the VisualG language as a requirement for the discipline of Compilers - UFPI

Depedences instalation

Antlr4 for Python:

pip3 install antlr4-python3-runtime

or

pip install antlr4-python3-runtime

Maybe for install the dependencies above it's necessary install the nexts tools

pip3 install setuptools
pip3 install wheel

or

pip install setuptools
pip install wheel

How to run:

Inside of project's directory run the follows commands:

Change the file extension at "nomearquivo.jav".

antlr4 -Dlanguage=Python3 visualg.g4
python3 main.py teste.alg

About

Construction of a compiler for the Portugol language as a requirement for the discipline of Compilers - UFPI

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published