-
这里以开始定义的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
-
《编译原理实践教程》中的程序作了一些扩展,可以将程序转化成四元式。 本人认为书上的程序极为垃圾!
《编译原理实践教程》中的程序作了一些扩展,可以将程序转化成四元式。 本人认为书上的程序极为垃圾!- "Translation Principle Practice Course" the center procedure
has made some expansions, may transform the procedure four Yuan types.
Myself think in the book procedure extremely trash!
- 2023-06-16 23:55:03下载
- 积分:1
-
make文件自动生成器,可生成多种编译器的make文件
make文件自动生成器,可生成多种编译器的make文件-make document automatic production, may produce the many
kinds of compilers the make document
- 2022-07-03 13:39:41下载
- 积分:1
-
用语法分析器编写的语法和词法分析
用c编写的语法解析器,能进行词法和语法分析-c prepared with the parser can make grammatical and lexical analysis
- 2022-02-04 01:25:04下载
- 积分:1
-
简单的词法分析器 编译课程综合训练 java语言
简单的词法分析器 编译课程综合训练 java语言 -Simple lexical analyzer to compile a comprehensive training course java language
- 2022-03-20 11:20:02下载
- 积分:1
-
一个小型词法分析器,我编译课的课堂作业!
一个小型词法分析器,我编译课的课堂作业!-a small lexical analyzer, I compile a classroom course work!
- 2022-04-29 13:03:06下载
- 积分:1
-
编译原理的词法分析程序
编译原理的词法分析程序-compiler tenets of lexical analysis procedure
- 2022-02-13 14:30:53下载
- 积分:1
-
implementation of multiple inheritance un c
implementation of multiple inheritance un c-implementation of multiple inheritance un c++
- 2022-03-16 21:11:22下载
- 积分:1
-
of the document infile outfile read into output documents, infile outfile to com...
通过对文档infile的读入 输出outfile的文件,outfile将infile中的编译语句分类组织-of the document infile outfile read into output documents, infile outfile to compile the statement classification
- 2022-01-26 02:24:03下载
- 积分:1
-
一个小计算器的实现(编译原理),用Lex和bison
一个小计算器的实现(编译原理),用Lex和bison-Realize a small calculator (Principle compiler), with Lex and bison
- 2023-04-28 14:55:03下载
- 积分:1