Description: 压缩包包含了C-编译器的设计文档与源代码,供学习参考。-compressed contains C-Compiler design documents and source code for the study reference. Platform: |
Size: 11875 |
Author:辜小花 |
Hits:
Description: 本压缩包包含了C-编译器的设计文档与源代码,供学习参考。-the compressed contains C-Compiler design documents and source code for the study reference. Platform: |
Size: 928739 |
Author:wwww |
Hits:
Description: 这是编译原理的源代码,涉及了编译原理的各个过程:词法分析,LL1语法分析,语义分析,中间代码生成,中间代码优化(常表达式优化,公共表达式优化,循环不变式优化),中间代码生成目标代码,目标代码的解释执行,详细地阐述了一个编译器的设计和实现。它是大纲教学,课程设计良好的示范,也是编程爱好者提高的好参考,其中这是LL1语法分析部分。希望尽早的开通我的帐号,和大家多多交流,成为热爱编程的好朋友。-this principle is to compile the source code, the compiler principles involved in various processes : lexical analysis, LL1 syntax analysis, semantic analysis and code generation and code optimization (regular expression optimization, public expression optimization, optimization loop invariant), intermediate code generation target code goal of the interpretation and implementation of code, described in detail a compiler design and implementation. It is the outline of teaching, curriculum design good model, as well as programming enthusiasts to raise a good reference, which is part of LL1 syntax analysis. Early hopes for the opening of my account, and we interact more, as a good friend who love programming. Platform: |
Size: 13702 |
Author: 江 |
Hits:
Description: 这是编译原理的源代码,涉及了编译原理的各个过程:词法分析,LL1语法分析,语义分析,中间代码生成,中间代码优化(常表达式优化,公共表达式优化,循环不变式优化),中间代码生成目标代码,目标代码的解释执行,详细地阐述了一个编译器的设计和实现。它是大纲教学,课程设计良好的示范,也是编程爱好者提高的好参考,其中这是语义分析部分。希望尽早的开通我的帐号,和大家多多交流,成为热爱编程的好朋友。-this principle is to compile the source code, the compiler principles involved in various processes : lexical analysis, LL1 syntax analysis, semantic analysis and code generation and code optimization (regular expression optimization, public expression optimization, optimization loop invariant), intermediate code generation target code goal of the interpretation and implementation of code, described in detail a compiler design and implementation. It is the outline of teaching, curriculum design good model, as well as programming enthusiasts to raise a good reference, which is part of semantic analysis. Early hopes for the opening of my account, and we interact more, as a good friend who love programming. Platform: |
Size: 10533 |
Author: 江 |
Hits:
Description: 这是编译原理的源代码,涉及了编译原理的各个过程:词法分析,LL1语法分析,语义分析,中间代码生成,中间代码优化(常表达式优化,公共表达式优化,循环不变式优化),中间代码生成目标代码,目标代码的解释执行,详细地阐述了一个编译器的设计和实现。它是大纲教学,课程设计良好的示范,也是编程爱好者提高的好参考,其中这是中间代码优化部分。希望尽早的开通我的帐号,和大家多多交流,成为热爱编程的好朋友。-this principle is to compile the source code, the compiler principles involved in various processes : lexical analysis, LL1 syntax analysis, semantic analysis and code generation and code optimization (regular expression optimization, public expression optimization, optimization loop invariant), intermediate code generation target code goal of the interpretation and implementation of code, described in detail a compiler design and implementation. It is the outline of teaching, curriculum design good model, as well as programming enthusiasts to raise a good reference, it is the middle part of code optimization. Early hopes for the opening of my account, and we interact more, as a good friend who love programming. Platform: |
Size: 13839 |
Author: 江 |
Hits:
Description: 这是编译原理的源代码,涉及了编译原理的各个过程:词法分析,LL1语法分析,语义分析,中间代码生成,中间代码优化(常表达式优化,公共表达式优化,循环不变式优化),中间代码生成目标代码,目标代码的解释执行,详细地阐述了一个编译器的设计和实现。它是大纲教学,课程设计良好的示范,也是编程爱好者提高的好参考,其中这是中间代码生成目标代码部分。希望尽早的开通我的帐号,和大家多多交流,成为热爱编程的好朋友。-this principle is to compile the source code, the compiler principles involved in various processes : lexical analysis, LL1 syntax analysis, semantic analysis and code generation and code optimization (regular expression optimization, public expression optimization, optimization loop invariant), intermediate code generation target code goal of the interpretation and implementation of code, described in detail a compiler design and implementation. It is the outline of teaching, curriculum design good model, as well as programming enthusiasts to raise a good reference, which is code-generating object code part. Early hopes for the opening of my account, and we interact more, as a good friend who love programming. Platform: |
Size: 7508 |
Author: 江 |
Hits:
Description: 这是编译原理的源代码,涉及了编译原理的各个过程:词法分析,LL1语法分析,语义分析,中间代码生成,中间代码优化(常表达式优化,公共表达式优化,循环不变式优化),中间代码生成目标代码,目标代码的解释执行,详细地阐述了一个编译器的设计和实现。它是大纲教学,课程设计良好的示范,也是编程爱好者提高的好参考,其中这是目标代码的解释执行部分。希望尽早的开通我的帐号,和大家多多交流,成为热爱编程的好朋友。-this principle is to compile the source code, the compiler principles involved in various processes : lexical analysis, LL1 syntax analysis, semantic analysis and code generation and code optimization (regular expression optimization, public expression optimization, optimization loop invariant), intermediate code generation target code goal of the interpretation and implementation of code, described in detail a compiler design and implementation. It is the outline of teaching, curriculum design good model, as well as programming enthusiasts to raise a good reference, which is the target code operative explained. Early hopes for the opening of my account, and we interact more, as a good friend who love programming. Platform: |
Size: 8369 |
Author: 江 |
Hits:
Description: 编译原理的源代码,涉及了编译原理的各个过程:词法分析,LL1语法分析,语义分析,中间代码生成,中间代码优化(常表达式优化,公共表达式优化,循环不变式优化),中间代码生成目标代码,目标代码的解释执行,详细地阐述了一个编译器的设计和实现。它是大纲教学,课程设计良好的示范,也是编程爱好者提高的好参考,其中这是语义分析部分。希望尽早的开通我的帐号,和大家多多交流,成为热爱编程的好朋友-compiler source code, the compiler principles involved in various processes : lexical analysis, LL1 syntax analysis, semantic analysis and code generation and code optimization (regular expression optimization, public expression optimization, optimization loop invariant), intermediate code generated object code target explained the implementation of the code, described in detail a compiler design and implementation. It is the outline of teaching, curriculum design good model, as well as programming enthusiasts to raise a good reference, which is part of semantic analysis. Early hopes for the opening of my account, and we interact more, as a good friend who love programming Platform: |
Size: 4119 |
Author:王义 |
Hits:
Description: 编译原理的源代码,涉及了编译原理的各个过程:词法分析,LL1语法分析,语义分析,中间代码生成,中间代码优化(常表达式优化,公共表达式优化,循环不变式优化),中间代码生成目标代码,目标代码的解释执行,详细地阐述了一个编译器的设计和实现。它是大纲教学,课程设计良好的示范,也是编程爱好者提高的好参考,其中这是中间代码生成部分。希望尽早的开通我的帐号,和大家多多交流,成为热爱编程的好朋-compiler source code, the compiler principles involved in various processes : lexical analysis, LL1 syntax analysis, semantic analysis and code generation and code optimization (regular expression optimization, public expression optimization, optimization loop invariant), intermediate code generated object code target explained the implementation of the code, described in detail a compiler design and implementation. It is the outline of teaching, curriculum design good model, as well as programming enthusiasts to raise a good reference, it is the middle part of the code generator. Early hopes for the opening of my account, and we interact more, as a good programming loving friends Platform: |
Size: 20104 |
Author:王义 |
Hits:
Description: 此为ll(1)文法的源代码,适应于学习过编译原理的同学,在做课程设计时可以参考-this as (a) the source code for grammar, learning to adapt to the students of compiler theory, the courses do when reference design Platform: |
Size: 3576 |
Author:林肯 |
Hits:
Description: 压缩包包含了C-编译器的设计文档与源代码,供学习参考。-compressed contains C-Compiler design documents and source code for the study reference. Platform: |
Size: 11264 |
Author:辜小花 |
Hits:
Description: 由于时间紧迫及事先准备不足,编译器最后定型时暴露出不少问题及不足之处,主要有以下一些方面: 不支持数组数据类型,这是文法分析器设计时的一个疏漏,由于时间关系,最后只得把扫描器中已做好的相关的数组部分删去。 对于float数据类型的支持,直到语义分析都是正常的,也能生成相应的汇编代码,但由于我们对8086/8088指令系统本身了解不足,这样的汇编代码将只能做到含义上完全忠实于源程序,但不能运行。 对于局部变量的支持,则于时间紧迫,所有的局部变量全被处理成静态变量。使递归函数不能得到正确的结果。 对于函数调用语句,不进行参数匹配检查,如果参数数量不对,也将能通过编译,但运行时将产生非法操作。 对&& !等逻辑操作在最后生成代码时处理比较粗燥,生成的代码在逻辑复杂时将不能保证运行正常。 接下来有一些,不能说是缺陷,但必须说明的问题: 对于main函数,没有参数表,通回类型也必须为void,但如果写上参数表及其他返回类型也能编译通过,生成代码时将简单地忽略,不影响最后的代码的运行。 对于while,for,if语句,其语句体不管是一句还是多句,必须都有{}围起来。这跟C语言中若是一句则可省略{}不同。-Due to the time constraints and lack of preparation in advance, the compiler finalized when exposed numerous problems and shortcomings, mainly in the following aspects : no support for array data type, which is grammar analyzer design of an omission, because of the time, the final could only have scanners do phase customs array deleted. For float data types of support until semantic analysis is normal, and can generate the corresponding assembly code, but because of our 8086/8088 directive to the knowledge of the system itself, this compilation can do to code meaning entirely faithful to the source, but not running. For the support of local variables, in the time constraints, all local variables were all handled in the static variable. So recursive function will not get the right results. Platform: |
Size: 260096 |
Author:周杰 |
Hits:
Description: 这是编译原理的源代码,涉及了编译原理的各个过程:词法分析,LL1语法分析,语义分析,中间代码生成,中间代码优化(常表达式优化,公共表达式优化,循环不变式优化),中间代码生成目标代码,目标代码的解释执行,详细地阐述了一个编译器的设计和实现。它是大纲教学,课程设计良好的示范,也是编程爱好者提高的好参考,其中这是中间代码优化部分。希望尽早的开通我的帐号,和大家多多交流,成为热爱编程的好朋友。-this principle is to compile the source code, the compiler principles involved in various processes : lexical analysis, LL1 syntax analysis, semantic analysis and code generation and code optimization (regular expression optimization, public expression optimization, optimization loop invariant), intermediate code generation target code goal of the interpretation and implementation of code, described in detail a compiler design and implementation. It is the outline of teaching, curriculum design good model, as well as programming enthusiasts to raise a good reference, it is the middle part of code optimization. Early hopes for the opening of my account, and we interact more, as a good friend who love programming. Platform: |
Size: 13312 |
Author: 江 |
Hits:
Description: 这是编译原理的源代码,涉及了编译原理的各个过程:词法分析,LL1语法分析,语义分析,中间代码生成,中间代码优化(常表达式优化,公共表达式优化,循环不变式优化),中间代码生成目标代码,目标代码的解释执行,详细地阐述了一个编译器的设计和实现。它是大纲教学,课程设计良好的示范,也是编程爱好者提高的好参考,其中这是中间代码生成目标代码部分。希望尽早的开通我的帐号,和大家多多交流,成为热爱编程的好朋友。-this principle is to compile the source code, the compiler principles involved in various processes : lexical analysis, LL1 syntax analysis, semantic analysis and code generation and code optimization (regular expression optimization, public expression optimization, optimization loop invariant), intermediate code generation target code goal of the interpretation and implementation of code, described in detail a compiler design and implementation. It is the outline of teaching, curriculum design good model, as well as programming enthusiasts to raise a good reference, which is code-generating object code part. Early hopes for the opening of my account, and we interact more, as a good friend who love programming. Platform: |
Size: 7168 |
Author: 江 |
Hits:
Description: 这是编译原理的源代码,涉及了编译原理的各个过程:词法分析,LL1语法分析,语义分析,中间代码生成,中间代码优化(常表达式优化,公共表达式优化,循环不变式优化),中间代码生成目标代码,目标代码的解释执行,详细地阐述了一个编译器的设计和实现。它是大纲教学,课程设计良好的示范,也是编程爱好者提高的好参考,其中这是目标代码的解释执行部分。希望尽早的开通我的帐号,和大家多多交流,成为热爱编程的好朋友。-this principle is to compile the source code, the compiler principles involved in various processes : lexical analysis, LL1 syntax analysis, semantic analysis and code generation and code optimization (regular expression optimization, public expression optimization, optimization loop invariant), intermediate code generation target code goal of the interpretation and implementation of code, described in detail a compiler design and implementation. It is the outline of teaching, curriculum design good model, as well as programming enthusiasts to raise a good reference, which is the target code operative explained. Early hopes for the opening of my account, and we interact more, as a good friend who love programming. Platform: |
Size: 8192 |
Author: 江 |
Hits: