搜索资源列表
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
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
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.
Recursive_descent_parser
- 通过设计、编制、调试一个递归下降语法分析程序,实现对词法分析程序所提供的单词序列进行语法检查和结构分析,掌握常用的语法分析方法。通过本实验,应达到以下目标: 1、掌握从源程序文件中读取有效字符的方法和产生源程序的内部表示文件的方法。 2、掌握词法分析的实现方法。 3、上机调试编出的词法分析程序。 -By designing, developing, debugging a recursive descent parser, lexical analysis procedure t
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.
simple23456
- 用C++语言编写一个简单语言的编译器 能实现词法分析,语法分析,语义分析 四元式输出-C++ language using a simple language, the compiler can achieve lexical analysis, syntax analysis, semantic analysis quaternary-output
compile
- 这是一个带MFC界面的tiny+语言编译器,当中实现了17个关键字,包括词法分析,语法分析,语义分析,生成语法分析树等功能-This is a tiny+ with MFC interface language compiler, which achieved a 17 keywords, including lexical analysis, syntax analysis, semantic analysis, generating parse trees and other functio
Compiler
- 一份完整的编译原理课程设计.设计了一个词法分析器和一个利用LL(1)算法实现的语法分析器.可以对C-语言编写的程序进行词法分析和语法分析,当出现错误时推断可能的原因.并最终用直观的方式构建起一棵语法分析树.-A complete compilation Principle. Designed a lexical analyzer and a use of LL (1) parser algorithm. Can be written in C-language program for lexic
SNLCompiler
- 编译程序通常包括:词法分析、语法分析、语义分析、中间代码生成、目标代码生成、错误处理、表格管理,如图所示。由于能力有限,本编译器只做前三部分。-Compiler typically include: lexical analysis, syntax analysis, semantic analysis, intermediate code generation, object code generation, error handling, form management, as shown.
Compilercifa
- C语言词法分析器,用于实现C语言的词法分析,编写语言为C。-C language lexical analyzer, used to implement the C language, lexical analysis, the preparation of language is C.
cifafenxi
- C语言词法分析器源代码,用于实现C语言的词法分析。-C language lexical analyzer source code used to implement the C language, lexical analysis.
complier
- 我们设计的编译程序涉及到编译五个阶段中的三个,即词法分析器、语法分析器和中间代码生成器。编译程序的输出结果包括词法分析后的二元式序列、变量名表、状态栈分析过程显示及四元式序列程序,整个编译程序分为三部分: (1) 词法分析部分 (2) 语法分析处理及四元式生成部分 (3) 输出显示部分 -We designed the compiler to compile the five stages involved in the three, namely, lexical analy