注所:有.cmm文件均为测试文件,如不需要可以删除之即可 使用make进行管理,可用的命令如下: make flex:编译lexical-analyzer.l文件 生成lex.yy.c make bison:编译syntax-analyzer.y文件 生成syntax-analyzer.tab.h和syntax-analyzer.tab.c文件 make bisondebug 调试模式编译syntax-analyzer.y 生成syntax-analyzer.tab.h和syntax-analyzer.tab.c和.output文件 make parser:编译所有.c文件 生成目标文件parser make:自动完成上述所有 make debug:在debug模式下完成上述步骤 make test:自动测试讲义中给出的测试样例 make testall:自动测试当前目录下的所有.cmm文件 make testac:自动测试a*.c的测试文件 make clean:清除所有编译结果 此外本项目开发情况请查看:https://github.com/Jam-G/JAC
-
Notifications
You must be signed in to change notification settings - Fork 1
the JAC means that it is JAm's Compiler, is a C-- compiler which is a sublanguage of C,
License
Jam-G/JAC
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
the JAC means that it is JAm's Compiler, is a C-- compiler which is a sublanguage of C,
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published