BIT Mini C Compiler is a C compiler framework in Java for teaching.
- JDK 1.8 or higher
- Eclipse Mars
- Import the project into Eclipse
- Set the input source file
- run as Java applications from class BitMiniCC
- ARM
- x86
- MIPS
- RISC-V
- Lexical Analysis: input(C code), output(tokens in JSON)
- Syntactic Analysis: input(tokens in JSON), output(AST in JSON)
- Semantic Analysis: input(AST in JSON), output(errors)
- IR Generation: input(AST in JSON), output(Maple IR or LLVM IR)
- Target Code Generation: input(AST in JSON), output(x86/MIPS/RISC-V assembly)
- Weixing Ji ([email protected])
- 2023 Yichen Yuan, Cheng Zhang, Jianhui Li
- 2020: Hang Li
- 2019: Chensheng Yu, Yueyan Zhao
- 2017: Yu Hao
- 2016: Shuofu Ning
- 2015: YiFan Wu