compiler:基本C编译器(用python编写) 源码
编译器 基本C编译器(用python编写) 细节 Python版本: 3.8.5 x64 组装架构: x64 汇编语法: AT&T语法 跑 Linux $ chmod u+x ./compiler.py $ ./compiler.py test.c OR python3 ./compiler.py test.c (Generates test.s in the current directory) $ gcc test.s $ ./a.out 视窗 = Change the name of the module parser.py to something else (parser_w.py for example), then change "import Parser from parser" to "import Parser fr
文件列表
compiler-main.zip
(预估有个27文件)
compiler-main
error_print.py
3KB
compiler.py
868B
token.py
5KB
typesAST.py
9KB
test.c
1KB
lexer.py
853B
code_generator.py
60KB
parser.py
29KB
examples
暂无评论