搜索资源列表
cffx
- 词法分析器试验报告,详细描述了试验过程,并有心得体会,是一份不错的实验报告-Lexical analyzer test report, a detailed descr iption of the testing process, and experiences is a good test report
cffxq
- 词法分析器实验报告,内容详细,步骤很完整,有利于新人进一步认识学习编译原理-Lexical analyzer test report in detail, the steps are complete, is conducive to study and compile a better understanding of new principles of
C_compiler
- 一个很C语言的编译器,相当的不错。有词法分析和程序语法分析!错误提示,正确定位程序的错误地方!-the compiler is very good!
C-Compiler
- C-编译器,包含词法分析语法分析,中间代码生成,操作简单-C-compiler, lexical analysis contains syntax analysis, intermediate code generation, easy
LexicalAnalyzerByGGspeed
- 用Flex自动生成的词法分析器源码,内附所有源文件和使用说明-Automatically generated by Flex lexical analyzer source, containing all the source files and use
LR_Exp
- LR 语法分析 词法分析 四元式输出 语义分析-Lexical Analysis of LR parsing quaternion output semantic analysis
ifelse
- 此程序是对条件语句进行翻译,输入一个条件语句,例如:if B then C1 else C2,先进行词法分析,词法分析的主要任务是:从左到右逐个字符地对源程序进行扫描,产生一个个的单词符号,把作为字符串的源程序改造成为单词符号串的中间程序,词法分析是编译的基础,词法分析的功能是输入源程序,输出单词符号(关键字,标识符,常数,运算符,界符),词法分析完成之后,再进行LL(1)语法分析,语义分析,最后输出四元式(语法分析,属性文法,四元式的相关知识技术描述如下)-This procedure is
while
- 否符合while语句的文法,或者能不能通过文法的开始符号推导出该语句。 (2) 该程序应该包括词法分析器,能对输入的语句进行词法分析,然后再对输出结果。词法分析器应能识别关键字,标示符,常量,操作符等。 (3) 该程序的语法分析器能对输入的语法进行分析,判断输入语句能否满足while循环语句的文法。通过简单优先的方法对语句进行分析,看能否能归约到文法的开始符号。 (4) 该程序的语义分析器就是对分析结果进行输出,要求输出结果是三地址形式的。-Compliance with the s
WebSite1
- 一个超级经典的词法和语法分析程序(附加源代码).从词法分析的输出过渡到语法分析-A super-classic lexical and syntax analysis program (source code attached). The output from the lexical analysis of the transition to a grammatical analysis
11
- until 语句的LR翻译程序设计 是用JAVA语言编写的 能实现词法分析和语法分析的功能 并且输出四元式-LR sentence until the translation of the program design JAVA is the language used to achieve lexical analysis and syntax analysis of the function and output quaternion type
Principles-of-curriculum-design
- 编译原理课程设计总结报告 1.设计题目及相关内容 本课程设计完成的是递归下降分析法。对算术表达式和赋值语句进行语义分析并生成四元式序列。其中,本设计用C语言对简单的pascal语言子集编制一个编译程序。语义分析输入的是语法分析后提供的单词串,而语法分析的输入是词法分析的程序所提供的单词序列。要求把语法分析程序和词法分析都作为子程序调用,其中输入字符串要用文件操作。 2.运行环境(软、硬件环境) 硬件环境:方正电脑,P4CPU,512M内存 软件环境:Visualc+
compiler_vc
- 用Visual C++编写的小编译程序,集成了词法分析,语法分析和语义分析。-A compiler program made with Visual C++
compilepiece2
- 实现了CMinus的一个编译器。实现了词法分析和语义分析。-CMinus achieved a compiler. The realization of the lexical analysis and semantic analysis.
LexicalAnalyer
- 这是一个用图形模拟词法分析器的程序: 功能描述: 。 要运行这个程序,你必须安装以下软件 1.java编译器,(本程序是在jdk1.6下编译的)。 2.如果你要重新编译源文件ant.(请在http://ant.apache.org/下载). 如何运行: 1.解压此压缩包. 2.进入解压后的LexicalAnalyer目录(windows下用命令提示符,linux下用终端). 3.然后键入java -jar LexicalAnalyer命
Recursive_descent_parser
- 通过设计、编制、调试一个递归下降语法分析程序,实现对词法分析程序所提供的单词序列进行语法检查和结构分析,掌握常用的语法分析方法。通过本实验,应达到以下目标: 1、掌握从源程序文件中读取有效字符的方法和产生源程序的内部表示文件的方法。 2、掌握词法分析的实现方法。 3、上机调试编出的词法分析程序。 -By designing, developing, debugging a recursive descent parser, lexical analysis procedure t
39709581pl0
- pl0编译器 语法分析 词法分析 要求输入PL/0语言源程序,输出中间代码表示的程序。-pl0bianyiqi
accidenceAnalyzer
- 一个简单的词法分析器,刚学习编译原理时写的··大家可以看下-A simple lexical analyzer, just when the principles of learning to compile written that we can Kanxia! ! ~
sample
- 按simple规则编写的二元式词法分析器和四元式语法分析器。-Prepared according to simple rules of binary-style lexical analyzer and quaternary-style parser.
cifafenxiqi
- 实现一个词法分析器,词法分析程序的主要任务是从左到右扫描每行源程序,拼成单词,换成统一的内部表示 (token)输出,送给语法分析器。具体包括: –组织源程序的输入; –按规则拼单词,并转换成二元形式; –滤掉空白符,跳过注释、换行符及一些无用的符号(如字符常数的引号) (实验一已完成); –进行行列计数,用于指出出错的行列号,并复制出错部分; –列表打印源程序; –发现并定位词法错误; –生成符号表。token 文件和符号表用作语法分析的输入部分。
compile
- 编译原理大作业,完成了词法分析,递归下降分析,LL(1)分析,算符优先分析,中间代码生成等-Compiler Construction Principles large operations, completed a lexical analysis, recursive descent analysis, LL (1) analysis, operator priority analysis, intermediate code generation, etc.