To compile and run use:
make
To just run use:
make run
The input file can be found in data/in.cpp
, you can play with this file and run.
You can also change the input file and run the program after compiling with
./src/a.out <input_file> <output_quad_file> <symbol_table_file>
This compiler has a windows application GUI built with WPF and C#
Note: in the first time you run the GUI, it will prompts you to provide the windows executable of the compiler that is generated by compiling the files.