Operating System: wsl2 (Debian 12.2.0-14)
Architecture: x86_64
Byte Order: Little Endian
Compiler: c++ (Debian 12.2.0-14) 12.2.0
cmake version 3.25.1
- You can just run the execute.sh file in the terminal and it will compile and run the program for you.
- Or you can execute the Front_End_Compiler file in the terminal directly.
My scanner can only recognize the basic tokens of C. The pointer, struct, union, and the comma operator can not be recognized correctly.
I used a n-ary tree library to implement my parser.
It just generate the code which is the same as the source code.
Maybe not robust. Still has lots of details to add.