搜索资源列表
bianyiyuanli
- 一、 实验目的与要求 目的:在分析理解一个教学型编译程序(如PL/0)的基础上,对其词法分析程序、语法分析程序和语义处理程序进行部分修改扩充。达到进一步了解程序编译过程的基本原理和基本实现方法的目的。 要求:对PL/0作以下修改扩充 基本内容: 增加单词:保留字 ELSE,FOR,TO,DOWNTO,RETURN 运算符 +=,-=,++,-- 修改单词:不等号# 改为 <> 增加条件语句的ELSE子句 -First, the purpose an
1111
- 这是编译原理实验中的词法分析源代码,欢迎大家批评指正,本人不盛感激。- The experiment of lexical analysis in Fundamentals of Compiling
test1
- 编译原理第一个实验词法分析,自己写的,还有可以修改的地方-Compiler theory first experiment lexical analysis, write their own, there can be amended where
Lexical-analyzer-(scanner)
- 词法分析程序(扫描器)的设计-编译原理实验-Lexical analyzer (scanner) of the design- build principle experiment
01
- 在编译原理课程中实验一源程序的预处理和词法分析的源程序代码-In compiling principle experiment in the course of pretreatment and source program morphology analysis of source code
cifafenxi
- 编译技术中的一定会用到的实验代码 词法分析-Lexical analysis
cifafenxi
- 编译原理实验,词法分析小程序,简单且符合大学课程要求-Compile principle experiment, lexical analysis applet
a
- 内含TINY及cminus的实验要求 语法语义 词法分析的整个过程 并附有部分代码-TINY and cminus experiment contains grammatical and semantic requirements of the whole process of lexical analysis together with part of the code
0082657
- 词法分析,编译原理课上的实验。比较容易懂得-Lexical analysis, compiler theory class experiment. Easier to understand
test2
- 编译原理的实验,是一个词法分析工具,采用下降递归法实现的-Compiler theory of the experiment, a lexical analysis tool, implemented using recursion down
cifafenxi
- 实验一个词法分析的程序,而且对于编译原理的了解很有帮助-A lexical analysis of the experimental procedures, and helpful for the understanding of compiler theory
scanner
- 编译原理 词法分析(含实验报告和完整代码)-Compiler theory lexical analysis (including lab reports and complete code)
ok
- 编译原理实验,实现的是词法分析和语法分析的功能-Compiler theory test, to achieve the lexical analysis and parsing functions
bianyiqi
- 编译原理实验中的编译器设计,能实现词法分析和语法分析-Principle experiment compilation compiler design
grammar_analyse_program
- 一个用C++编写的简单的语法分析程序,是在词法分析的基础上进行的编写,能识别出一个句子,并返回该句子的语法信息,并返回词法分析结果。并附有源程序工程和实验报告。-Written in C++ a simple parser, lexical analysis is based on the preparation, can identify a sentence, the sentence syntax and returns the information, and returns the r
semantic_analyse_program
- 用C++编写的语义分析程序,基于LR文法,能实现词法分析,语法分析,返回相应结果,并返回归约过程和四元式。并附有实验报告和源工程。-Written in C++ semantic analysis program, based on the LR grammar, to achieve lexical analysis, parsing, returns the appropriate result, and return to the process of reduction and quat
cefafenxiqi
- 自己用C语言实现的一个词法分析程序,解压后的文档包含实验的要求和源代码,以供参考-Their implementation in C language, a lexical analysis program, after extracting the document contains the test requirements and source code for reference
Lexical-analysis-procedure
- 该文件实现的是词法分析算法,是编译原理上机实验的原码-This file is the lexical analysis algorithms to achieve, is to compile the principles of the original code on experiments
Compiler
- 实验一:设计SAMPLE语言的词法分析器 检查要求: 启动程序后,先输出作者姓名、班级、学号(可用汉语、英语或拼音); 请求输入测试程序名,键入程序名后自动开始词法分析并输出结果; 输出结果为单词的二元式序列(样式见样板输出1和2); 要求能发现下列词法错误和指出错误性质和位置: 非法字符,即不是SAMPLE字符集的符号; 字符常数缺右边的单引号(字符常数要求左、右边用单引号界定,不能跨行); 注释部分缺右边的界符*/(注释要求左右边分别用/*和*/界定,
the-lexical-analysis
- 可以对cmm语言进行简单的词法分析,附实验报告-Can do the simple lexical analysis of the cmm language