没有合适的资源?快使用搜索试试~ 我知道了~
PL0:PL0词法分析器,解析器,代码生成器,虚拟机和调试器
共99个文件
pas:39个
h:30个
c:25个
需积分: 12 1 下载量 200 浏览量
2021-05-11
20:45:36
上传
评论
收藏 107KB ZIP 举报
温馨提示
对于此项目,有一个Makefile将处理所有编译。 浏览到包含Makefile的文件夹,然后运行以下命令之一: make :构建一个可执行文件pl0 (优化,调试和断言关闭) make debug :在调试配置中构建可执行文件(关闭优化,打开调试和断言) make debug+ :在调试配置中并使用clang的Address Sanitizer(eustis没有clang,因此在那里不起作用)构建可执行文件(在常规构建和debug +构建之间切换之前运行make clean ) make graph :构建可执行文件并在input.txt上运行以生成Graphviz输入文件,然后通过Graphviz运行这些文件以生成呈现的pdf(eustis没有Graphviz,因此在该目录中不起作用) make run :在调试配置中生成可执行文件并运行以生成所有输出文件 make archi
资源推荐
资源详情
资源评论
收起资源包目录
PL0-master.zip (99个子文件)
PL0-master
config.h 2KB
instruction.h 6KB
token.c 493B
dynamic_string.h 3KB
vm
pm0.c 1KB
debugengine.h 758B
machine.h 5KB
pm0.h 774B
machine.c 21KB
debugengine.c 11KB
tee.h 649B
dynamic_array.h 8KB
main.c 6KB
tee.c 3KB
macros.h 5KB
gvnode.c 2KB
instruction.c 6KB
argparse.h 6KB
graphviz.c 3KB
object.h 5KB
LICENSE 1KB
test_cases
input018.pas 128B
input020.pas 166B
input022.pas 221B
input004.pas 2B
input007.pas 1004B
input001.pas 67B
error008.pas 79B
input005.pas 652B
error013.pas 60B
input015.pas 184B
input008.pas 823B
input012.pas 331B
error017.pas 587B
input003.pas 107B
error007.pas 94B
error002.pas 75B
input019.pas 468B
error009.pas 81B
input009.pas 228B
error014.pas 69B
input011.pas 120B
input002.pas 51B
input006.pas 127B
input014.pas 1KB
input016.pas 266B
input017.pas 400B
error016.pas 50B
error015.pas 22B
error004.pas 80B
error005.pas 92B
error003.pas 78B
error006.pas 87B
error011.pas 114B
error001.pas 49B
error012.pas 48B
input010.pas 206B
input021.pas 871B
input013.pas 535B
error010.pas 54B
lexer
pl0lex.c 9KB
lexer.h 2KB
transition.c 1KB
state.h 2KB
lexer.c 5KB
pl0lex.h 704B
state.c 2KB
transition.h 3KB
.gitignore 221B
compiler
pl0c.c 2KB
ast_nodes.h 7KB
ast_graph.c 12KB
ast_graph.h 910B
ast_nodes.c 10KB
pl0c.h 868B
codegen
codegen.h 1KB
symbol.h 1KB
symtree.c 8KB
pm0
genpm0.c 14KB
basicblock.h 5KB
block.h 2KB
basicblock.c 20KB
genpm0.h 2KB
block.c 4KB
codegen.c 2KB
symtree.h 2KB
symbol.c 982B
llvm
genllvm.c 11KB
genllvm.h 1KB
parser
token_stream.h 2KB
parser.h 1KB
token_stream.c 4KB
parser.y 8KB
parser.c 32KB
Makefile 7KB
README.md 3KB
graphviz.h 4KB
gvnode.h 946B
token.h 3KB
共 99 条
- 1
资源评论
一枝清荷
- 粉丝: 23
- 资源: 4630
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功