搜索资源列表
cifafenxi
- 简单c语言词法分析程序,实现了关键字识别功能,二分查找功能-Simple lexical analysis program c language to realize the keyword recognition, binary search function
AG
- 编制一个能够分析三种整数、标识符、主要运算符和主要关键字的词法分析程序。-The preparation of a can analyze the three integers, identifiers, the main operator and the main keywords lexical analysis program.
analysis
- 词法分析,编译原理的词法分析程序c++源码。-Lexical analysis, lexical analysis of the principle of compiler c++ source program.
yuanma
- 该源码中有一个编译的词法语法语义的分析程序,三个处理及调度程序以及一个8255A的发声控制的汇编语言程序,希望对大家能有帮助-The compiler source code, there is a syntax of lexical semantic analysis of the procedure, three treatment and scheduling procedures, as well as an audible signal to control the 8255A ass
tam
- 编译原理词法分析程序,编写简单语言的词法分析程序,掌握从正规式到有穷自动机,再到有穷自动机最小化,最后完成编成的流程及相关技术。-Principles of lexical analysis program to compile, prepare a simple lexical analysis of language to grasp from the formal ceremony to DFA, DFA to minimize the process of finalizing the
yffx
- 语法分析 C2.1 实验目的 编制一个递归下降分析程序,实现对词法分析程序所提供的单词序列的语法检查和结构分析. C2.2 实验要求 利用C语言编制递归下降分析程序,并对简单语言进行语法分析. C2.2.1待分析的简单语言的语法 用扩充的BNF表示如下: (1)<程序>::=begin<语句串>end (2)<语句串>::=<语句>{ <语句>} (3)<语句>::=<赋值语句>
TransExe1_1
- 词法分析器 编译原理 将一个C语言代码存入txt文件中,放在主目录下,运行程序就可以了。 txt文件名:Learn2.txt-Principles of lexical analyzer will compile a C language code into the txt file, on the main directory, run the program on it. txt file name: Learn2.txt
chifa
- 这个是我上编译原理实验课的时候写的小程序,实现了词法分析的功能。-This is my compile time course experiment to write a small program to realize the function of lexical analysis.
cifafenxi
- c语言实现的词法分析程序 可以识别简单的输入-c language lexical analysis of the program to identify a simple input
xxbjq
- 目录 1. 课程设计目的及要求 1.1设计目的及问题描述 1.2设计要求 1.3软件、硬件环境 2. 课程设计步骤 3. 课程设计内容 3.1 简要分析 3.1.1 词法分析 3.1.2 语法分析 3.1.3语法分析方法及中间代码形式的描述 ①PL/0语言文法的扩充BNF表示②语法分析的中间代码形式的描述 ③语义分析的中间代码设计 3.1.4算法描述 3.1.4.1重要数据结构的声明 3.1.4.2词法分析 3.1.
libolanshi
- 赋值语句的翻译 通过设计、编制、调试一个典型的语法成分的语法分析和语义分析程序,实现对词法分析程序所提供的单词序列进行语法检查和结构分析以及语义翻译工作,进一步掌握常用的语法分析方法和语义分析方法。 要求: 选择最有代表性的语法分析方法,如算符优先法(或简单优先法)、递归下降分析法、LL分析法和LR分析法之一进行语法分析。 选择对各种常见程序语言都通用的语法结构,如赋值语句(尤指表达式)作为分析对象,并且与所选语法分析方法要比较贴切。 选择最有代表性的语义分析方法,如语法制
step1
- 词法分析程序,次程序实现了if else语句的标准输入-Lexical analysis program, sub-program if else statement of the standard input
cifafenxi
- 词法分析程序,可以对源程序进行分析出一个个的单词。-Lexical analysis program can be a source for analysis of the word.
yu_fa
- 简单的赋值语句的翻译程序,如输入表达式a=3*4-(8+7)/5,进行词法和语法分析后输出中间结果-A simple assignment statement, the translation program, such as the importation of the expression a = 3* 4- (8+7)/5, for lexical and grammatical analysis of output of intermediate results
sudentmanagement
- 题2: 设计一个词法扫描器。词法扫描器的功能是输入源程序,输出单词符号。写出关键字集合和程序流程图。-Title 2: Design a lexical scanner. Function of lexical scanner is an input source and output word symbols. Write keyword collections and program flow diagram.
scaner
- 题2: 设计一个词法扫描器。词法扫描器的功能是输入源程序,输出单词符号。写出关键字集合和程序流程图。-Title 2: Design a lexical scanner. Function of lexical scanner is an input source and output word symbols. Write keyword collections and program flow diagram.
词法分析
- 词法分析,词法分析阶段是编译过程的第一个阶段,是编译的基础。这个阶段的任务是从左到右一个字符一个字符地读入源程序,即对构成源程序的字符流进行扫描然后根据构词规则识别单词(也称单词符号或符号)。词法分析程序实现这个任务。词法分析程序可以使用Lex等工具自动生成-Lexical analysis, lexical analysis phase is to compile the first stage of the process is to compile the foundation. This
CompileSys
- VC++基于PL/0语言的词法、语法分析系统,测试文件以及源代码工程,从界面来看,貌似很专业。请注意要将编译后的可执行文件放到同一个目录下,否则调用会出错。程序仿VC的界面,调试和IDE环境做的不错。有心朋友请下载研究,这里不多说了。 -VC++ based on the PL/0 language, lexical, syntax analysis system, test files and source code project, from the interface point of
LexicalAnalyzer
- 词法分析源代码,输入c++程序,输出name,type-Lexical analysis of source code, input c++ program, the output name, type
Lexical-Analysis
- 北邮编译原理与技术,LL(1)语法分析程序-Compiler theory, LL (1) parsing program
