搜索资源列表
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
编译原理及实践
- 目 录 译者序 前言 第1章 概论 1 1.1 为什么要用编译器 2 1.2 与编译器相关的程序 3 1.3 翻译步骤 5 1.4 编译器中的主要数据结构 8 1.5 编译器结构中的其他问题 10 1.6 &
lAlR(1)
- 这个文档是语法分析的文档,对输入的文档进行lR(1)分析,然后对所给的句型进行分析,判断是否合理-this document is grammatical analysis of documents, the importation of the document for l (1) analysis, then on to the boys for analysis, to determine whether reasonable
LALR(1)forwins
- 一个LALR(1)语法分析器,可以输入文法进行分析,也可以分析句子,非常方便-an LALR (1) parser, can be imported to analyze grammar, sentence can be analyzed, very convenient
LR0rrr1
- LR0分析器,一个LALR(1)语法分析器,可以输入文法进行分析,也可以分析句子,非常方便-LR0 analyzers, a LALR (1) parser, can be imported grammar analysis may also analyze the sentence, a very convenient
编译原理LALR(1)文法分析器
- 产生的DFA在屏幕上显示,分析表写到文件里面.- Produces DFA demonstrated on the screen that, the analytical table writes inside the document
lemon
- lalr(1)算法实现,可以在windows平台和其他平台编译。
lemon
- Lemon是一个C或者C++语言的LALR(1)语法分析器生成器。它和“bison”与“yacc”的功能是一样的,但它不是“bison”或者“yacc”的简单复制。为了减少编写代码的错误,它使用了一种不同的语法。Lemon使用了一种更为高级的分析引擎,运行速度比“bison”与“yacc”要更快,并且该引擎是可重入的和线程安全的。更进一步的,Lemon实现了能够消除资源泄漏的特性,适合于长时间运行的程序例如GUI或者嵌入式控制器中。
lpg2
- lpg2 -- 类似于javacc (java compiler compiler ,java编译器的编译器),用来生成lalr编译器。
wfp
- 对于自底向上分析法中的LR语法分析器,其分析过程都一样,就是读输入字符、查分析表以采取合适的行动(进栈或归约)、再读输入字符、再查表…..。不同的地方是分析表,分析表的构造方法分为简单LR方法(SLR)、规范的LR方法、向前看的LR文法(LALR),分别构造出三种不同的分析表。本着欺软怕硬的原则,我使用SLR方法来从给定文法G中构造分析表。下面先直观地看一下输入输出,然后再分析程序的结构以及代码。 输入是一个文法,保存在名为dd.txt的文本文件中,并放在程序当前目录下,其格式为
语法分析
- 打开2.tab.c编译运行,a.txt为测试用的PL/0程序。 2.output中有所有的产生式和LALR分析表的所有状态。- Opens the 2.tab.c translation movement, a.txt is measures the test the PL/0 procedure. In 2.output has all production patterns and LALR analytical table all conditions.
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
LR
- 1.实验目的 设计一个LR分析器,实现对表达式语言的分析,加深对LR语法分析方法的基本思想的理解,掌握LR分析器设计与实现的基本方法。 2.实验要求 建立文法及其LR分析表表示的数据结构,设计并实现一个LALR(1)的分析器,对源程序经词法分析后生成的二元式代码流进行分析,如果输入串是文法定义的句子则输出“是”,否则输出“否”。 3.实验内容 (1)文法描述及其LALR(1)分析表 描述表达式语言的文法G如下: -1. The experiment was to de
byacc.tar
- 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 advantag
lalr_parser
- a compiler with lalr paser
BIANYIYUA
- LALR(1)类文法判定及其分析器构造进行LALR(1)类文法判定-LALR (1) determine the class of grammar and parser constructed for LALR (1) determine the class of grammar
LALR1
- 用JAVA写的LALR编译器,语法编译器-Written using JAVA LALR compiler compiler syntax
lalr(1)
- 实现Lalr(1)编译器,有点小错误,不要见怪-it is a complicated procedure
first-follow-set--LR-LALR..
- 动态文法-规范LR分析器&LALR分析器,还有first,follow集的求解算法-Dynamic grammar- standard LR parser & LALR parser, as well as first, follow set of algorithms for solving
LALR(1)
- 源程序+MyEclipse工程 LALR(1)语法分析程序,包括语法分析表、分析过程以及打印出语法树-Source code+ MyEclipse project LALR (1) parser, including parsing tables, analysis and print out the syntax tree