-
这个语法分析器用到的是自顶向下的递归调用的方法,根据Cminus语言的文法规则 的BNF范式编写递归调用的代码,parse方法是程序的入口,它调用的stmt_s...
这个语法分析器用到的是自顶向下的递归调用的方法,根据Cminus语言的文法规则 的BNF范式编写递归调用的代码,parse方法是程序的入口,它调用的stmt_sequence完成整个语法分析工作,stmt_sequence背后是12个互相调用的方法,它本身也在语法分析的过程中被调用到。
每个方法在最后会返回一个构造好的节点DefaultMutableTreeNode节点t给调用它的方法,然后调用它的方法用这个返回的节点继续构造,最后语法分析完成后会返回一棵完全构造好了的树节点,然后将这个树节点作为根节点生成一个树控件JTree显示到窗体程序上
-CMM parser
- 2023-07-09 15:45:03下载
- 积分:1
-
系统地讲述了计算机语言的编译原理。如:编译器、词法分析、文法等...
系统地讲述了计算机语言的编译原理。如:编译器、词法分析、文法等-Systematically about the principles of computer language compiler. Such as: compiler, lexical analysis, grammar, etc.
- 2023-03-09 13:55:04下载
- 积分:1
-
编译词法分析程序
编译词法分析程序- Translation lexical analyaer
- 2022-03-15 18:19:48下载
- 积分:1
-
a C language compiler source code, written in the Eastern foreigners, generating...
一个C语言编译器源代码,外国人写的东东,生成目标代码时需要有masm配合。-a C language compiler source code, written in the Eastern foreigners, generating object code when it can meet the need.
- 2023-03-13 21:30:04下载
- 积分:1
-
简单的词法分析器,真的很简单,优点是容易看懂,适合于初学者...
简单的词法分析器,真的很简单,优点是容易看懂,适合于初学者-simple lexical analyzer, it is really simple, easy to understand advantage is suitable for beginners
- 2022-01-25 22:45:28下载
- 积分:1
-
状态转换矩阵 用来判断运算符的正确性
状态转换矩阵 用来判断运算符的正确性- The phase transition matrix uses for to judge the operator the
accuracy
- 2022-07-26 11:04:14下载
- 积分:1
-
第一次哦,不好不说哦,不好怪自己哈
。
第一次哦,不好不说哦,不好怪自己哈
。-first Oh, oh, not bad, not blaming themselves Kazakhstan.
- 2023-03-17 20:50:03下载
- 积分:1
-
预测分析法实现的语法分析器
预测分析法实现的语法分析器 -Forecast and Analysis Method syntax analyzer Forecast and Analysis Method of Grammar Analyzer Forecast and Analysis Method syntax analyzer
- 2022-03-15 04:53:12下载
- 积分:1
-
语法分析 希望可以帮助同学在语法分析上有所帮助
语法分析 希望可以帮助同学在语法分析上有所帮助- The grammar analysis hope may help the schoolmate to have the
help in the grammar analysis
- 2023-09-07 05:50:05下载
- 积分:1
-
一个简单词法分析器
一个简单词法分析器- A simple morphology analyzer
- 2022-04-08 01:03:00下载
- 积分:1