A compiler designed for SysY2022.
cd to the project directory
mkdir build
cd build
cmake ..
makegenerate object file
./compiler test.cThis command will generate a object file(.o).
Then use clang to generate the executable file. (currently we don't need external library)
clang-14 output.o -no-pie -o programclang-14 -c sylib.c -o sylib
ar cr sylib.a sylib