搜索资源列表
bianyiyuanli.rar
- 一. 实验目的: 设计、编写和调试一个具体的词法分析程序,加深对词法分析理论和自动词法分析工具的理解、实践和掌握。 二. 实验要求: ① 学习和理解正则表达式理论,写出C—语言的记号的完整的正则表达式;(适当使用正则定义) ② 学习和理解有限机理论,根据前面的正则表达式,用基于经验的方法画出C—语言的记的DFA图; ③ 用基于DFA图的算法编写C—语言的词法分析程序; ④ 学习词法分析程序的自动生成工具,使用LEX工具实现C—语言的词法分析程序.
c02 vc6.rar
- 类似vc的集成开发环境,包括编辑器,调试器,编译器的全部源代码,真正的交互式,支持代码自动生成技术
编译原理及实践
- 目 录 译者序 前言 第1章 概论 1 1.1 为什么要用编译器 2 1.2 与编译器相关的程序 3 1.3 翻译步骤 5 1.4 编译器中的主要数据结构 8 1.5 编译器结构中的其他问题 10 1.6 &
20051121
- 利用 lex 和yacc自动生成C语言子集的词法分析和语法分析程序的源程序-using lex and generates automatic generation of C language subset of lexical analysis and parsing the source code of procedure
LL(1)_syntax
- LL(1)语法分析程序 (1)对输入文法,它能判断是否为LL(1)文法,若是,则转(2);否则报错并终止; (2)输入已知文法,由程序自动生成它的LL(1)分析表; (3)对于给定的输入串,应能判断识别该串是否为给定文法的句型。 -LL (1) syntax analysis program (1) on the importation of grammar, it can determine whether to LL (1) grammar, and if so, in
简易语法分析程序LL
- 简易语法分析程序LL(1) (1)对输入文法,它能判断是否为LL(1)文法,若是,则转(2);否则报错并终止; (2)输入已知文法,由程序自动生成它的LL(1)分析表; (3)对于给定的输入串,应能判断识别该串是否为给定文法的句型-simple syntax analysis procedures LL (1) (a) on the importation of grammar. it will determine whether to LL (1) grammar, a
flexbison
- 词法,语法分析自动生成工具的使用教程(源代码)。 将flex,bison结合使用可以生成复杂的编译程序。用来做编译程序的前端非常合适。-morphology, syntax analysis tools automatically generate the directory (source code). To flex, bison combination can generate complex compiler. Procedures used in the compiler fron
UniSimu-Compilers
- 这是一个DFA简化和生成LL(1)分析表的程序,自动生成表格及图形-DFA This is a simplified and generation LL (1) Analysis Table procedures, forms and automatically generated graphics!
ll1yufafenxi
- ll1语法分析没有自动生成分析表和first follow集-ll1 syntax analysis is not automatically generate Table and first follow Set
byyli_java
- java语言 编写 的 语法分析器可以自动 生成中间代码 四元式-java language syntax analyzer can automatically generate code among four yuan -
getitem
- 从各种控件中获得数据 自动生成XML文档 并通过XSLT转换为其他形式的XML文档-from a variety of data access controls which automatically generate XML and XSLT through conversion to other forms of XM L Documents
jianyiyufafenxiqi
- LL(1)语法分析程序,(1)对输入文法,它能判断是否为LL(1)文法,若是,则转(2);否则报错并终止; (2)输入已知文法,由程序自动生成它的LL(1)分析表; (3)对于给定的输入串,应能判断识别该串是否为给定文法的句型 -LL (1) syntax analysis program, (1) on the importation of grammar, it can determine whether to LL (1) grammar, If so, then swit
yufafenxisaomiaochenxu
- 了解语法分析器的内部工作原理,通过在本次实验中运用一定的编程技巧,掌握对表达式进行处理的一种方法。① 对输入文法,由程序自动构造FIRST FOLLOW集② 对输入文法,由程序自动生成它的LL(1)分析表;③ 对于给定的输入串,应能判断识别该串是否为给定文法的句型。
yufafenxi_ll(1)
- 学编译原理时写的一个语法分析程序 一.[目的要求] ① 对输入文法,由程序自动构造FIRST FOLLOW集 ② 对输入文法,由程序自动生成它的LL(1)分析表; ③ 对于给定的输入串,应能判断识别该串是否为给定文法的句型。 二.[题目分析] 该程序可分为如下几步: (1)读入文法 (2)判断正误 (3)若无误,判断是否为LL(1)文法 (4)若是,构造分析表; (5)由总控算法判断输入符号串是否为该文法的句型。
SLRbyHune
- 用SLR分析法实现的语法分析,先用初版.exe生成符号表和token字,然后进行分析,action表程序自动生成-SLR analysis method used to achieve the syntax analysis, use the first edition. Exe Generation symbol table and token characters, Then the analysis, action automatically generated table
compiler([1].netstl)
- (1) 给定一段符合Pascal子集语法的语言,能成功转换成C语言; (2) 一个简单的说明文档; (3) 2007.7.14之前上传到ftp:// C07:C07@10.11.3.71/upload,用学号建立自己的目录; (4) (可额外加分5分)若有出错处理功能,请在说明文档中写明可以处理哪几项错误。 注意事项: (1) 两人一组 (2) 可以使用词法、语法自动生成工具,windows下有Flex,Bison,Linux下有Lex,Yacc,Java的有Jlex,J
DFA_REG
- 编译原理中的DFA转换为分析程序,由用户预先设计好DFA图,再通过程序提供的图形,画出DFA图。最后,由程序自动生成识别程序。
222
- 用LEX自动生成的C-词法分析程序 (能识别注释)
ParserGeneratorForCalculator
- 自动生成工具lex yacc构造的小计算器
词法分析1
- 在文本下编辑,把需要分析的程序写在zf-infile.txt内,程序的结尾必须以“@”标志符结束,程序结果输出在同目录内,文件名为zf-outfile.txt,此文件为自动生成。 - Edits under the text, the procedure which needs to analyze writes in zf-infile.txt, the procedure ending must the designator end by \"@\", the procedure res