搜索资源列表
PL0
- 编译原理实验课 实现编译器的源代码,主要是对于比较简单的PL0语言,包括了词法分析,语法分析,中间代码生成,目标代码生成以及优化的过程-Compiler principle experiment course to achieve compiler source code
cifaanalyse
- 编译原理课程实验第一部分 词法分析程序,实现第一部分功能-The first part of the experiment compiler theory courses lexical analysis procedures to implement the first part of the function
Compiler-theory---
- 编译原理 实验源代码 词法分析与三地址代码生成程序 可直接运行 Compiler theory of lexical analysis and single address code generation -Compiler theory of lexical analysis and single address code generation
kcsj
- 编译实验报告,词法分析语法分析语义分析目标代码生成全过程,-Compile the report of the experiment, lexical analysis, syntax analysis semantic analysis of the whole process of target code generation,
BY
- 编译原理实验课件以及完整的实验代码,包含词法分析和语法分析的两个小实验代码。-Compiler theory and experiment courseware complete experimental code, including two small experimental code lexical analysis and parsing.
lexical-analyzer
- 编译原理实验报告 实验一:词法分析器 实验目的: 实现TINY+语言的词法分析程序(扫描程序) 实验内容: 1、词法分析器输入输出 扫描程序的输入是源代码文件,输出是token串。 2、需要遵循“最长串匹配原则”,如匹配字符串‘:=’ 为赋值操作符,而不是冒号和等号两个操作符。 Token 以键值对 (Kind, Value)的形式表示。下面的符号表示不同的token类别(即Kind的取值) KEY 表示保留字 SYM 表示特殊符号 ID 表示标识符
syntactic-analyzer
- 编译原理实验报告 实验二:语法分析器 设计、编制、调试一个词法分析子程序-识别单词,加深对词法分析的理解掌握以及高级语言语法结构的定义,掌握语法分析的常用方法-Compile report principle experiment Experiment two: parser design, compilation, debugging a lexical analysis routines- to recognize words, to deepen the understandin
bianyiyuanli
- 编译原理(第二版)张素琴 吕映芝等著 实验:简单词法分析程序设计- Compiler theory (second edition) Lvying Zhi Qin Zhang wait Experiment: Simple lexical analysis program design
compiler
- 一个小型编译器的实验,实现了词法分析,语法分析,语义分析,中间代码-a simple complier
Compiler-theory-Lexical-analysis
- 编译原理词法分析在VC++6.0上的实现,含有源代码以及实验报告的完整版-Compiler theory lexical analysis implemented on VC++6.0 containing the source code and the full version of the test report
st_1
- 本章实验为实验一,任务是编写一个程序对使用C 语言书写的源代码进行词法分析和语法分析(C 语言的文法参见附录A),并打印分析结果。实验要求使用词法分析工具GNU Flex和语法分析工具GNU Bison,并使用C语言来完成。-This chapter first experiment experiments, the task is to write a program to use C source c
cifafenxi
- 编译原理的实验,该部分为词法分析的源代码-Compiler theory experiments, the part of the lexical analysis of the source code
analyse
- 来自课程实验,属于编译原理程序,能进行词法分析,结果比较清晰-From the course of experiments, belonging to the compiler principle, can carry out the lexical analysis, the results are clear
CompilerCminus
- 这个文件是编译原理课程设计的实验代码,这段代码中包括了词法分析以及语义树的生成,工程的话用vs2013打开,如果版本低的话,直接把里面的头文件与源文件拷出来在相关的c语言开发环境里建个新的工程就行了,里面有一个例子,直接跑就行了。-This file is experimental code compiler theory of curriculum design, this code is included in the lexical analysis and semantic tree g
lab1
- 任务是编写一个程序对使用C 语言书写的源代码进行词法分析和语法分析(C 语言的文法参见附录A),并打印分析结果。实验要求使用词法分析工具GNU Flex和语法分析工具GNU Bison,并使用C语言来完成。在两个强大工具的帮助下,编写一个能进行词法分析和语法分析的程序是一件相当轻松愉快的事情。 需要注意的是,由于在后面的实验中还会用到本次实验已经写好的代码,因此保持一个良好的代码风格、系统地设计代码结构和各模块之间的接口对于整个实验来讲相当重要。 -The ta
lab2
- 任务是在词法分析和语法分析程序的基础上编写一个程序,对C 源代码进行语义分析和类型检查,并打印分析结果。与实验一不同的是,实验二不再借助已有的工具,所有的任务都必须手写代码来完成。另外,虽然语义分析在整个编译器的实现中并不是难度最大的任务,但却是最细致、琐碎的任务。因此需要用心地设计诸如符号表、变量类型等数据结构的实现细节,从而正确、高效地实现语义分析的各种功能。 需要注意的是,由于在后面的实验中还会用到本次实验已经写好的代码,因此保持一个良好的代码风格、系统地设计代码结构和
lexical-analysis
- 编译原理中的词法分析实现,是编译原理课中的实验代码-Compiler theory lexical analysis to achieve, is to compile the principle lesson of the experiment code
Lexical
- 编译原理里的词法分析程序,完善按照c语言进行词法识别,下载后可直接运行,用于编译课程实验的学习-Compiler theory of lexical analysis procedures, to improve the C language for lexical recognition, download can be run directly, for the study of the course experiment
编译原理词法语法分析等代码
- 编译原理实验报告代码,包括代码,心得等等
PL0
- 本次实验设计主要是在分析理解PL/0编译程序的基础上,对其词法分析程序、语法分析程序和语义处理程序进行部分修改扩充,使其增加并且实现了更多的功能。-This experiment design is mainly on the analysis of the understanding of PL/0 compiler, on the basis of the lexical analysis program, the syntax analysis and semantic processin