To setup the project
- clone this repository using
git clone git@github.com:scinscinscin/compiler-design.git
- open your editor of choice and click the run button
- if you're manually compiling, you can run this command inside the
src
folder to compile and execute the example file:javac *.java && java Main ../Example.lol
- if you're manually compiling, you can run this command inside the
To run and generate graphs inside WSL:
- install graphviz using
sudo apt install graphviz
javac $(find . -type f -name \*.java) && java Main --no-interactive && dot output.dot -T png -o graph.png && wslview graph.png