没有合适的资源?快使用搜索试试~ 我知道了~
语法分析:语法分析解析器
共112个文件
ts:98个
json:7个
js:2个
需积分: 10 0 下载量 181 浏览量
2021-02-16
00:35:51
上传
评论
收藏 191KB ZIP 举报
温馨提示
语法分析 语法分析(lexer之后的编译器步骤)。 安装 npm i @jlguenego/syntax-analysis 用法 您应该使用Typescript以便以更简单的方式检查语法。 const t = defineTerminalAlphabet ( [ '+' , 'int' ] as const ) ; const nt = defineNonTerminalAlphabet ( [ 'S' , 'E' , 'F' ] as const ) ; type TA = typeof t ; type NTA = typeof nt ; const spec : CFGSpec < TA> = { startSymbol : 'S' , productions : [ { LHS : 'S' , RHS : [ 'E' ] } , { LHS
资源推荐
资源详情
资源评论
收起资源包目录
语法分析:语法分析解析器 (112个子文件)
.eslintignore 18B
.gitignore 50B
.mocharc.js 155B
.prettierrc.js 58B
package-lock.json 459KB
package.json 2KB
tsconfig.json 204B
tsconfig.esm.json 175B
.eslintrc.json 92B
.eslintrc.json 61B
.nycrc.json 25B
CHANGELOG.md 9KB
README.md 3KB
.npmignore 113B
ContextFreeGrammar.ts 5KB
firstk.ts 3KB
cfg7.ts 3KB
LR0State.ts 3KB
SententialForm.ts 3KB
json.ts 3KB
SLR1.ts 3KB
concatk.spec.ts 3KB
KPredictiveParser.ts 3KB
LALR1State.ts 3KB
PartialParseTree.ts 3KB
cfg6.ts 3KB
buildLLkTables.ts 3KB
cfg8.ts 2KB
LR1State.ts 2KB
first.ts 2KB
followk.ts 2KB
parse.spec.ts 2KB
BFS3.ts 2KB
BFS2.ts 2KB
DFS1.ts 2KB
LALR1.ts 2KB
Automaton.ts 2KB
LR1.ts 2KB
BFS1.ts 2KB
DFS2.ts 2KB
follow.ts 2KB
parse.ts 2KB
LR1Item.ts 2KB
LL1.ts 2KB
check.ts 2KB
sentence.spec.ts 2KB
LLkParsingTable.ts 2KB
LALR1Automaton.ts 2KB
LR1Automaton.ts 2KB
LLk.ts 2KB
Word.ts 2KB
LR0Automaton.ts 2KB
reduce.ts 2KB
LR0.ts 2KB
cfg5.ts 2KB
strongLLk.ts 1KB
LR0Item.ts 1KB
left-recursion.ts 1KB
LL1Table.ts 1KB
first.spec.ts 1KB
cfg4.ts 1KB
syntax-error.spec.ts 1KB
lr0.spec.ts 1KB
cfg3.ts 1KB
index.ts 1KB
LLkTableRow.ts 1KB
cfg5.2.ts 1KB
cfg58.spec.ts 1KB
cfg5.8.ts 1KB
cfg1.ts 1KB
async.spec.ts 1KB
cfg5.3.ts 1009B
computeClosure.ts 989B
LLKTables.ts 979B
automaton.spec.ts 959B
set.ts 957B
shift.ts 928B
simpleLL1.ts 895B
utils.spec.ts 886B
cfg53.spec.ts 881B
error.spec.ts 868B
LLkTable.ts 843B
BUState.ts 811B
cfg.spec.ts 741B
cfg2.ts 697B
NonTerminalAlphabet.ts 683B
TerminalAlphabet.ts 661B
CFGSpec.ts 646B
follow.spec.ts 626B
common.ts 608B
cfg52.spec.ts 582B
ParseTree.ts 572B
slr1.spec.ts 568B
concatk.ts 559B
WordSet.ts 552B
cfg9.ts 548B
Production.ts 511B
epsilon.terminal.ts 412B
dollar.terminal.ts 390B
NonTerminal.ts 387B
共 112 条
- 1
- 2
资源评论
缪建明
- 粉丝: 41
- 资源: 4685
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功