搜索资源列表
cvery.comvc
- 词法语法分析器实例程序源码,对更好的理解编译器的词法语法分析过程很有帮助。-Examples of lexical parser program source, a better understanding of the lexical grammar compiler analysis helpful.
yufafenxi
- 一个语法编译程序,包括词法分析器、语法分析器以及实现对简单程序设计语言中的逻辑运算表达式、算术运算表达式、赋值语句、IF语句、While语句以及do…while语句进行编译,并生成中间代码和直接生汇编指令的代码生成器-a english compile
ifelse
- 此程序是对条件语句进行翻译,输入一个条件语句,例如:if B then C1 else C2,先进行词法分析,词法分析的主要任务是:从左到右逐个字符地对源程序进行扫描,产生一个个的单词符号,把作为字符串的源程序改造成为单词符号串的中间程序,词法分析是编译的基础,词法分析的功能是输入源程序,输出单词符号(关键字,标识符,常数,运算符,界符),词法分析完成之后,再进行LL(1)语法分析,语义分析,最后输出四元式(语法分析,属性文法,四元式的相关知识技术描述如下)-This procedure is
compiler_vc
- 用Visual C++编写的小编译程序,集成了词法分析,语法分析和语义分析。-A compiler program made with Visual C++
MoYi_C01
- C0编译器,实现词法分析、语法分析、输出运行栈、输出符号表、错误处理,实现到生成PCode。-C0 compiler, the realization of lexical analysis, syntax analysis, the output operation of the stack, the output symbol table, error handling, to achieve the generation of PCode.
LL1
- 语法分析是编译过程的核心部分。他的任务是在词法分析识别单词符号串的基础上,分析并判断程序的的语法结构是否符合语法规则。语言的语法结构是用上下文无关文法描述的。因此语法分析器的工作的本质上就是按文法的产生式,识别输入符号串是否为一个句子。对于一个文法,当给你一串符号是,如何知道它是不是该文法的一个句子,这是这个课程设计所要解决的一个问题。-Syntax analysis is the core of the compiler process. His task is to identify the
bianyi
- 运用Cup和JLex工具,进行编译原理的词法分析、语法分析、抽象语法树生成。-use Cup and JLexuse to build principles of lexical analysis, syntax analysis, abstract syntax tree is generated.
cifafenxiqi
- 实现一个词法分析器,词法分析程序的主要任务是从左到右扫描每行源程序,拼成单词,换成统一的内部表示 (token)输出,送给语法分析器。具体包括: –组织源程序的输入; –按规则拼单词,并转换成二元形式; –滤掉空白符,跳过注释、换行符及一些无用的符号(如字符常数的引号) (实验一已完成); –进行行列计数,用于指出出错的行列号,并复制出错部分; –列表打印源程序; –发现并定位词法错误; –生成符号表。token 文件和符号表用作语法分析的输入部分。
CALOG
- c++编写的简单编译器 基本功能包括词法语法分析-c++ compiler, written in simple and basic functions, including lexical parsing
Compiler
- c#实现的编译器,源码,包括词法分析,语法分析,语义分析,及中间代码生成-c# implementation of the compiler, source code, including lexical analysis, syntax analysis, semantic analysis and intermediate code generation
Parser
- 一个c语言实现的简单的语法分析器,包括词法分析和语法分析两部分。-Lexical Analysis Parser
SNLCompiler
- 编译程序通常包括:词法分析、语法分析、语义分析、中间代码生成、目标代码生成、错误处理、表格管理,如图所示。由于能力有限,本编译器只做前三部分。-Compiler typically include: lexical analysis, syntax analysis, semantic analysis, intermediate code generation, object code generation, error handling, form management, as shown.
compile
- C语言完成的编译器,实现了词法、语法分析,中间代码和汇编代码的生成,有报告文档和测试程序-C language compilers completed achieve the lexical, syntax analysis, intermediate code and assembly code generation, documentation and testing procedures has been reported ...
ImplementationOfVM
- 根据给出的语法规则,在经过词法分析,语法分析得到的语法分析树的基础上,设计语法制导的定义翻译生成目标代码。并将生成的目标代码在附件给出的虚拟机中运行,得到运行结果。-According to the given grammar rules, after lexical analysis, syntax analysis parse tree obtained based on the definition of design Syntax generate object code transla
726lexYacc
- lex编程实例,实现内容词法语法分析程序。-lex programming examples, lexical parser for content.
cbainyi
- c 编译器完美实现,有词法语法分析,还有汇编生成-the perfect realization of the c compiler syntax analysis, as well as assembler generates
vc_SLRStar
- 一个vc++编写的词法语法分析程序,可以直接编译运行.-A lexical and syntactical analysis program written in Visual C++, can be compiled directly and run.
LexicalAnalysis
- 用java语言写的一个词法、语法分析器,实现简单的词法语法分析。-Using java language to write a lexical parser, a simple syntax analysis.
PL0Compiler-C
- PL/0编译器C++/C版本 1. 测试文件必须是以testin.pl0命名的文件。 2. 成功运行测试程序后,会生成testout.txt的文件,里面包括代码、指令和运行结果。 3、First.cpp--只包含词法语法分析,Error.cpp--加入了出错处理,All.cpp--包含代码生成和解释程序,是完整编译器。-请键入文字或网站地址,或者上传文档。 取消 PL/0 biānyì qì C++/C bǎnběn 1. Cèshì wénjiàn bìxū shì yǐ
cifaYUFAfenxi
- 借助Lex 和Yacc 进行词法语法分析,内部包含代码,总共30页,初学者可以参考参考。-With Lex and Yacc parsing lexical, contained within the code, a total of 30, beginners can refer to reference.