-
编译原理
编译原理-文法等价转换-compiler theory- grammar Conversion
- 2022-01-31 01:05:59下载
- 积分:1
-
这里以开始定义的PASCAL语言子集的源程序作为词法分析程序的输入数据。在词法分析中,自文 件头开始扫描源程序字符,一旦发现符合“单词”定义的源程序字符串时,将...
这里以开始定义的PASCAL语言子集的源程序作为词法分析程序的输入数据。在词法分析中,自文 件头开始扫描源程序字符,一旦发现符合“单词”定义的源程序字符串时,将它翻译成固定长度的单 词内部表示,并查填适当的信息表。经过词法分析后,源程序字符串(源程序的外部表示)被翻译成 具有等长信息的单词串(源程序的内部表示),并产生两个表格:常数表和标识符表,它们分别包含 了源程序中的所有常数和所有标识符。- Here starts the PASCAL language subset source program which
defines to take the lexical analyaer the data-in. In the lexical
analysis, starts from the article article to scan the source program
character, once discovered when conforms to "the word" the definition
source program character string, translates it the fixed length the
word interior to indicate, and looks up fills in the suitable
information table. After the lexical analysis, the source program
character string (source program exterior expression) is translated
has and so on the long information the word string (source program
internal expression), and produces two forms: The chart and the
identifier table, they have separately contained in source program all
constants and all identifiers.
- 2022-03-30 16:56:06下载
- 积分:1
-
现将本人搜集常用的程序设计语言的词法和形式文法提供给大家。其中,词法是按LEX格式编辑,形式文法是按YACC格式书写,大家可直接用LEX和YACC工具编译生成各...
现将本人搜集常用的程序设计语言的词法和形式文法提供给大家。其中,词法是按LEX格式编辑,形式文法是按YACC格式书写,大家可直接用LEX和YACC工具编译生成各类程序设计语言的分析器。-commonly used programming language syntax and grammar forms to the public. Among them, morphology is based on LEX format editing, grammar form is written by YACC format, we can use the LEX and YACC tools various compiler generation programming language analyzer.
- 2023-02-14 16:15:03下载
- 积分:1
-
一个使用Lex编写的C语言词法加亮的小程序。能将指定的C源程序进行词法加亮,并以HTML文件的格式输出。 由Lex的C语言词法分析程序,然后使用VC编译,内附较...
一个使用Lex编写的C语言词法加亮的小程序。能将指定的C源程序进行词法加亮,并以HTML文件的格式输出。 由Lex的C语言词法分析程序,然后使用VC编译,内附较详细的使用说明。-Lex prepared to use a C-plus morphology of small programs. Can designated source for the C-plus morphology, and the HTML file format. Lex from the C language lexical analysis procedure and then use the VC compiler, enclosing a more detailed usage instructions.
- 2022-03-02 01:56:36下载
- 积分:1
-
语义分析器,将语义分析程序编制成子程序,在语法分析器分析出各语法单位后,分析其含义,并将可执行语句或表达式翻译为四元式输出,并将错误信息输出。...
语义分析器,将语义分析程序编制成子程序,在语法分析器分析出各语法单位后,分析其含义,并将可执行语句或表达式翻译为四元式输出,并将错误信息输出。-Semantic analyzer, semantic analysis program compiled subroutines, in the parser analyzes the syntax of the unit, analyze its meaning, and translated into an executable statement or expression quaternary-output, and error information output.
- 2022-01-25 18:46:19下载
- 积分:1
-
一个程序,用于判定给定的文法是否为算符优先文法。 实现了:1.文法的机内表示;2. FIRSTVT集和LASTVT集的计算; 3. 算符优先关系矩阵的构造。...
一个程序,用于判定给定的文法是否为算符优先文法。 实现了:1.文法的机内表示;2. FIRSTVT集和LASTVT集的计算; 3. 算符优先关系矩阵的构造。-a procedure for the determination of grammar to whether the operator priority to grammar. Realized : 1. Grammar said the machines; 2. LASTVT FIRSTVT sets and set computing; 3. Operator precedence relations of the matrix structure.
- 2022-02-18 16:37:46下载
- 积分:1
-
第一次哦,不好不说哦,不好怪自己哈
。
第一次哦,不好不说哦,不好怪自己哈
。-first Oh, oh, not bad, not blaming themselves Kazakhstan.
- 2023-03-17 20:50:03下载
- 积分:1
-
The use of C/C++ language as the implementation language, to achieve a simple PL...
使用C/C++语言作为实现语言,实现一个简单PL/0语言的编译器。手工编码实现编译器的组成部分。语法分析程序采用递归下降分析法。-The use of C/C++ language as the implementation language, to achieve a simple PL/0 language compiler. Hand-coding part of the compiler. Parser uses recursive descent analysis.
- 2023-03-06 02:05:03下载
- 积分:1
-
C++编写的Pascal词法分析器
C++编写的Pascal词法分析器-C compilation Pascal morphology analyzer
- 2023-05-05 20:00:02下载
- 积分:1
-
陈火旺《编译原理》课后习题答案,是第三版的答案
陈火旺《编译原理》课后习题答案,是第三版的答案-Chen Huo-wang, " Compiler Principle" Exercise after-school answer, the answer is the third edition of
- 2022-07-11 10:08:13下载
- 积分:1