-
PASCAL语言子集编译器,足够计算机系的学生交作业用了
PASCAL语言子集编译器,足够计算机系的学生交作业用了-PASCAL language subset compiler, the enough computer
department s students handed over the work to use
- 2022-04-19 21:18:31下载
- 积分:1
-
Tiny Machine的源码,一个简单易学习的
Tiny Machine的源码,一个简单易学习的-Tiny Machine source code, simple is easy the east which
studies east
- 2023-01-19 15:15:03下载
- 积分:1
-
词法分析程序。用于词法分析器的制作与应用。
词法分析程序。用于词法分析器的制作与应用。-lexical analysis procedure. Lexical analyzer for the production and application.
- 2022-03-24 12:45:44下载
- 积分:1
-
编译原理的课程设计,if
编译原理的课程设计,if-else条件语句的翻译,包括语法分析和词法分析。-compiler theory of curriculum design, if-else statements for the translation, grammatical analysis and lexical analysis.
- 2022-01-26 15:25:08下载
- 积分:1
-
小程序,编程的EEPROM编程
Pony Prog, programa para programar eeprom
- 2022-03-25 18:37:21下载
- 积分:1
-
H++编译器: 一个仿Pascal语言的编译器
H++编译器: 一个仿Pascal语言的编译器-H compiler : an imitation of the Pascal language compiler
- 2022-01-25 23:10:09下载
- 积分:1
-
很初级的,我们刚刚开编译原理
很初级的,我们刚刚开编译原理- Very primary, we just opened the translation principle
- 2022-02-05 15:19:17下载
- 积分:1
-
PL/0语言可以看成PASCAL语言的子集,它的编译程序是一个编译解释执行系统。PL/0的目标程序为假想栈式计算机的汇编语言,与具体计算机无关。...
PL/0语言可以看成PASCAL语言的子集,它的编译程序是一个编译解释执行系统。PL/0的目标程序为假想栈式计算机的汇编语言,与具体计算机无关。-PLO
- 2022-06-27 02:22:10下载
- 积分: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
-
编译原理LR(0)文法分析器 录入合法的LR(0)文法,将输出LR(0)分析表,并可以对输入的句子进行语法分析输出相应语法树。 程序中部分算法还很不简洁,有待改...
编译原理LR(0)文法分析器 录入合法的LR(0)文法,将输出LR(0)分析表,并可以对输入的句子进行语法分析输出相应语法树。 程序中部分算法还很不简洁,有待改进,欢迎朋友与我多多交流。- Translation principle LR (0) grammar analyzer input legitimate
LR (0) the grammar, will output LR (0) the analytical table, and will
be allowed to carry on the grammar analysis output corresponding
grammar tree to the input sentence. In the procedure the partial
algorithms very are not succinct, await improvements, welcome the
friend and my many exchanges.
- 2022-05-17 18:31:19下载
- 积分:1