搜索资源列表
15883
- (1)、本代码实现语法分析的LL(1)分析法。 (2)、输入一个文法的所有产生式,由程序自动生成它的LL(1)预测分析表。 (3)、对于给定的输入串,能正确识别该串是否为给定文法的句型。 -(1), the parsing code of LL (1) analysis. (2), all of grammar enter a production, it is automatically generated by the procedures of the LL (1) Forec
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
200906241019311925
- LL(1)文法自动生成语法分析程序的设计-LL (1) grammar syntax analysis program automatically generates the design
cifa
- 包括一个LR(1)的语法分析程序和一个LL(1)的语法分析程序的例子-Includes a LR (1) syntax analysis procedure and an LL (1) Examples of the syntax analysis program
yufa
- 语法分析器,对已给pascal语言文法,构造LL(1)分析表,编制语法分析程序,要求将错误信息输出到语法错误文件中,并输出分析句子的过程-Parser that have been to the pascal language grammar, structure LL (1) analysis table, the preparation of parsing procedure that requires the output to the error message syntax erro
yufafenxi
- 采用LL(1)方法,用C语言在C++开发环境下编写的语法分析程序,简单易懂,已经过调试-Using LL (1) method, using C language development environment C++ parser written in a simple easy to understand, has been commissioning
Predictor
- LL(1)预测分析程序,语法是定的,不过可以稍加修改环境vs2005 语言 C#-LL (1) predictive analysis, grammar is fixed, but can be modified to environmental vs2005 Language C#
LL11
- LL(1)语法分析器,构造分析表,输入一个语句,然后进行语法分析!-LL (1) lexical analyzer
main
- 编译原理实验之ll(1)语法分析,主要完成ll(1)分析表的构造和输入字符串的正确性检验-Compiler theory experiment ll (1) syntax analysis was completed for ll (1) of the table structure and test the correctness of input string
yufa
- 简单的实现编译原理LL(1)语法分析,给定文法和分析表 -a program a baout LL(1)analsy
bian-yi-yuan-li-kechengsheji
- 编译原理课程设计:建立文法及其LL(1)分析表表示的数据结构,设计并实现相应的预测分析器,对源程序经词法分析后生成的二元式代码流进行预测分析,如果输入串是文法定义的句子则输出“输入串分析成功”,否则输出“输入串语法错误”。-Principles of Course Design Compiler: A Grammar and LL (1) of the table that the data structure, design and implement the corresponding pr
20029440913
- (1) 根据LL(1)分析法编写一个语法分析程序,可根据自己实际情况,选择以下一项作为分析算法的输入: a. 直接输入根据已知文法构造的分析表M b.输入文法的FIRST(α)和FOLLOW(U)集合,由程序自动生成文法的分析表M; c.输入已知文法,由程序自动构造文法的分析表M。 (2) 程序具有通用性 所开发的程序可适用于不同的文法和任意输入串,且能判断该文法是否为LL(1)文法。 (3) 有运行实例 对于输入的文法和符号串,所编制的语法分析程序应能正确判断此
LL1_yufafenxi
- LL(1)语法分析程序 LL(1)语法分析程序-LL (1) parser
GrammerParsers
- 利用C++语言编制一个LL(1)语法分析器,利用LL(1)控制程序根据显示栈栈顶内容、向前看符号以及LL(1)分析表,对输入符号串自上而下的分析过程。可通过消除左递归、提取左因子把非LL(1)文法改造成LL(1)文法。-Compiled using a C++ language LL (1) parser using LL (1) control program according to display the contents of the stack the stack, forward-l
Parser
- 实现LL(1)文法,能对其实现自顶向下的语法分析并预测分析方法。-Achieve LL (1) grammar, to achieve its top-down method of syntax analysis and predictive analysis.
LL1sy
- 此程序是实现编译原理中LL(1)文法分析的,对任意输入LL(1)文法,自动构造LL(1)分析表并生成相应的语法分析程序,实现LL(1)分析过程;能对输入串进行语法分析,判断其是否符合文法。-Compile this program is to achieve the principle of LL (1) grammar analysis, for any input LL (1) grammar, automatically constructs LL (1) of the table and
digui
- 递归下降语法分析设计原理与实现技术 完成以下描述算术表达式的LL(1)文法的递归下降分析程序 G[E]: E→TE′ E′→ATE′|ε T→FT′ T′→MFT′|ε F→ (E)|i A→+|- M→*|/ -Recursive descent parsing design principles and implementation techniques to complete the following descr iption of ari
20110915_src
- 建立一个针对LL(1)文法编译器的自动生成器。要完成此编译器的生成器需对源文件进行两遍处理:第一遍词法分析,第二遍语法分析。语法分析程序用LL(1)语法分析方法。首先输入定义好的文法书写文件(所用的文法可以用LL(1)分析),然后建立词法分析器,包括词法分析主程序、扫描器部分、关键字表等。经词法分析后分别计算所输入的文法的每个非终结符号的FIRST集合,每个非终结符号的FOLLOW集合,以及每个规则的SELECT集合,并判断任意一个非终结符号的任意两个规则的SELECT集的交集是不是都为空,如果
mylexer
- 包括词法分析,递归下降语法分析,LL(1)语法分析,简单优先语法分析和算符优先语法分析-Including lexical analysis, recursive descent parsing, LL (1) syntax analysis, a simple grammar analysis and operator precedence parsing priority
LL1
- 利用LL(1)分析方法实现算术表达式的语法分析-Using LL (1) analysis method parsing arithmetic expressions