[School project] Create a compiler and an interpreter based on lex and yacc. This code is no longer maintained.
In order to install lex
and yacc
run
sudo apt-get install flex bison
Create the compiler
and interpreter
executables using
make
Run the compiler using
./compiler < test.c //Where test.c is the file to compile
Run the interpreter using
./interpreter