搜索资源列表
编译原理及实践
- 目 录 译者序 前言 第1章 概论 1 1.1 为什么要用编译器 2 1.2 与编译器相关的程序 3 1.3 翻译步骤 5 1.4 编译器中的主要数据结构 8 1.5 编译器结构中的其他问题 10 1.6 &
DrakeCompiler
- 这可是我的倾情制作,离卖弄的语法分析器,是自己写的实现程序,不使用他人的结果,直接从原始语法里进行推理计算的,而且这个使用c语言实现的,很多底层函数都是自己来写,像hash表里的hash函数,还有像动态自增长分配等。当然这个还很不完善,但是已经作了很多工作,差就差在没有找到理想的脚本支持语言,最后没有办法只能用函数指针的数组来进行语义调用了。-this but my DEDECATES production, from the play of parser, written in their o
编译原理实验_课程设2005
- 本程序的作用是进行TEST语言的词法分析。 2、可双击运行后输入文件名,或是在命令提示符下输入test 文件名……,支持多个文件同时进行词法分析。 3、本程序是在VC6.0环境下测试通过,用的是C++语法。当然也有C的语法。 4、本程序留下了很多的接口以待以后的语法分析和语义分析实验时进行扩展-this program is the role of TEST language lexical analysis. 2, double-click operation input file name,
完整的编译器代码
- 老师提供给我们的完整的C语言编译器代码,包括词法分析、语法分析、语义分析、代码生成。-teachers to the integrity of the C language compiler code, including lexical analysis, grammar analysis, semantic analysis, code generation.
WHILE语句的翻译
- 用简单优先法设计并编写一个WHILE循环语句的语法及语义分析程序并输出用四元式表示的中间代码,同时实现词法分析程序对单词序列的词法检查和分析。-simple priority Design and prepare a WHILE loop is the syntax and semantic analysis procedures used and output 4 yuan, said the middle-code, while achieving lexical analysis proc
wyb4
- 逆波兰式,c语言实现,包括语法分析,语义分析等,优先级别的实现-inverse Polish, c language, including grammar analysis, semantic analysis, the priority level of achievement
digui5
- 这个是编译原理中的利用递归下降法对DO-WHILE语句进行翻译输出四元式的完整程序。 有语法分析、词法分析、语义分析。-this principle is to compile the use of recursive descent of DO-WHILE statement translation output four yuan - the complete procedure. With grammatical analysis, lexical analysis, semantic
chifayufafenxi
- 一个简单的词法,语法分析程序,虽然简单但结构比较清晰,有助于我们对后面语义分析的生成.-a simple morphology, syntax and analytical procedures, although relatively simple but clear, and help us right behind the formation semantic analysis.
guyue30
- while语句的LL1词法语法和语义分析-LL1, syntax and semantic analysis
060614011958
- 包括词法分析语法分析语义分析(附有源代码)-including lexical analysis syntax analysis semantic analysis (with source code)
MiniSQL1.6
- 这个是我我学数据库的时候写的一个简易数据库搜索引擎,不过最后的版本不在我这里,只好把我的那部分放上来,主要是语法分析跟语义检测-I, this the database to write a simple database search engine But the final version is not here I am, I had to put that part of Fangshanglai is mainly semantic syntax analysis with detec
C_C++_exception
- C 与C++中的异常处理 Robert Schmidt 著 无情 译 目 录 1. 异常和标准C 对它的支持...............................................................................................2 2. Microsoft 对异常处理方法的扩展..................................................................
C_complier
- 用C开发的C语言编译器,实现了词义、语义、语法检查和分析-C development of the C language compiler and realized the meaning, semantics, syntax check and analysis
Study_flex_bison
- 一个flex和bison用法入门的很好的例子。 按照词法分析,语法分析,语义分析的顺序来熟悉flex和bison这两个有力的工具。最后给出了一个用flex做词法分析用bison做语法分析设计的科学计算器(不同于一般程序设计中的入门级计算器),是学习编译原理的很好的例子。-a flex and bison portal usage of a very good example. According lexical analysis, parsing, Semantic analysis of th
complied
- 编译原理的词法分析器,语法分析器(包括递归子程序,算符优先,LR类分析法),语义分析等原理图-compiler tenets of lexical analyzer and parser (including recursive subroutines, operator precedence, LR type analysis), semantic analysis diagram
pl0.ok1
- 经过修改的PL0编译程序源码,对于编译原理初学者来说,是一个不错的参考程序,有利于递归下降方法的理解,包括词法分析,语法分析和语义生成,并可以在虚拟机上执行。-revised PL0 compiler source code, compiler theory beginners, is a good reference procedures, it dropped recursive method to the understanding, including lexical analysis,
PL0-translate
- PL/0语言是Pascal语言的一个子集,是一种简单而且可扩充的语言,在我的测试用例中有具体的体现。它通过词法分析、语法分析、语义分析等过程,生成目标代码,目标代码是一种形似汇编语言的栈操作指令。-PL / 0 Pascal language is a language subset is a simple and extensible language, In my test case with concrete expression. Through lexical analysis, pa
Pascal_compliter
- 一个用VC++开发的Pascal编译器. 包括词法分析 语法分析 语义分析 中间代码生成 对学习编译原理的同学有很大用途-a VC development of the Pascal compiler. Lexical analysis, including analysis of semantic analysis Grammar intermediate code Generation of compiler theory of learning students have great
plo-com
- pl/0编译器的C++实现,包含了词法分析,语法分析,语义分析&代码生成部分。-pl / 0 compiler for C + + realization included lexical analysis, parsing, Semantic Analysis & code generator parts.
Lex_Yacc_Parser
- 语法分析器lex和词法分析器yacc的C++语言实现 1.Lex (1)Lex输入文件的解析 (2)正规表达式的解析 (3)一个正规表达式到NFA的转换算法实现 (4)多个NFA的合并 (5)NFA的确定化和最小化算法实现 (6)返回状态与返回内容的对应 2.Yacc (1)Yacc输入文件的解析 (2)上下文无关文法到对应LR(1)文法的下推自动机的构造 (3)LR(1)文法的下推自动机到相应分析表的构造 (4)LR(1)总控程序的构造(查表程