-
在本编译程序中,源语言为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
-
ldpc译码器 目前通信系统中很多标准都在采用ldpc码,所以他很重要...
ldpc译码器 目前通信系统中很多标准都在采用ldpc码,所以他很重要-LDPC decoder, many of the current communication system standards in the use of LDPC code, so he is very important
- 2022-08-12 20:26:57下载
- 积分:1
-
这是一个PLO的编译器,是编译原理课程设计的一个很好的内容
这是一个PLO的编译器,是编译原理课程设计的一个很好的内容-This is a compiler of the PLO, is to compile the curriculum design principle a good content
- 2023-01-16 23:25:03下载
- 积分:1
-
一个非常好的公式解析控件,没见过比这好的,支持自定义变量。为了上此站,才第一次拿出来...
一个非常好的公式解析控件,没见过比这好的,支持自定义变量。为了上此站,才第一次拿出来-a very good formula Analytical Controls and have never seen than this good support from the definition of variables. To this point on, the first time out
- 2022-05-06 22:40:53下载
- 积分:1
-
一个类C词法分析程序
一个类C词法分析程序-a Class C lexical analysis procedure
- 2022-03-07 00:43:54下载
- 积分:1
-
原理实验1源文件,编译输入输出,2个词法…
编译原理实验一源文件的输入输出、
二词法分析-Principle Experiment 1 source file to compile the input and output, two lexical analysis
- 2022-06-03 12:40:32下载
- 积分:1
-
PL/0教学语言的编译程序原代码。
PL/0教学语言的编译程序原代码。-PL/0 teaching language compiler original code.
- 2022-03-10 12:25:48下载
- 积分:1
-
c语言写的basic词法分析器
c语言写的basic词法分析器-c language writes basic morphology analyzer
- 2022-09-28 07:55:03下载
- 积分:1
-
this a pack include source code for quartus 2.
It is an implementation of t...
this a pack include source code for quartus 2.
It is an implementation of the LC2. The LC-2 computer is described in Introduction to Computing Systems from Bits & Gates to C & Beyond by Yale Patt and Sanjay Patel, McGraw Hill, 2001. The LC2 model can be run as a simulation or downloaded to the UP3 in a larger model, TOP_LC2 that adds video output. Push buttons reset and single step the processor and a video output display of registers is generated. This state machine VHDL-based model of the LC-2 includes all source files. Currently compiled for a Cyclone EP1C6Q240 FPGA.
- 2022-03-21 20:11:09下载
- 积分:1
-
not look good but it is ll1 parser dedicated novice can s
不是很好 但可以看看 是ll1语法分析器专用的 新手可以-not look good but it is ll1 parser dedicated novice can s
- 2023-03-21 02:35:03下载
- 积分:1