搜索资源列表
bool
- 用LL(1)法对布尔表达式的语法分析,中间代码用四元式表示-By LL (1) on Boolean expression syntax analysis, intermediate code used quaternion type that
yufayuyi
- 基本实现基于LL(1)法的语法及语义分析程序设计-Based on the basic realization of LL (1) the law of grammar and semantic analysis of program design
antlr
- ANTLR 接受3类语法规范——语法分析程序,词法分析程序lexers,和树语法分析程序(也 叫树行者)。 由ANTLR使用LL(k) 分析用于全部3 语法变型,由于语法说明相似,因而产生 的lexers 和语法分析程序表现得也类似。 产生的识别程序易读,你可以查看输出的内容来 消除很多关于ANTLR机理的问题。-ANTLR grammar to accept 3 types of norms- syntax analysis procedures, lexical analysis
ll1
- LL(1)分析实验,根据语法规则逐一分析词法分析时得到的属性字
1
- 编译原理的语法分析实验,运用LL(1)方法进行分析 ,里面含有一个CPP文件,用VC运行,程序已调通-Compiler parsing principle experiments, the use of LL (1) methods of analysis, which contains a CPP file with VC running, the program has been transferred Qualcomm
shiyanbaogaoyangli
- 这个报告记录了编译原理的大作业的过程和各个阶段的设计,包括词法分 析、语法分析、语义分析和汇编代码生成四个阶段,在语法分析时我采用了两种 语法分析,即一种自上而下的语法分析方法——LL(1)分析法,另一种是自底向 上的语法分析方法——SLR(1)分析法,这样可以了解到这两种不同的基本分析方 法,这样在语义分析阶段也要分这两种方法处理语义动作,并且要个产生式分别 编写语义动作。-The report recorded a big operation principle comp
LL1
- 一个用LL(1)文法的词法和语法分析器,-One with LL (1) grammar and syntax of the lexical analyzer,
libolanshi
- 赋值语句的翻译 通过设计、编制、调试一个典型的语法成分的语法分析和语义分析程序,实现对词法分析程序所提供的单词序列进行语法检查和结构分析以及语义翻译工作,进一步掌握常用的语法分析方法和语义分析方法。 要求: 选择最有代表性的语法分析方法,如算符优先法(或简单优先法)、递归下降分析法、LL分析法和LR分析法之一进行语法分析。 选择对各种常见程序语言都通用的语法结构,如赋值语句(尤指表达式)作为分析对象,并且与所选语法分析方法要比较贴切。 选择最有代表性的语义分析方法,如语法制
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
ifelse
- 此程序是对条件语句进行翻译,输入一个条件语句,例如:if B then C1 else C2,先进行词法分析,词法分析的主要任务是:从左到右逐个字符地对源程序进行扫描,产生一个个的单词符号,把作为字符串的源程序改造成为单词符号串的中间程序,词法分析是编译的基础,词法分析的功能是输入源程序,输出单词符号(关键字,标识符,常数,运算符,界符),词法分析完成之后,再进行LL(1)语法分析,语义分析,最后输出四元式(语法分析,属性文法,四元式的相关知识技术描述如下)-This procedure is
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