哈工大软件学院编译原理实验 这是我用Python实现的版本,没有图形界面,有很多Bug,其中lexer.py, parser.py, sema.py,分别是词法分析,句法分析和语义分析。可以参考,但是不推荐直接使用。 推荐使用下面学长实现的版本,都是有图形界面的: Macroszh https://github.com/marcoszh/Compilation1 https://github.com/marcoszh/Compilation2 https://github.com/marcoszh/Compilation3 Winlandiano https://github.com/winlandiano/CompilerExp1_lexical_analysis https://github.com/winlandiano/CompilerExp2_Syntax_Analysis https://github.com/winlandiano/CompilerExp3_Semantic_Analysis- LeechanX https://github.com/LeechanX/My-Compiler-Designer--final-version- zsy112371 https://github.com/zsy112371/bianyi MaybeMercy https://github.com/MaybeMercy/Compiler_Experiment