搜索资源列表
编译原理及实践
- 目 录 译者序 前言 第1章 概论 1 1.1 为什么要用编译器 2 1.2 与编译器相关的程序 3 1.3 翻译步骤 5 1.4 编译器中的主要数据结构 8 1.5 编译器结构中的其他问题 10 1.6 &
编译原理课程设计报告LL1文法
- 课程设计的目的 通过课程设计进一步理解高级语言在计算机中的执行过程,加深对编译原理中重点算法和编译技术的理解,提高自己的编程能力,培养好的程序设计风格。同时通过某种可视化编程语言的应用,具备初步的Windows环境下的编程思想。解和掌握LL(1)语法分析方法的基本原理;根据给出的LL(1)文法,掌握LL(1)分析表的构造及分析过程的实现。 -curriculum design through curriculum design aimed to further understand se
bianyic++
- 录入合法的LL(1)文法,将输出LL(1)预测分析表,并可以对输入的句子进行语法分析输出相应语法树。-Input legitimate LL (1) grammar, will output LL (1) Table Forecast and Analysis, and can import sentence for syntax analysis syntax tree corresponding output.
编译原理报告
- 设计目的 1. 程序的方法实现语法分析的LL(1)方法。手工构造词法分析程序 。 2. 锻炼自己的编写程序的能力和独立的编程思维能力。提高自己的编程能力。 3. 熟悉编译原理词法分析和语法分析的方法,加深对基本方法的了解。 4. 让我们更家进一步的理解编译原理,更好的的学习它的一些思路,掌握编译原理的理论基础。 5.让我们更加熟悉编程语言的运用和编程的技巧。更加了解编程的思维方式。 6. 采用自动机这种方法来设计词法分析程序,使思路更加清晰,
jellrap
- 形式文法分析JAVA工具包 本JAVA Applets程序提供对LL(1),LL(2)和LR(1)文法分析处理,用户可以输入任何满足条件的形式文法,通帮过系统的提示和帮助构造出相应文法的分析表,以及动态显示分析过程.本JAVA包能够很好地帮助学生理解语法分析器的制作过程和语法分析器的工作原理. -form grammar analysis of the Java tool kit for Java Applets procedures for LL (1) LL (2) and LR (
LL1_fenxi
- 判断是否为LL(1)文法,如果是,可以对该文法进行语法分析。-determine whether to LL (1) grammar, and if so, can this grammar for syntax analysis.
zifuchuanjieshiqi
- 词法分析将字符串分解为三个部分,映射到类中,获得字符串的对应值,由LL自顶向下的语法分析得到运算结果。-lexical analysis string decomposition of a three-part Maps category, access to the corresponding string values, LL from the top-down syntax analysis Operational results.
ll1ll1
- 编译原理LL(1)文法分析器 录入合法的LL(1)文法,将输出LL(1)预测分析表,并可以对输入的句子进行语法分析输出相应语法树。 程序中部分算法还很不简洁,有待改进,欢迎朋友与我多多交流。 lifanxi@263.net 2002年5月-compiler theory LL (1) grammar analyzer input legitimate LL (1) grammar, will output LL (1) Table Forecast and An
CP_DESIGN
- 编译原理全套实验源代码。包括词法分析,递归下降语法分析,LL(1)语法分析,简单优先语法分析和算符优先语法分析-compile a full set of experimental principle source code. Including lexical analysis, recursive grammar decline, LL (1) syntax analysis, priority simple syntax analysis and operator precedence s
Compilerprogram
- 编译原理课程设计 语法分析程序的LL(1)分析方法-compiler theory of curriculum design syntax analysis procedures LL (1) Analysis
yufafenxichengxu1111
- 简易的语法分析程序 此为LL(1)语法分析程序 语法分析程序-simple syntax analysis procedures such as LL (1) syntax analysis program syntax analysis program
LL(1)
- 编译过程中的一个相对简单LL(1)语法分析器,能够分析语法的正确性,并输出分析结果-The compilation process is relatively simple LL (1) parser, able to analyze the grammatical correctness, and output results
LL(1)
- 用C++实现编译器语法分析功能,算法是LL(1),非常精炼-parsing function with C++
LL(1)translator
- 采用LL(1)分析法对所定义的赋值语句进行语法分析,并在语法分析过程中将所输入的赋值语句翻译为四元式。-The LL (1) The analysis defined assignment statement syntax analysis and assignment statement entered in the the grammar analysis process will translate quaternion type.
LL
- 简易的语法分析程序,可以实现LL(1)语法分析,功能较简易。-Simple parser can achieve the LL (1) parsing simpler functions.
LL1语法分析
- (1)对输入文法,它能判断是否为LL(1)文法,若是,则转(2);否则报错并终止; (2)输入已知文法,由程序自动生成它的LL(1)分析表; (3)对于给定的输入串,应能判断识别该串是否为给定文法的句型。
LL-(1)-grammar-C
- 利用c语言构造LL(1)分析表,并能够实现输入文法的语法检验-Using c language constructs LL (1) analysis table, and to achieve the input grammar grammar test
LL(1)-grammar_analyse
- 编译原理上机实验:LL(1)语法分析。包含测试文本,本语法分析器可以实现对文本的语法分析。-Compiler theory on experiments: LL (1) parsing. Contains test text, the parser can parse the text.
LL
- 利用LL分析方法实现的语法分析器。语法分析器(Parser)通常是作为编译器或解释器的组件出现的,它的作用是进行语法检查、并构建由输入的单词组成的数据结构(一般是语法分析树、抽象语法树等层次化的数据结构)。语法分析器通常使用一个独立的词法分析器从输入字符流中分离出一个个的“单词”,并将单词流作为其输入。-LL-implemented method of analysis utilizing the parser. Parser (Parser) is often used as a compil
grammar
- 预测分析法(LL(1)方法)的基本思想是:从文法开始符S出发,从左到右扫描源程序,每次通过向前查看 1 个字符,选择合适的产生式,生成中间推导过程以及句子的最左推导。本程序可以输入预测分析表,输出最左推导和中间过程。(The basic idea of prediction analysis method (LL (1)) is to start from the grammar start symbol S, and scan the source program from left to r