搜索资源列表
PredictionAnalysis
- 编译原理内容。LL(1)文法判断,构造语法分析器。-Compiler theory content. LL (1) grammar judgment, constructed parser.
Parsing
- 对文法E -> E+T | E-T | T T -> T*F | T/F | F F -> id | (E) | num的LL(1) LR语法分析器 -On grammar E-> E+T | ET | TT-> T* F | T/F | FF-> id | (E) | num of LL (1) LR parser
The-parser
- 语法分析器,按照文法规则进行代码的分析工作-The parser, carried out in accordance with the rules of grammar code analysis work
Three-address-code
- 三地址代码分析器,按照文法规则进行代码的三地址分析-Three address code analyzer, carried out in accordance with the rules of grammar code analysis of the three address
shiyan2
- 自上而下语法分析器设计,理解手工编写自上而下语法分析器的设计方法。1、 在VC下打开gram.dsp,阅读工程gram,gram为一个加法(适当扩充可为四则)运算表达式的LL1递归下降语法分析器,规定其文法-Down parser design, design method of top-down parser understand writing manual. 1, open in VC gram.dsp, read engineering gram, gram as an additiv
shiyan3
- ,熟悉分析过程,注意在构造表2时依据“操作符运算优先级和运算符的结合率”原则解决冲突。(2)思考:如要将程序改成SLR四则运算语法分析器,应如何修改文法3为文法4(文法4应还支持减除运算)。(3)思考:要将程序改成SLR四则运算语法分析器,应如何在该程序的基础上修改、增加代码。-Familiar with the process, analysis, pay attention to in the construction of Table 2 for "with the operator pr
SHIYAN4
- 1、理解S属性文法自下而上翻译器的设计方法。 2、理解L属性文法自上而下翻译器的设计方法。 2、熟悉YACC(BISION,与YACC兼容)工具的使用,理解YACC工具的工作原理和利用YACC工具设计语法分析器和翻译器的方法。 -Design method of 1, understand the S attribute grammar from bottom to top. 2, understand the design method of the L attribut
LR0
- LR(0)分析表的构造 内容: 已知文法G,编写一个程序实现由文法到LR(0)分析表的自动生成。 功能扩展:1.由文法生成全部该文法项目; 2.由文法实现项目集簇的自动生成; 3.LR分析器对字符串的分析的分析表生成-Structure content LR (0) analysis table: Known grammar G, write a program to automatically generate analysis table by the grammar to LR (0).
ParserGenerator
- 语法分析器,给出文法的项目集族、分析表和分析结果。-Parser grammar ,to give project set family, the analysis table and the analyze results.
syntactic-analyzer
- 用Yacc编写一个语法分析程序,使之与词法分析器结合,能够根据语言的上下文无关文法,识别输入的单词序列是否文法的句子。-With Yacc write a parser, so that combined with the lexical analyzer that depending on the context-free grammar of language, whether the input word sequence recognition grammar of the senten
lexical-analyzer
- 用递归下降法编写一个语法分析程序,使之与词法分析器结合,能够根据语言的上下文无关文法,识别输入的单词序列是否文法的句子。-Write a parser using recursive descent method, combined with the lexical analyzer makes it possible depending on the context-free grammar of language, whether the input word sequence recogn
test1
- 针对简单的文法(PASCAL语言子集),制作相应的词法分析器和递归下降的语法分析器-lexical analyzer
compiler
- 编译原理:词法分析器、LL(1)文法、LR(1)文法的实现。基于Qt实现了图形界面。-Compiler theory: lexical analyzer, LL (1) grammar, LR (1) grammar implementations. Qt-based graphical interface to achieve.
3-bianyichengxu-ppt
- 编译原理资料:第三章,词法分析。词法分析器的设计与实现,正规表达式与有穷自动机,正规文法与正规式,正规文法与有限自动机的等价性-Compiler theory Information: Chapter III, lexical analysis. Design and implementation of lexical analyzer, regular expressions and finite automata, formal grammars and formal style, form
LR0
- 对任意给定的文法G,完成识别文法活前缀的DFA、DFA的状态转化矩阵及LR(0)项目集规范族的构造;判断该文法是否为LR(0)文法,实现LR(0)分析表的构造,并输出到指定文件中;实现LR(0)分析器总控程序,对输入的表达式进行语法分析。-LR (0) Analysis Table and analyzer of structure
yufafenxi
- 熟悉判断LL(1)文法的方法及对某一输入串的分析过程。,学会构造LL(1)语法分析表,完成语法分析器程序,并分析一段程序,输出分析过程 -Familiar judgment LL (1) grammar of a method and the input string analysis process. Structure LL (1) parsing table, complete parser program and a program to analyze the output ana
3
- c语言词法分析器,输入文法,可以自动翻译出单词,有注释,可改-c language lexical analyzer, enter the grammar, you can automatically translate the words, notes, can be changed
win_flex_bison-2.5
- GNU bison 是属于 GNU 项目的一个语法分析器生成器。Bison 把一个关于“向前查看 从左到右 最右”(LALR) 上下文无关文法的描述转化成可以分析该文法的 C 或 C++ 程序。它也可以为二义文法生成 “通用的 从左到右 最右” (GLR)语法分析器。(GNU bison is a parser generator that belongs to the GNU project. Bison transforms a descr iption of "forward v
aaa
- LR分析器的核心是一张分析表,它由两个子表组成: 其一是分析动作表;另一个为状态转移表。其中: S1,S2,…,Sn为分析器的各个状态;a1,a2,…,al为文法的全部终结符号和句子界符;X1,X2,…,Xp为文法字汇表中的全部文法符号。(I like doing sports and reading in my free time. My favorite sport is basketball. I often play basketball with my classmates after
test3
- 编译原理语法分析,对下述文法和单词表定义的语言设计编制一个语法分析器。(Compiler theory syntax analysis.)