Location:
Search - LALR(1)
Search list
Description: 一个LALR(1)语法分析器,可以输入文法进行分析,也可以分析句子,非常方便-an LALR (1) parser, can be imported to analyze grammar, sentence can be analyzed, very convenient
Platform: |
Size: 13219 |
Author: 杜立博 |
Hits:
Description: LR0分析器,一个LALR(1)语法分析器,可以输入文法进行分析,也可以分析句子,非常方便-LR0 analyzers, a LALR (1) parser, can be imported grammar analysis may also analyze the sentence, a very convenient
Platform: |
Size: 2523 |
Author: 风 |
Hits:
Description: lalr(1)算法实现,可以在windows平台和其他平台编译。
Platform: |
Size: 43121 |
Author: 朱胜 |
Hits:
Description: lpg2 -- 类似于javacc (java compiler compiler ,java编译器的编译器),用来生成lalr编译器。
Platform: |
Size: 884253 |
Author: icewind |
Hits:
Description: 对于自底向上分析法中的LR语法分析器,其分析过程都一样,就是读输入字符、查分析表以采取合适的行动(进栈或归约)、再读输入字符、再查表…..。不同的地方是分析表,分析表的构造方法分为简单LR方法(SLR)、规范的LR方法、向前看的LR文法(LALR),分别构造出三种不同的分析表。本着欺软怕硬的原则,我使用SLR方法来从给定文法G中构造分析表。下面先直观地看一下输入输出,然后再分析程序的结构以及代码。
输入是一个文法,保存在名为dd.txt的文本文件中,并放在程序当前目录下,其格式为:
(终结符,每行一个)
Platform: |
Size: 1683 |
Author: 王博 |
Hits:
Description: 建立文法及其LR分析表表示的数据结构,设计并实现一个LALR(1)的分析器,对源程序经词法分析后生成的二元式代码流进行分析,如果输入串是文法定义的句子则输出“是”,否则输出“否”。
Platform: |
Size: 94072 |
Author: yangyang |
Hits:
Description: a LALR(1) grammar for C
Platform: |
Size: 9936 |
Author: 郑雄 |
Hits:
Description: 产生的DFA在屏幕上显示,分析表写到文件里面.- Produces DFA demonstrated on the screen that, the analytical
table writes inside the document
Platform: |
Size: 14336 |
Author: 演好 |
Hits:
Description: 一个LALR(1)语法分析器,可以输入文法进行分析,也可以分析句子,非常方便-an LALR (1) parser, can be imported to analyze grammar, sentence can be analyzed, very convenient
Platform: |
Size: 13312 |
Author: 杜立博 |
Hits:
Description: lalr1编译器,网上找的,可以使用!是学习编译原理这门课程的好例子,大家下下来可以自己试一试-lalr1 compiler, for the Internet, you can use! Principle study compiled this course a good example, where you can down their test!
Platform: |
Size: 14336 |
Author: |
Hits:
Description: 建立文法及其LR分析表表示的数据结构,设计并实现一个LALR(1)的分析器,对源程序经词法分析后生成的二元式代码流进行分析,如果输入串是文法定义的句子则输出“是”,否则输出“否”。-The establishment of grammar and LR analysis table express the data structure, design and realization of a LALR (1) of the analyzer, the source code generated by the lexical analysis of the binary-type code flow analysis, if the input strings is the definition of sentence grammar is output
Platform: |
Size: 288768 |
Author: yangyang |
Hits:
Description: 1.实验目的
设计一个LR分析器,实现对表达式语言的分析,加深对LR语法分析方法的基本思想的理解,掌握LR分析器设计与实现的基本方法。
2.实验要求
建立文法及其LR分析表表示的数据结构,设计并实现一个LALR(1)的分析器,对源程序经词法分析后生成的二元式代码流进行分析,如果输入串是文法定义的句子则输出“是”,否则输出“否”。
3.实验内容
(1)文法描述及其LALR(1)分析表
描述表达式语言的文法G如下:
-1. The experiment was to design a LR parser, the realization of the analysis of the expression language, better understanding of the LR parsing method to understand the basic idea of the master LR parser design and implementation of the basic method. 2. Experiment called for the establishment of grammar and LR analysis table that the data structure, design and realization of a LALR (1) of the analyzer, lexical analysis of source code generated by the binary-type code flow analysis, if the input strings is the definition of grammar sentence is the output " yes" , otherwise output " no." 3. Experimental (1) grammar description and LALR (1) Analysis of the expression language described in Table G of the grammar are as follows:
Platform: |
Size: 289792 |
Author: sh_xj |
Hits:
Description: Berkeley Yacc is an LALR(1) parser generator. Berkeley Yacc has been made
as compatible as possible with AT&T Yacc. Berkeley Yacc can accept any input
specification that conforms to the AT&T Yacc documentation. Specifications
that take advantage of undocumented features of AT&T Yacc will probably be-Berkeley Yacc is an LALR(1) parser generator. Berkeley Yacc has been made
as compatible as possible with AT&T Yacc. Berkeley Yacc can accept any input
specification that conforms to the AT&T Yacc documentation. Specifications
that take advantage of undocumented features of AT&T Yacc will probably be
Platform: |
Size: 152576 |
Author: nicholas |
Hits:
Description: 一个slr(1)的 语法分析器
可以自行输入文法-1 slr (1) parser can enter your own grammar
Platform: |
Size: 52224 |
Author: 袁俊 |
Hits:
Description: LALR(1)类文法判定及其分析器构造进行LALR(1)类文法判定-LALR (1) determine the class of grammar and parser constructed for LALR (1) determine the class of grammar
Platform: |
Size: 584704 |
Author: 魏潮 |
Hits:
Description: LALR(1)词法分析器
通过设计、变形和调试词法分析器(又称扫描器),了解词法分析的组成 结果,不同种类单词的识别方法,掌握由单词的词法规则出发,然后再用程序实现词法分析器的设计方法。-LALR (1) lexical analyzer through the design, deformation and debugging the lexical analyzer (also known as scanner), to understand the composition of the results of lexical analysis, different types of word recognition method, master the rules starting from the lexical word, and then use the program to achieve lexical analyzer design.
Platform: |
Size: 9216 |
Author: 冯景航 |
Hits:
Description: 用JAVA写的LALR编译器,语法编译器-Written using JAVA LALR compiler compiler syntax
Platform: |
Size: 18432 |
Author: 李宏 |
Hits:
Description: 实现Lalr(1)编译器,有点小错误,不要见怪-it is a complicated procedure
Platform: |
Size: 37888 |
Author: 玄武小雪 |
Hits:
Description: 源程序+MyEclipse工程
LALR(1)语法分析程序,包括语法分析表、分析过程以及打印出语法树-Source code+ MyEclipse project
LALR (1) parser, including parsing tables, analysis and print out the syntax tree
Platform: |
Size: 232448 |
Author: 陶树才 |
Hits:
Description: QLALR is LALR(1) Parser Generator
Platform: |
Size: 68608 |
Author: Paul88
|
Hits: