Welcome![Sign In][Sign Up]
Location:
Search - LL

Search list

[OtherLL(1)Syntax

Description: 用LL(1)方法分析四则运算,包括一个词法分析的头文件。-with LL (1) Analysis of four operations, including a lexical analysis of the headers.
Platform: | Size: 3072 | Author: 田甜 | Hits:

[EditorLL(1)while

Description: 用C++做的LL(1)分析法的程序,大家先用着吧,比较好用吧-C do LL (1) analysis of the procedure, we first used to it, the more useful it
Platform: | Size: 23552 | Author: continue | Hits:

[ELanguageLL(1)daima

Description: [编译原理课程设计-源代码]LL(1)语法分析代码(c++).-[Design Compiler Principle-source code] LL (1) syntax analysis code (c).
Platform: | Size: 2048 | Author: | Hits:

[Otherll

Description: 编译原理中的LL(1)分析程序设计-Compilation Principle of LL (1) analysis of program design
Platform: | Size: 10240 | Author: liu | Hits:

[ELanguageLL(1)yufafenxi

Description: *--- --- --声明--- --- -----*/ /* VC6.0下运行通过 此程序为本人苦心所做,请您在阅读的时候,尊重本人的 劳动。可以修改,但当做的每一处矫正或改进时,请将改进 方案,及修改部分发给本人 (修改部分请注名明:修改字样) Email: jink2005@sina.com QQ: 272576320 ——初稿完成:06-5-27 jink2005 补充: 程序存在问题: (1) follow集不能处理:U->xVyVz的情况 (2) 因本人偷懒,本程序为加入文法判断,故 输入的文法必须为LL(1)文法 (3) 您可以帮忙扩充:消除左递归,提取公因子等函数 (4) …… */ /*-----------------------------------------------*/ /*参考书《计算机编译原理——编译程序构造实践》 LL(1)语法分析,例1: ERTWF# +*()i# 文法G[E]:(按此格式输入) 1 E -> TR 2 R -> +TR 3 R -> 4 T -> FW 5 W -> * FW 6 W -> 7 F -> (E) 8 F -> i 分析例句:i*(i)# , i+i# 例2: 编译书5.6例题1 SHMA# adbe# S->aH H->aMd H->d M->Ab M-> A->aM A->e 分析例句:aaabd# */-err
Platform: | Size: 5120 | Author: | Hits:

[assembly languageLL(1)suanfa

Description: LL(1)文法判定算法,LL(1)文法使用的是确定的自顶向下的分析技术。LL(1)的含义是:第一个L表明自顶向下分析是从左向右扫描输入串,第2个L表明分析过程中将使用最左推导,1表明只需向右看一个符号便可决定如何推导,即选择哪个产生式(规则)进行推导。 LL(1)文法的判别需要依次计算FIRST集、FOLLOW集和SELLECT集,然后判断是否为LL(1)文法,最后再进行句子分析。 -LL (1) grammar algorithm to determine, LL (1) grammar is used to determine the top-down analysis techniques. LL (1) the meaning is: the first L showed that top-down analysis is scanned from left to right input strings, the first two L analysis will show that the use of the most left-derived, 1 shows that only a symbol to the right to see it can decide how derived, namely, to choose which production (rule) for derivation. LL (1) determine the needs of grammar followed by calculating the FIRST set, FOLLOW sets and SELLECT set, and then determine whether to LL (1) grammar, sentence analysis of the final again.
Platform: | Size: 32768 | Author: | Hits:

[assembly languageLL(1)fenxichengxu

Description: 《编译原理》实验中的LL(1)分析程序源代码部分- Compiler Principle experiment in the LL (1) analysis of part of source code
Platform: | Size: 2048 | Author: 刘小雪 | Hits:

[ELanguageLL(1)

Description: 【实验名称】LL(1)分析总控程序的设计与实现 【实验目的和要求】 设计、编制,调试一个典型的语法分析程序,实现对语法分析程序所提供的单词序列进行语法分析检查和结构分析,进一步掌握常用的语法分析方法。 要求: ① 程序具有通用性。即所编写的LL(1)语法分析程序能够适用于不同文法以及各种输入单词串(为简单起见,可讲单词串是为字符串),并能够判断文法是否为LL(1)文法。 ② 有运行实例。对于输入的一个文和一个单词串,所编制的语法分析程序应能正确的判断,此单词是否为该文法的句子,并要求输出分析过程。 -err
Platform: | Size: 35840 | Author: 洪成前 | Hits:

[ELanguageLL(1)

Description: 本代码实现语法分析的LL(1)分析法。 (2)、输入一个文法的所有产生式,由程序自动生成它的LL(1)预测分析表。 (3)、对于给定的输入串,能正确识别该串是否为给定文法的句型。 -The code analysis grammar LL (1) analysis. (2), enter a generative grammar of all, it is automatically generated by the procedures of the LL (1) prediction analysis table. (3), for a given input string, can correctly identify whether or not the string for a given sentence grammar.
Platform: | Size: 103424 | Author: 李守龙 | Hits:

[VC/MFCLL(1)

Description: 编译原理词法分析,一个自顶向下LL(1)算法分析电子书,-Compilation Principle lexical analysis, a top-down LL (1) algorithm for analysis of e-books,
Platform: | Size: 897024 | Author: 刘维妮 | Hits:

[ELanguageLL(1)

Description: 对if else 语句采用LL(1)文法分析实现过程及翻译过程-If else statement on the use of LL (1) grammar analysis of the realization of the process and the process of translation
Platform: | Size: 201728 | Author: 黄仁杰 | Hits:

[ELanguagell(1)YUFAPANDUAN

Description: 学编译原理时写的一个语法分析程序 分类:C/C++技术交流 一.[目的要求] ① 对输入文法,由程序自动构造FIRST FOLLOW集 ② 对输入文法,由程序自动生成它的LL(1)分析表; ③ 对于给定的输入串,应能判断识别该串是否为给定文法的句型。 二.[题目分析] 该程序可分为如下几步: (1)读入文法 (2)判断正误 (3)若无误,判断是否为LL(1)文法 (4)若是,构造分析表; (5)由总控算法判断输入符号串是否为该文法的句型。 -Studies Compilation Principle wrote a syntax analysis program Category: C/C++ A technology exchange. [Objective request] ① the input grammar, automatically constructed by the procedures set FIRST FOLLOW ② the input grammar, it is automatically generated by the process of LL (1) analysis table ③ For a given input strings, should be able to identify the string to determine whether given the sentence grammar.二. [Title Analysis] The program can be divided into the following steps: (1) read into the grammar (2) The judge is false (3) If correct, determine whether to LL (1) grammar (4) If so, structural analysis table (5) controlled by the general algorithm to determine whether the string of input symbols for the grammar of the sentence.
Platform: | Size: 4096 | Author: liangye | Hits:

[ELanguageLL

Description: 编译器中的语法分析部分,按照LL语法分析规则,简单的实现。-Compiler of syntax analysis, in accordance with the LL parsing rules, a simple realization.
Platform: | Size: 7168 | Author: chuchong | Hits:

[ELanguageLL(1)

Description: 本文件主要是针对编译原理的语法分析和语义分析,用的是LL(1)文法。-This document is mainly directed against the principle of compiler syntax analysis and semantic analysis, using a LL (1) grammar.
Platform: | Size: 1391616 | Author: Mace | Hits:

[OtherLL(1)Lexical_Analysis

Description: LL(1) 文法分析。。。 输出first集&&follow集&& 预测分析表。-LL(1)Lexical_Analysis
Platform: | Size: 2048 | Author: zyh | Hits:

[Windows DevelopLL(1)

Description: 实现根据LL(1)文法生成First集和Follow集的算法。 【基本要求】 (1) 输入一个文法G; (2) 实现由文法G构造FIRST集的算法; (3) 输出First集; (4) 实现由文法G构造FOLLOW集的算法; (5) 输出FOLLOW集。 【测试数据】 输入文法: E->TE’ E’->+TE’|ε T->FT’ T’->*FT’|ε F->(E)|i -ll(1).rar
Platform: | Size: 1391616 | Author: 卢显灯 | Hits:

[ELanguageLL(1)

Description: 编译原理课上的一个LL(1)语法分析器的实现-Compilation Principle of a class of LL (1) the realization of parser
Platform: | Size: 59392 | Author: Charles | Hits:

[ELanguagell(1)fenxi

Description: 本程序是采用的LL(1)方法进行的语法分析,而LL(1)的分析方法是属于自上而下的方法。 自上而下分析的基本思想是:对任意输入串,试图用一切可能的方法,从文法开始符号(根结点)出发,自上而下为输入串建立一棵语法树。从推导的角度看,它是从文法的开始符号出发,反复使用各种产生式,寻找与输入串匹配的推导。 在输入之前必须要进行该文法是不是LL(1)文法的判断,然后再构造相应的LL(1)分析表来用预测分析方法进行语法分析,依据下面的文法及分析表来设计程序实现预测分析的分析过程。 -This procedure is used for LL (1) method of syntax analysis, LL (1) methods of analysis are top-down approach. Top-down analysis of the basic idea is: For any input string, trying to use all possible means, from the grammar start symbol (root node) proceed from top to bottom as the input string to establish a syntax tree. From the derivation of the point of view, it is starting from the grammar start symbol and repeatedly using a variety of productions to find the derivation of the input string matches. Before you enter must be to carry out the grammar is not LL (1) grammar, the judge, and then construct the corresponding LL (1) Analysis of the table to use predictive analysis method of syntax analysis, based on the following grammar and analysis of the table to the design process to achieve predictable analysis of the analysis.
Platform: | Size: 2048 | Author: WM | Hits:

[ELanguageLL(1)Parser.C

Description: 一个简单的LL(1)带预测的语法分析器源代码-A simple LL (1) with a predictable source code parser
Platform: | Size: 2048 | Author: 王天放 | Hits:

[ELanguageLL(1)

Description: 编译原理LL(1)分析过程模拟 设计一个给定LL(1)分析表,输入一个句子,能由依据LL(1)分析表输出与句子 对应的语法树。能对语法树生成过程进行模 拟-for LL(1)
Platform: | Size: 1657856 | Author: | Hits:
« 1 23 4 5 6 7 8 9 10 ... 50 »

CodeBus www.codebus.net