-
这个语法分析器用到的是自顶向下的递归调用的方法,根据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
-
武汉理工大学计算机学院编译原理课程设计之DO
武汉理工大学计算机学院编译原理课程设计之DO-WHILE语句的翻译程序设计-Wuhan Polytechnic University computer science theory courses compiler design DO-WHILE statement to the translation program design
- 2023-08-08 03:55:03下载
- 积分:1
-
为EBNF符号对象的完整支持;
Complete support for EBNF notation; Object-oriented parser design; C++ output; Deterministic bottom-up "shift-reduce" parsing; SLR(1), LALR(1) and LR(1) table construction methods; Automatic parse tree creation; Possibility to output parse tree in XML format; Verbose conflict diagnostics; Generation of tree traverse procedures
- 2022-01-24 16:51:06下载
- 积分:1
-
#包括<;fstream & gt;
#include
- 2022-02-03 06:24:20下载
- 积分:1
-
65xx系列致力于加强芯片设计调试环境的变化
专门为65XX系列芯片设计的变异调试环境的源代码,自带代码加色系统,以及模拟调试环境-65XX series dedicated to the variation of chip design debugging environment of source code, code plus its own color system, simulation and debugging environment
- 2022-05-16 09:13:14下载
- 积分:1
-
16进制文件编辑与磁盘编辑软件。类似 ultraedit 的文本编辑工具,支持二进制编辑,支持比较和调整 bitwise 顺序。功能强大,支持文件在二进制级进行...
16进制文件编辑与磁盘编辑软件。类似 ultraedit 的文本编辑工具,支持二进制编辑,支持比较和调整 bitwise 顺序。功能强大,支持文件在二进制级进行比较。-16 hexadecimal file editor and disk-editing software. UltraEdit similar text editing tool that supports the binary editing, support for bitwise comparison and adjustment of the order. Powerful, supporting documents in the binary-level comparison.
- 2023-03-26 10:45:03下载
- 积分:1
-
是一个不错的语法分析器,里面实现了语法分析的算法,并判断了一些优先级的控制和对栈的操作.
是一个不错的语法分析器,里面实现了语法分析的算法,并判断了一些优先级的控制和对栈的操作.-is a good parser, they achieved the syntax analysis algorithms, and a judgment of priority to the control and operation of the stack.
- 2022-02-09 19:16:52下载
- 积分:1
-
开发编译器的有力工具,详细讲述了Lex和Yacc的原理及其实际应用...
开发编译器的有力工具,详细讲述了Lex和Yacc的原理及其实际应用-The development of a powerful tool for compiler
- 2023-04-18 01:25:03下载
- 积分:1
-
十分详细的编译原理课件,来自北京大学,请大家评鉴。
十分详细的编译原理课件,来自北京大学,请大家评鉴。-Very detailed compilation principles of courseware, from Peking University, please evaluation.
- 2022-03-02 23:14:39下载
- 积分:1
-
按照清华大学的教材,自己用C++做的一个小的哈夫曼编码器
按照清华大学的教材,自己用C++做的一个小的哈夫曼编码器-materials they used to do a C minor Huffman encoder
- 2022-06-29 11:57:54下载
- 积分:1