ZJU Compiler Principle Course Project
Prerequisite of compiling the program:
- OS: linux or macOS
- Flex(lex)
- Bison(yacc)
- LLVM:12.0.0 or higher
- Graphviz
To build the project
$ make
To visualize Ast
- change the file you want to look in the makefile
$ make graph
To generate IR, object file and test the program
- change the file you want to test in the makefile
$ make test