- Run the Makefile in the root directory and
./compiler
executable will be built.
- Run
run.sh
or./compiler < input.txt > out.c 2> err.log
. This will generate a C program namedout.c
and show any compilation errors inerr.log
. - Run
gcc -o program out.c
to compiler the generated program. - Test the generated program by running
./program
.