Rebuild Sabblecc .java
files, Compile Project and Run by one of the following from root of the project
python3 run.py
python run.py
.\run.py
./run.py
- First run the command
chmod +x ./bin/elipc
to let theelipc
be used as an executable. - Add the below export to your
~/.bashrc
, or equivalente export PATH=<path-where-you've-cloned-this-repo>/elip/bin:$PATH
- Add
<path-where-you've-cloned-this-repo>/elip/bin
elipc --c file.elip
to compile into C code, already the default behaviourelipc --gui file.elip
to see AST in guielipc --ast file.elip
to see AST in consoleelipc --exe file.elip
to compile into executable using gcc
- Main function might take any number of args as long as it is a basic type
inteiro
real
boleano