搜索资源列表
编译原理_词法分析部分源码
- 编译原理_词法分析部分源码,供学习-compiler theory _ lexical analysis source for learning
pl0back
- 在本编译程序中,源语言为PL/0语言,目标语言为假想栈式计算机的汇编语言.PL/0语言是Pascal语言的一个子集,PL/0的编译程序包括了对PL/0语言源程序进行分析处理、编译生成类PCODE代码,并在虚拟机上解释运行生成的类PCODE代码的功能。 PL/0语言编译程序采用以语法分析为核心、一遍扫描的编译方法。词法分析和代码生成作为独立的子程序供语法分析程序调用。语法分析的同时,提供了出错报告功能。在源程序没有错误编译通过的情况下,调用类PCODE解释程序解释执行生成的类PCODE代码
Compute_Formula
- 一个简单的解析器,可以对四则运算和if语句进行解析,利用简单扫描的方式词法解析,和压栈方式解释运算,可以帮助学习编译原理-a simple parser can be four operators and if statements for the analysis, simple scanning the lexical analysis, and interpretation Yazhan Operators can help compiler theory
weord
- 编译原理词法分析,自己原创,毫无保留的传上来了,进攻大家好好分享-compiler theory lexical analysis, their originality, without reservation onto a mass offensive that they have to share
172317636
- 汇编的编译器,可以实现词法和语法的分析,编译原理可以用得上-compiled by the compiler can achieve a lexical and grammatical analysis, translation theory can be useful
byylda
- 编译原理练习题与答案主要是词法分析、语法分析、中间代码等相关习题与答案.-compiler theory and practice that the answer is lexical analysis, parsing, intermediate code, and other related exercises with answers.
lexicalanalysis
- 为了实现的编译程序实用,源程序可采用自由书写格式,即一行内可以书写多个语句,一个语句也可以占领多行书写;标识符的前20个字符有效;整数用2个字节表示;长整数用4个字节表示。这样词法分析程序的主要工作为: (1)从源程序文件中读入字符。 (2)统计行数和列数用于错误单词的定位。 (3)删除空格类字符,包括回车、制表符空格。 (4)按拼写单词,并用(种别,单词)二元式表示。 (5)根据需要是否填写标识符表供以后各阶段使用。 这里采用的编译程序的实现方法是一遍扫描,即从左到右只
dierzuoye-cifa
- 第二个编译作业~词法分析器~从一个文件读入代码分析后将结果写到另一个文件中-second compiler operations ~ ~ lexical analyzer from a document read into the code analysis results will wrote another document
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
aisa-Doc3
- 语义分析 语义分析,编译作业,词法分析语义分析,编译作业,词法分析语义分析,编译作业,词法分析语义分析,编译作业,词法分析,,Visual C++ -semantic analysis semantic analysis, compile operations, lexical analysis semantic analysis, compile operations, lexical analysis semantic analysis, compiler work, lexical a
IORO
- 可以直接运行的C语言开发的,编译原理的词法分析器!多的不说!能用是关键!为本人课程设计时做!-direct operation of the C-language development, Compiler Principle lexical analyzer! not many! can be used is the key! I courses for the design!
ci111
- 自己做的编译原理课程的词法分析器,用C编的,还有预习和实践报告,很好用-own compiler theory courses lexical analyzer, the C series, there is a rehearsal and practice reports, with good
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,
complier11111
- 一个完整的编译器设计,包含词法语法,编译输出三地址码,很不错!-a complete compiler design, including lexical syntax, compiler output code addresses three very good!
Compiler_of_MiniPascal
- 该程序是一个MiniPascal语言的编译器,包括词法分析、语法分析和常见错误处理。MiniPascal语言是Pascal语言的一个子集,该程序可以对其进行编译,如果有错误,可以给用户提供尽可能准确的提示。-that the procedure was a MiniPascal language compiler, including lexical analysis, common grammatical analysis and error handling. MiniPascal lang
javacifafenxi
- 编译原理的课程设计,词法分析器,基于java jdk1.4做的,有源码和bat文件可直接运行-compiler theory of curriculum design, lexical analyzer, based on java jdk1.4 do. bat and a source document can run
cifafenxi1211
- 一个很好的词法分析源码,非常完善,很实用,对于初学者学习编译原理会很有用哦.-a good source of lexical analysis, very perfect, very useful, For beginners learning compiler theory will be very useful oh.
yongluo
- 词法分析器,简单而且实用用的很好啊,可以直接运行,这个是编译原理的作业-lexical analyzer, simple and practical use of a good ah, direct operation, the compiler is the principle of operation
byylsy3
- 编译原理实验中的词法分析器,软件有待改进 但基本可用-compiler principle experiment of a lexical analyzer, software to be available to improve basic
Soft20060210105922892
- 这是学《编译原理》时的上机实验。可实现对C语言的词法分析,关键字32个,包含了C的绝大部分运算、限界符,主要是对文件进行读、写操作,节省内存消耗,自以为是一个不错的词法分析程序。运行环境为VC++6.0。-This is the time for "compiler theory," the experiment on the plane. To be able to achieve C language lexical analysis, keyword 32, C con