没有合适的资源?快使用搜索试试~ 我知道了~
tacparser:PEG解析器
共169个文件
out:49个
py:41个
txt:32个
需积分: 5 0 下载量 87 浏览量
2021-04-20
20:53:12
上传
评论
收藏 317KB ZIP 举报
温馨提示
敲击者 解析器生成器,该解析器生成器生成解析脚本(python),该脚本从以扩展PEG的符号编写的语法文件生成AST。 局限性 python 3.9或更高版本 安装 请直接在下载的文件夹下使用pip进行安装。 $ pip install . 创建一个解析器 $ tacparser-gen inputfile [outputfile] [parsername] [encoding] 例子) $ tacparser-gen sample.peg sampleparser.py 如果未指定outputfile,解析器名称和编码,则每个 输出文件:[peg根节点名称] .lower()+“解析器” +“ .py” 解析器名称:[peg根节点名称] +“解析器” 编码:utf-8 被指定。 如何使用创建的解析器 如果您创建了YourParser from yourpackage impor
资源推荐
资源详情
资源评论
收起资源包目录
tacparser:PEG解析器 (169个子文件)
parsergenerator.actions 0B
run_test.bat 166B
make_docs.bat 96B
setup.cfg 509B
logging.conf 911B
logging.conf 907B
test_expeg_data.txt.dist 383KB
test_astactions08data.txt.dist 12KB
test_astactions06data.txt.dist 11KB
test_astactions09data.txt.dist 11KB
test_astactions04.txt.dist 10KB
test_astactions05data.txt.dist 10KB
test_astactions07data.txt.dist 9KB
test_astactions02.txt.dist 7KB
test_astactions03.txt.dist 7KB
test_astactions01.txt.dist 82B
.gitignore 99B
.gitmodules 99B
expeg_test.in 6KB
MANIFEST.in 65B
LICENSE 1KB
README.md 13KB
test_expeg_data.txt.out 383KB
expeg_test_dist.out 220KB
expeg_test_src.out 220KB
expeg_reconstruct_dist_dtl.out 15KB
expeg_reconstruct_src_dtl.out 15KB
actions05_src.out 15KB
actions05_dist.out 15KB
expeg_reconstruct_src.out 13KB
expeg_reconstruct_dist.out 13KB
expeg_print_pos_src.out 13KB
expeg_print_pos_dist.out 13KB
expeg_reconstruct02_src.out 13KB
expeg_reconstruct02_dist.out 13KB
test_astactions08data.txt.out 12KB
test_astactions06data.txt.out 11KB
test_astactions09data.txt.out 11KB
test_astactions04.txt.out 10KB
test_astactions05data.txt.out 10KB
test_astactions07data.txt.out 9KB
expeg_rec_test_dist.out 8KB
expeg_rec_test_src.out 8KB
test_astactions02.txt.out 7KB
test_astactions03.txt.out 7KB
actions04_src.out 5KB
actions04_dist.out 5KB
actions03_src.out 5KB
actions03_dist.out 5KB
subdef02_test_dist.out 3KB
subdef02_test_src.out 3KB
subdef02_02_test_dist.out 2KB
subdef02_02_test_src.out 2KB
actions02_src.out 2KB
actions02_dist.out 2KB
actions01_src.out 1KB
actions01_dist.out 1KB
subdef01_test_dist.out 1KB
subdef01_test_src.out 1KB
subdef01_test_str_src.out 1KB
macro02_test_src.out 805B
macro02_test_dist.out 805B
macro01_test_src.out 501B
macro01_test_dist.out 501B
subdef03_01_src.out 499B
subdef03_01_dist.out 499B
recursion01_dist.out 216B
recursion01_src.out 216B
test_astactions01.txt.out 82B
loop_dist.out 21B
loop_src.out 21B
action.peg 10KB
expeg.peg 8KB
peg.peg 1KB
astactionstest.peg 804B
subdef03.peg 485B
subdef01.peg 429B
subdef01.peg 406B
recursion02.peg 379B
macro02.peg 351B
leftrecursive04.peg 267B
doc.peg 255B
leftrecursive03.peg 205B
subdef02.peg 205B
macro01.peg 187B
unicode.peg 138B
leftrecursive02.peg 83B
loop.peg 64B
noparam.peg 62B
duplicate01.peg 57B
recursion.peg 54B
leftrecursive01.peg 53B
undefined01.peg 38B
error03.peg 32B
error.peg 15B
error02.peg 14B
actionsparser.py 39KB
expegparser.py 32KB
baseparser.py 32KB
parsergenerator.py 31KB
共 169 条
- 1
- 2
资源评论
看不见的天边
- 粉丝: 19
- 资源: 4610
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功