搜索资源列表
编译原理及实践
- 目 录 译者序 前言 第1章 概论 1 1.1 为什么要用编译器 2 1.2 与编译器相关的程序 3 1.3 翻译步骤 5 1.4 编译器中的主要数据结构 8 1.5 编译器结构中的其他问题 10 1.6 &
ExpressCa_m
- 学编译原理过程中的一个成果,可以直接输入多项式进行计算,核心代码是从网上下的,修改了原来计算首字符为负号计算错误的BUG,借此抛砖引玉,^_^-school compiler theory of a process results can be directly imported into polynomial calculations, the core code from the Internet under the revised terms of the original negativ
Byyl
- 此程序用于实现编译原理中算符优先文法中算符优先函数算法,用户输入不大于10的数字后,即可进行相应个数的算符优先函数计算。
str_lx(xiugai)
- 通过编译原理的知识做的一个小程序,实现的功能是完成字符串表达式的计算
附录I Little C解释程序源代码
- Little C解释程序源代码用C语言实现了一个C语言的子集的解释程序,之所以是子集,是由于考虑到本次毕业设计的时间上并不允许将整个C语言的解释程序完成,事实上,若要将整个C语言的解释程序完成,那将不是凭一己之力加上数月可以完成的。为此,结合所学的编译原理和实现技术以及计算理论,本文之实现了C语言自己的解释程序。-C source code using C language of a C language subset of the procedures explained that the r
自动机
- 实现自动机,用于计算理论和编译原理的学习,关于上下文无关文法和正则表达式-automatic machine used in the calculation of compiler theory and principles of learning, on the context-free grammar, and is a regular expression
bianyiyuanli
- 建立《编译原理网络课程》的目的不仅使学生掌握构造编译程序的原理和技术,而且能够使学生对该领域产生浓厚的兴趣和求知欲,为以后进一步从事软件工作打下良好的基础。主要内容涵盖了大学计算机系本科生所学内容,共十章,有编译概述,文法和语言,词法分析,语法分析,语法制导翻译,运行时刻环境的组织,中间代码生成,目标代码生成,代码优化,面向对象的语言的编译介绍。每章后附有习题,必做的习题给出了参考答案。最后讲解一个小的编译器的设计与实现,并给出了完整的用PASCAL书写的源代码。72学时,4学分。先修课程有计算
calculator
- 本程序是算术表达式计算程序,通过输入表达式达到计算的目的(编译原理中的词法分析、算符优先分析,可代替目前普遍使用的计算器)。-This procedure is the arithmetic expression program, by entering the expression to achieve the purposes of the calculation (the compiler of the principle of lexical analysis, operator pri
firstvtlastvt
- 编译原理 FirstVT 和 LastVT的计算 以及算符优先文法演示-FirstVT LastVT stack
queyelv
- 编译原理中的计算缺页率的功能!其中有对FIFO算法和LRU算法的缺页率的计算-Compilation Principle of the calculation of the rate of missing pages feature! Which pairs of FIFO algorithm and LRU algorithm to calculate the rate of missing pages ...
lex_calculater
- Lex文法写的计算器,对学习编译原理的同学是不错的选择,看看它的强大功能吧-Lex wrote the calculator grammar, compiler theory of learning students is a good choice, the power of it to see if it
bianyiyuanli
- 编译原理,课后答案。。。编译程序:如果源语言为高级语言,目标语言为某台计算机上的汇编语言或机器语 言,则此翻译程序称为编译程序-Compiler theory, after-school answer. . . Compile the program: high-level language if the source language, target language for a computer assembly language or machine language, the com
Review-Questions-compiler-theory
- 编译原理复习题,编译原理的概念复习,以及计算题复习,及答案-Compiler theory review questions, review the concept of compiler theory, and calculate the review questions, and answers
111
- 编译原理中的逆兰式波实验源代码,以及逆兰式波的生成及计算程序。-Reverse Polish Notation and code generation
JSQFinal
- 编译原理课程设计,CMM 是一种经过简化的 C 语言,CMM 解释器是一个 CMM 语言 的集成开发环境,经过词法、语法和语义的分析,通过递归下降子程序法对 CMM 语言 进行解释执行。此解释器可以实现几种基本数据类型的表达式计算、隐式转换和强制转 换,循环语句的控制,多维数组的处理,函数调用和重载,变量作用域限制等功能。IDE 能够进行代码自动缩近、语法高亮、撤销重做、括号匹配、错误检查标记、函数定位、 快速注释、输出语法树等。 -CMM is a programming
lab2
- 编译原理实验二:TINY扩充语言的语法分析 扩充的语法规则有:实现 while、do while、for语句和求余计算式子,具体文法规则自行构造。-Compiler Principle Experiment II: TINY extension language parsing expansion syntax rules: to achieve the while, do while, for statement and the remainder calculation formulas
main
- 编译原理的作业,计算算术表达式,四则运算-The job of the compiler theory to calculate the arithmetic expression, four operations
attribute-computation-
- 属性计算,编译器设计的不可缺少的一部分,编译原理一课重要-a program about attribute computation
LL1_calc
- 用LL1文法产生的表格,做的预测分析法计算器!如:7+7=;计算可得14.0000(LL1 parse calc. have fun!)
compiler
- 根据编译器的基本原理,实现简单的加减乘除的计算(According to the basic principle of the compiler, the realization of a simple calculation of add, subtract, multiply and divide.)