This is a simple compiler made by Team Calcifer in the competition 2021.
mkdir build && cd build
cmake ..
make
if you want to see debug output, enable line 16
in CMakelist.txt, disable it if you don't.
-
run a single test: ./test_set/test.c
cd build/ ./calcifer
-
run sysy function tests
cd build/ ctest # if the FUNC_TEST is OFF and you wanna activate it... cd build/ cmake .. -D FUNC_TEST=ON ctest
same for the sysy performance tests