-
一个c语言写的词法分析器和语法分析器的简单算法,适用于编译原理的初学者...
一个c语言写的词法分析器和语法分析器的简单算法,适用于编译原理的初学者-a written language lexical analyzer and parser simple algorithms, compiler theory applies to the beginners
- 2023-08-06 16:00:03下载
- 积分:1
-
在本编译程序中,源语言为PL/0语言,目标语言为假想栈式计算机的汇编语言.PL/0语言是Pascal语言的一个子集,PL/0的编译程序包括了对PL/0语言源程序...
在本编译程序中,源语言为PL/0语言,目标语言为假想栈式计算机的汇编语言.PL/0语言是Pascal语言的一个子集,PL/0的编译程序包括了对PL/0语言源程序进行分析处理、编译生成类PCODE代码,并在虚拟机上解释运行生成的类PCODE代码的功能。
PL/0语言编译程序采用以语法分析为核心、一遍扫描的编译方法。词法分析和代码生成作为独立的子程序供语法分析程序调用。语法分析的同时,提供了出错报告功能。在源程序没有错误编译通过的情况下,调用类PCODE解释程序解释执行生成的类PCODE代码。
该软件为PL/0语言编译程序,所实现的扩充功能如下:
1.增加单词:保留字 ELSE,FOR,TO, DOWNTO
2.增加运算 +=,-=,++,--
3.不等号# 改为
4.增加条件语句的ELSE子句
5.扩充语句:
①FOR := TO DO
②FOR := DOWNTO DO
其中,语句①的循环变量的步长为1,
语句②的循环变量的步长为-1。
概述
源文件: *.plo
目标文件: *.COD
实现平台:C++ Builder6.0
-the compiler, the source language of PL/0 language, target language of the imaginary stack of computer assembly language. PL/0 language Pascal language is a subset of, PL/0 compilers including the right PL/0 language source analysis, category PCODE compiler code generation and the virtual machine running on to explain the formation PCODE category code functions. PL/0 language compiler
- 2022-07-12 21:52:18下载
- 积分:1
-
实现登录,可以自由相应的登录方式接受编码
实现登录,可以自由相应的登录方式接受编码-To achieve log free to log on to receive treatment the corresponding coding
- 2022-04-07 07:18:22下载
- 积分:1
-
专门用来包装virtools文件的另一款工具,很好用的
专门用来包装virtools文件的另一款工具,很好用的-Dedicated to packaging virtools file another tool, a very good use
- 2022-01-29 00:37:51下载
- 积分:1
-
c语言写的basic词法分析器
c语言写的basic词法分析器-c language writes basic morphology analyzer
- 2022-09-28 07:55:03下载
- 积分:1
-
编译器,解释器构造,词法、语法、语义分析
编译器,解释器构造,词法、语法、语义分析-interpreter
- 2022-01-26 06:23:52下载
- 积分:1
-
c语言标准库函数速查手册电子版
c语言标准库函数速查手册电子版-c language standard storehouse function speed-searches the
handbook electron version
- 2022-08-20 13:42:45下载
- 积分:1
-
Willing to devote themselves willing to devote themselves willing to devote them...
乐于奉献 乐于奉献 乐于奉献 乐于奉献 乐于奉献-Willing to devote themselves willing to devote themselves willing to devote themselves willing to devote themselves willing to devote themselves willing to devote themselves willing to devote themselves willing to devote themselves
- 2022-07-16 19:58:32下载
- 积分:1
-
This was learned after compiling principle teacher
这是学了编译原理后在老师的帮助下,编的一个集词法,语法,语义于一体的分析其源码!可直接在VC6.0环境下运行。价值很高啊!
-This was learned after compiling principle teacher
- 2022-02-03 11:53:21下载
- 积分:1
-
编译原理课后答案,很全很好的可以参考
编译原理课后答案,很全很好的可以参考编译原理课后答案,很全很好的可以参考...
编译原理课后答案,很全很好的可以参考
编译原理课后答案,很全很好的可以参考编译原理课后答案,很全很好的可以参考-Compiler Construction Principles after-school answer, it is all a very good compiler theory can refer to after-school answer, it is all a very good compiler theory can refer to after-school answer, it can refer to the whole a very good
- 2022-08-13 11:47:46下载
- 积分:1