搜索资源列表
antlr-2_7_0
- Java写的词法/语法分析器。可生成JAVA语言或者是C++的词法和语法分析器。并可产生语法分析树和对该树进行遍历 -Syntactic and phrase parser in JAVA which can produce JAVA or C
Two-fork-tree-operation
- 熟练掌握二叉树的各种遍历算法,并能灵活运用遍历算法实现二叉树的其它操作;-Proficiency in a variety of binary tree traversal algorithm, and other operations of the binary tree traversal algorithms to achieve flexibility in the use of
compile
- 对tiny语义分析器的阅读和分析,理解符号表的定义(栏目设置)与基于抽象语法树的类型检查/推论的实现方法(树遍历)。完成C-语言的符号表的定义设计。规划类型检查/推论的实现方法。实现一种语言的语义分析器-Type checking/inference realization tiny semantic analyzer reading and analysis, to understand the definition of the symbol table (part set) based o
bintree
- 关于二叉树的插入,先序遍历,后序遍历,中序遍历,叶子节点个数,树的深度,路径查找。-Binary tree insertion, preorder, postorder traversal, preorder, the number of leaf nodes, the depth of the tree, the path to find.
TinyXML
- TinyXML是一个开源的解析XML的解析库,能够用于C++,能够在Windows或Linux中编译。这个解析库的模型通过解析XML文件,然后在内存中生成DOM模型,从而让我们很方便的遍历这棵XML树-TinyXML is an open source parsing XML parsing library that can be used in C++, Windows or Linux can be compiled. The analytical model by parsing the
CP_work_8
- 设计一个四则表达式分析软件,其接受从文件或键盘输入的四则表达式(运算对象支持整数和变量),给出该表达式的二叉树表达形式,并在键盘上按后续遍历方式输出该二叉树。 例如,输入a+b*c,输出 a b c * + 提示:参考下列的设计指导: 递归下降分析法实验设计思想及算法 为G的每个非终结符号U构造一个递归过程,不妨命名为U。U的产生式的右边指出这个过程的代码结构: (1)若是终结符号,则和向前看符号对照,若匹配则向前进一个符号;否则出错。 (2)若是非终结符号,
cleanProjectCPlusPlus
- 2 尝试设计翻译方法。假定对程序片段已得到语法树,如 if (a > b) b = a 已得到语法树 编写程序,遍历语法树,执行代码,得到正确结果。 -2 try to design Translation. Has been assumed for the program fragment syntax tree, such as if (a> b) b = a syntax tree has been writing programs, travers
