-
在本编译程序中,源语言为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
-
矢量图编辑器,其中的一个源代码,运行环境win32
矢量图编辑器,其中的一个源代码,运行环境win32-Vector Graphics Editor, in which a source code, run the win32 environment
- 2022-03-01 14:45:53下载
- 积分:1
-
C程序的二项式概率分布。
C programm for Binomial probability distribution.
- 2022-07-27 17:04:15下载
- 积分:1
-
编译原理 课程设计报告: 预测分析表的构造
编译原理 课程设计报告: 预测分析表的构造- The translation principle curriculum designs reported that,
Forecasts the analytical table the structure
- 2023-04-26 17:00:03下载
- 积分:1
-
用C写的十分精巧的XML实现程序库,包括简单的示例程序
用C写的十分精巧的XML实现程序库,包括简单的示例程序-Using C to write very sophisticated realize XML library, including examples of simple procedures
- 2022-07-22 11:40:39下载
- 积分:1
-
教你怎样使用VI编辑器,没有解压密码,很不错
教你怎样使用VI编辑器,没有解压密码,很不错-teach you how to use the VI editor, not extracting passwords, very good
- 2022-02-13 08:05:32下载
- 积分:1
-
一个读单词过程,从输入的源程序中,识别出各个具有独立意义的单词,即基本保留字、标识符、常数、运算符、分隔符五大类。并依次输出各个单词的内部编码及单词符号自身值。...
一个读单词过程,从输入的源程序中,识别出各个具有独立意义的单词,即基本保留字、标识符、常数、运算符、分隔符五大类。并依次输出各个单词的内部编码及单词符号自身值。(-read a word process, from the import of the source to identify all the independent significance of the word, that is to retain the basic character identifier, constant, Operators, separated top-five. Output and followed all the internal code words and symbols own words value. (
- 2023-03-20 00:35:03下载
- 积分:1
-
htp是一个HTML预处理器。页面可以用htp扩展的类HTML的宏编写。这可以简化维护一个一致外观的Web页面集....
htp是一个HTML预处理器。页面可以用htp扩展的类HTML的宏编写。这可以简化维护一个一致外观的Web页面集.-htp is a HTML pretreatment. The page may use the kind of HTML
great compilation which htp expands. This may simplify maintains a
consistent outward appearance the Web page collection
- 2022-03-14 09:42:38下载
- 积分:1
-
AtScript 1.1 一个很好用的脚本引擎,可以很方便的在你的软件中实现脚本功能,支持用户扩展对象...
AtScript 1.1 一个很好用的脚本引擎,可以很方便的在你的软件中实现脚本功能,支持用户扩展对象-AtScript 1.1 script with a good engine, can be very convenient in your software realize the script function, support the expansion of the target users
- 2023-07-26 15:05:03下载
- 积分:1
-
摩托罗拉l7播放时mp3乱码歌名修改器.
摩托罗拉l7播放时mp3乱码歌名修改器.-mp3 player when title changes for gibberish.
- 2022-08-06 03:37:52下载
- 积分:1