-
编译原理课程的试验中的语法分析部分,程序比较长,附带报告...
编译原理课程的试验中的语法分析部分,程序比较长,附带报告-compiler theory courses in grammar test analysis, long procedures, fringe report
- 2023-08-06 01:10: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
-
do-while循环编译器设计,用C++语言编写的源代码.-do-while cycle compiler design, C++ languages source code.
- 2022-10-25 20:55:03下载
- 积分:1
-
c compiler full page, but I do not have the translation to pass,
everybody excha...
c编译器的较完整版,可是我没编译通过,大家一起来交流哦-c compiler full page, but I do not have the translation to pass,
everybody exchanges together oh
- 2022-03-10 21:44:45下载
- 积分:1
-
PL/0教学语言的编译程序原代码。
PL/0教学语言的编译程序原代码。-PL/0 teaching language compiler original code.
- 2022-03-10 12:25:48下载
- 积分:1
-
Lin bus configuration for pic microcontrollers.
written in CCS C
Lin bus configuration for pic microcontrollers.
written in CCS C-compiler
- 2022-08-18 19:59:48下载
- 积分:1
-
一个很好的编译工具
一个很好的编译工具- A very good translation tool
- 2022-02-14 19:21:52下载
- 积分:1
-
武汉理工大学计算机学院编译原理课程设计之DO
武汉理工大学计算机学院编译原理课程设计之DO-WHILE语句的翻译程序设计-Wuhan Polytechnic University computer science theory courses compiler design DO-WHILE statement to the translation program design
- 2023-08-08 03:55:03下载
- 积分:1
-
小型对delphi编译器包括语法语义及词法
小型对delphi编译器包括语法语义及词法- Small to delphi compiler including grammar semantics and
morphology
- 2022-06-11 13:19:49下载
- 积分:1
-
一个小翻译用C++语言编的,可以
用C语言编的一个小解释器,可以执行C程序的!算是可以执行C程序的C程序吧! (大师)写的哦!- A small interpreter arranges which with the C language, may
carry out the C procedure! Is may carry out C the procedure C
procedure! (Master) writes oh!
- 2022-05-22 18:44:48下载
- 积分:1