Location:
Search - lr(0)
Search list
Description: 布尔语义分析,LR法
Platform: |
Size: 2838 |
Author: |
Hits:
Description: 包括一个LR(1)的语法分析程序和一个LL(1)的语法分析程序的例子
Platform: |
Size: 239282 |
Author: |
Hits:
Description: 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 XML format;
Verbose conflict diagnostics;
Generation of tree traverse procedures
Platform: |
Size: 220189 |
Author: |
Hits:
Description:
Platform: |
Size: 39071 |
Author: |
Hits:
Description: lr分析语法c语言实现,一种至上而下的 分析方法-lr syntax analysis c language, a primacy of analysis method
Platform: |
Size: 129794 |
Author: tgy |
Hits:
Description: TIMER.ASM
*********
[ milindhp@tifrvax.tifr.res.in ]
Set Processor configuration word as = 0000 0000 1010 b.
a] -MCLR tied to VDD (internally).
b] Code protection off.
c] WDT disabled.
d] Internal RC oscillator [4 MHZ].
-TIMER.ASM ********* [milindhp @ tifrvax. tifr.res.in] Set Processor configuration AGREEMENT as d = 0000 0000 1010 b. a] - LR tied to VDD (inter nally). b] Code protection off. c] WDT disabled . d] Internal RC oscillator [4 MHZ].
Platform: |
Size: 14638 |
Author: torry |
Hits:
Description: 编译原理课程设计报告lr(1)文法中国出版社-Course Design Compiler Principle lr report (1) grammar Chinese publishers
Platform: |
Size: 14112 |
Author: 唐铭鸿 |
Hits:
Description: LR分析法对表达式文法进行自底向上语法分析的算法
个个作业仅供参考,态度决定一切。
-LR analysis of expression grammar for the bottom-up parsing algorithm everyone operations for reference purposes only, attitude is everything.
Platform: |
Size: 2509 |
Author: 靳士伟 |
Hits:
Description: 对下列文法
E->E+T|T
T->T*F|F
F->(E)|i
LR(0)分析程序
-the following grammar E -
Platform: |
Size: 4430 |
Author: 小周 |
Hits:
Description: 编译原理的词法分析器,语法分析器(包括递归子程序,算符优先,LR类分析法),语义分析等原理图-compiler tenets of lexical analyzer and parser (including recursive subroutines, operator precedence, LR type analysis), semantic analysis diagram
Platform: |
Size: 21675 |
Author: 付联榕 |
Hits:
Description: 此程序共有两个类,Lexical进行词法分析,Syntax进行语法分析.对于语法分析,采用LR(1)分析法,判断程序是否满足规定的结构.-this procedure there are two categories, Lexical for lexical analysis, Syntax syntax analysis. for the syntax analysis, LR (1) analysis, judge whether the procedures meet the requirements of the structure.
Platform: |
Size: 88631 |
Author: gavinioro |
Hits:
Description: 词法/语法分析器bison源码,最新版本bison-2.1,,Unix_Linux0120310340817.rar...编译原理LR(0)文法分析器 录入合法的LR(0)文法,将输出LR(0)分析表,并可以对输入的句子进行语法分析输出相应语法树。...词法分析原程序对C语言可-lexical / grammatical analyzer bison source, the latest version bison - 2.1,, Unix_Linux0120310340817.rar compiler theory ... LR (0) Symbol France analyzer input legitimate LR (0) grammar, will output LR (0) analysis table, and can be imported to the sentence syntax analysis output corresponding syntax tree. ... Lexical analysis procedure to the original C language can be
Platform: |
Size: 166400 |
Author: malll |
Hits:
Description: 这个文档是语法分析的文档,对输入的文档进行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
Platform: |
Size: 4894 |
Author: boer |
Hits:
Description: LR分析程序设计 实验报告
构造LR 分析程序,利用它进行语法分析,判断给出的符号串是否为该文法识别的句子;
(2)了解LR分析方法是严格的从左向右扫描,和自底向上的语法分析方法。
-LR experimental design analysis program LR report tectonic analysis procedure, and use it for syntax analysis, judgment is whether the string of symbols for the identification of sentence grammar; (2) understanding the LR method is strictly scanned from left to right, and bottom-up parsing methods.
Platform: |
Size: 54653 |
Author: 余琨 |
Hits:
Description: 每种程序设计语言都有描述程序语法结构的规则。例如,Pascal程序由程序块(又叫分程序)构成,程序块由语句组成,语句由表达式组成,表达式由记号组成等等。这些规则可以用上下文无关文法或BNF范式(Backus-Naur Form)描述。
编译器常用的文法分析方法有自上而下和自下而上两种。正如它们的名字所示,自上而下分析器建立分析树是从根结点到叶结点,而自下而上分析器恰好反过来。它们的共同点是从左向右地扫描输入,每次一个符号。
最有效的自上而下和自下而上的分析法都只能处理上下文无关文法的子类。这些子类足以描述程序设计语言的大多数语法结构,其中LL文法的分析器通常用手工实现,而LR文法的分析器通常利用自动工具构造。
本章致力于编译器采用的典型语法分析方法。我们首先提出有关上下文无关文法的基本概念,然后介绍适合于手工实现的预测分析技术,最后给出自动工具用的LR分析算法。由于程序员准备的代码经常会出现一些语法错误,因此我们还扩展所介绍的分析方法,使之能从常见的错误中恢复过来。
3.1 上下文无关文法 .....
3.4 自下而上分析
3.6 二义文法的应用-each programming language has described procedures grammatical structure of rules. For example, Pascal procedures block (also known as sub-procedures), with procedures block composed by the statement, statement by the composition of expression, etc. from the component mark. These rules can be used context-free grammar or paradigm BNF (Backus - Naur Form) Description. Compiler grammar analysis of the commonly used methods are both top-down and bottom-up. As their name implies, top-down analysis of the establishment of analyzers from the root node of the tree to the leaf nodes, and the bottom-up analyzer exactly the contrary. The common denominator is to scan from left to right input, each a symbol. The most effective top-down and bottom-up analysis can only deal with
Platform: |
Size: 134421 |
Author: 李爱春 |
Hits:
Description: 实现一个LCC滤波
电感Lr,电感电阻R,与电感串联的电容Cr,输出并联电容Co-achieve a filter inductor Lr, inductance and resistance R, the series inductor and capacitor Cr, Parallel output capacitance Co.
Platform: |
Size: 974 |
Author: godingtin |
Hits:
Description: 构造LR(0)分析表。对给定的文法,输入字符串,给出其正确与否的判断。
Platform: |
Size: 2737 |
Author: 赵强 |
Hits:
Description: 编译原理中的语法分析器-compiler theory of syntax analyzer
Platform: |
Size: 1595 |
Author: 明毅 |
Hits:
Description: 编译原理LR(0)文法分析器 录入合法的LR(0)文法,将输出LR(0)分析表,并可以对输入的句子进行语法分析输出相应语法树。程序中部分算法还很不简洁,有待改进,欢迎朋友与我多多交流。 -compiler theory LR (0) grammar analyzer input legitimate LR (0) grammar, will output LR (0) analysis table, and may import for the sentence syntax analysis syntax tree corresponding output. Some procedures also very simple algorithm, there is room for improvement, I welcome a lot of friends and exchange.
Platform: |
Size: 24897 |
Author: 张学友 |
Hits:
Description: 构造LR(1)分析程序,利用它进行语法分析,判断给出的符号串是否为该文法识别的句子,了解LR(K)分析方法是严格的从左向右扫描,和自底向上的语法分析方法。-tectonic LR (1) analysis procedure, and use it for syntax analysis, judgment, given the string of symbols to whether the sentence grammar recognition, understanding LR (K) analysis method is strict scan from left to right, and bottom-up syntax analysis.
Platform: |
Size: 11733 |
Author: 坤 |
Hits:
« 12
3
4
5
6
7
8
9
10
...
23
»