搜索资源列表
BOCH.rar
- 一个用LISP语言编写的语法分析器。使用Bottom-up Chart Parsing算法,程序非常的简单高效,只有二百多行。另外可以自己定义文法和字典。 源代码公开,主要供对语法分析算法和LISP编程感兴趣的人学习使用,也可以使用在自然语言处理的各种实际研究当中。
whale-0.3.2-src.zip
- 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 pars
汉语分析器
- 汉语原代码,具有词法分析,句法分析功能 很好的程序-Chinese source with lexical analysis and parsing functions good procedures
yf.rar
- 构造实验一所给文法(应考虑改造)的FIRST集合和FOLLOW集合;构造LL(1)分析表;构造预测分析的总控程序;利用分析表、分析栈和总控程序对源程序进行自上而下的语法分输出整个语法分析过程中栈的变化过程及分析结果,如符合语法规则输出“正确”,否则输出“错误”。 ,Experiment to construct a grammar (should consider the transformation) of FIRST and FOLLOW set of the collection co
whale-0.3.2-src
- 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 XM
2
- 编译原理语法分析(LL1文法) 编译原理语法分析(LL1文法)-Compilation Principle parsing (LL1 grammar) Compilation Principle parsing (LL1 grammar)
1
- 自上而下的语法分析器,实验内容之一,利用分析表、分析栈和总控程序对源程序进行自上而下的语法分析测试; -Top-down parser, one of the experiment, the use of analytical tables, analysis of the total stack and source code control procedures for testing top-down parsing
lr1
- LR 语法分析 ACTION GOTO 表-LR parsing ACTION GOTO table
LR_Exp
- LR 语法分析 词法分析 四元式输出 语义分析-Lexical Analysis of LR parsing quaternion output semantic analysis
dowhilee
- 1.1写出符合给定的语法do-while语句, 此语句符合LL(1)的文法,分析方法 的文法及属性文法。 1.2完成do-while语句的中间代码三地址表示的描述。 1.3写出do-while语句语法分析方法的思想,完成语法分析和语义分析程序设计。 1.4编制好分析程序后,设计若干用例,上机测试并通过所设计的分析程序。-1.1 write in line with the syntax of a given do-while statement, the sta
LR
- 1.实验目的 设计一个LR分析器,实现对表达式语言的分析,加深对LR语法分析方法的基本思想的理解,掌握LR分析器设计与实现的基本方法。 2.实验要求 建立文法及其LR分析表表示的数据结构,设计并实现一个LALR(1)的分析器,对源程序经词法分析后生成的二元式代码流进行分析,如果输入串是文法定义的句子则输出“是”,否则输出“否”。 3.实验内容 (1)文法描述及其LALR(1)分析表 描述表达式语言的文法G如下: -1. The experiment was to de
bianyiyuanlikechengsheji
- DO-WHILE循环语句的翻译程序设计(LR方法、输出三地址表示)包含词法分析和语法分析过程的输出。-DO-WHILE loop design of the translation process (LR method, the output address of said three) contains lexical analysis and parsing the output of the process.
Parsing
- 用递归下降子程序实现语法分析,分析的是表达式的语法,可以实现报错,但是,操作数必须为一个字符,数字字母均可。-Subprogram implementation using recursive descent parsing, analyzing the expression syntax can be achieved Baocuo, but the operand must be a character, numbers, letters can be.
Shiftreduceparsing
- It performs Shift reduce parsing
Parsing
- 编译原理课程中,用VC编的简单的语法分析。-Compiler theory course, with the VC compiled a simple parsing.
Parsing
- 语法分析器,在编译系统中起到分析语法的目的。-Parsing
recursive-descent-parsing
- 编译原理的实验,递归下降语法分析,能够实现自上而下的分析。-Compiler theory of the experiment, recursive descent parsing, to achieve top-down analysis.
parsing
- 编译原理的语法分析作业,三个代码,实现语法分析-Compiler theory of parsing operations, three code parsing
simple-relation-parsing
- 简单词法分析程序,通过设计调试一个具体的语法分析程序,同时进行语义处理,使学生对编译的全过程有所理解。使学到的理论具体化,从而提高解决实际问题的能力。-simple relation parsing program.
descent-parsing
- 实习递归下降语法分析,先是此法后语法的分析顺序 swing界面-Internship recursive descent parsing, this method of syntax analysis of the order of swing interface