/MiniC

Lexer and syntax analysis for tiny c compiler.

Primary LanguagePython

MiniC

编译原理课程项目,编写一个mini c的编译器。

运行

目前支持语法分析和语义分析,分析后直接在命令行界面以先序遍历方式打印语法树。

cd MiniC
python ./src/compiler.py --path=./tests/test_regular.txt