-
编译原理课程设计,用C写的PL/0编译器,有详细的文档和代码
编译原理课程设计,用C写的PL/0编译器,有详细的文档和代码-compiler theory curriculum design, the C write PL/0 compiler, a detailed documentation and code
- 2022-03-13 18:23:16下载
- 积分:1
-
一个简单实现了词法分析,语法分析,目标代码优化的编译器...
一个简单实现了词法分析,语法分析,目标代码优化的编译器-a simple realization of the lexical analysis, grammar analysis, the objectives of optimizing code compiler
- 2023-02-20 11:25:03下载
- 积分:1
-
为了实现编译器的实用,可自由编写源代码…
为了实现的编译程序实用,源程序可采用自由书写格式,即一行内可以书写多个语句,一个语句也可以占领多行书写;标识符的前20个字符有效;整数用2个字节表示;长整数用4个字节表示。这样词法分析程序的主要工作为:
(1)从源程序文件中读入字符。
(2)统计行数和列数用于错误单词的定位。
(3)删除空格类字符,包括回车、制表符空格。
(4)按拼写单词,并用(种别,单词)二元式表示。
(5)根据需要是否填写标识符表供以后各阶段使用。
这里采用的编译程序的实现方法是一遍扫描,即从左到右只扫描一次源程序,也就是词法分析作为语法分析的一个子程序。故在编写词法分析程序时,用重复调用词法分析子程序取一单词的方法得到整个源程序的二元式流。
-in order to achieve the compiler practical, available free to write source code format, that his writing can be more than words, a statement can occupy multiple lines written; identifier of 20 characters effective; Integer with two byte; long integer with four byte. This lexical analysis for major work : (1) from source document read into the characters. (2) Statistics and a few mistakes out a few words for positioning. (3) delete the blank type characters, including the carriage return, tab spaces. (4) the spelling words and use (other species, words) dual ceremony. (5) whether the need for completing the table identifier subsequent stages. Here the compilers of th
- 2022-01-23 11:14:40下载
- 积分:1
-
(1)构造文法G的LR(0)项目
(2)构造文法G的LR(0)项目集规范族及识别活前缀的DFA
(3)证明文法G不是LR(0)文法而是SLR(1)文法,...
(1)构造文法G的LR(0)项目
(2)构造文法G的LR(0)项目集规范族及识别活前缀的DFA
(3)证明文法G不是LR(0)文法而是SLR(1)文法,并构造SLR(1)分析表
(4)设计LR语法分析程序,且能输出分析过程
(5)列举两个例子测试语法分析程序(识别失败一例,识别成功一例,后者推导步骤不得少于10步)
-(1) construct grammar G of the LR (0) item (2) construct grammar G of the LR (0) item sets standards and identification of family living prefix DFA (3) prove that the grammar G is not LR (0) grammar, but the SLR (1 ) grammar, and constructs SLR (1) analysis table (4) design LR parser, and can output analysis process (5) cited two examples of parsing test procedures (identification fails an example, identify the success of a case, the latter shall not be derived step Less than 10 steps)
- 2022-05-16 14:03:06下载
- 积分:1
-
ex4用于MT4软件,临时文件。ex4文件重新编译程序…
ex4是用于mt4软件的临时文件。ex4文件反编译程序,用于还原源码,就这些了-ex4 is used for mt4 software, temporary files. decompile ex4 file program for restoring source code, that" s all
- 2022-08-19 09:30:59下载
- 积分:1
-
一个14岁的小孩写的D++编译器,很厉害哦
一个14岁的小孩写的D++编译器,很厉害哦-A 14-year-old child wrote D++ Compiler, very powerful, oh
- 2022-02-03 00:54:26下载
- 积分:1
-
LEX程序 用来生成词法分析器
LEX程序 用来生成词法分析器-LEX procedure uses for to produce the morphology analyzer
- 2023-07-16 11:55:03下载
- 积分: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
-
java文件注释过滤器,将文件中的注释过滤掉.
java文件注释过滤器,将文件中的注释过滤掉.-java document filters, the document notes strip.
- 2022-06-30 22:17:57下载
- 积分:1
-
一个简单的C语言编译器
一个简单的C语言编译器-a simple C language compiler
- 2022-01-26 00:17:31下载
- 积分:1