-
Yacc例子代码
Yacc例子代码-Yacc example code
- 2022-03-07 16:30:57下载
- 积分: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
-
经典的java语言分析器
经典的java语言分析器-Classic java language analyzer
- 2022-07-18 21:57:54下载
- 积分:1
-
魔王语言 改进班的
魔王语言 改进班的 -fiendish language classes to improve
- 2022-03-18 01:28:48下载
- 积分:1
-
语法分析
语法分析―在词法分析的基础上分析表达式-syntax analysis-in lexical analysis on the basis of analysis of expression
- 2023-03-19 09:25:03下载
- 积分:1
-
M8控制cc2500,usb无线接口,游戏控制器.
可作为通用的游戏受柄.
M8控制cc2500,usb无线接口,游戏控制器.
可作为通用的游戏受柄.-M8 control cc2500, usb wireless interface, the game controller. Can be used as a universal game by the handle.
- 2022-06-13 15:06:12下载
- 积分:1
-
shpf 1.9一个并行编译器,自动的将串行fortran程序转换成并行的mpi程序。...
shpf 1.9一个并行编译器,自动的将串行fortran程序转换成并行的mpi程序。-shpf 1.91 parallel compilers, are automatic transform the
serial fortran procedure the parallel mpi procedure.
- 2022-08-15 05:55:49下载
- 积分:1
-
本程序用于语法分析
本程序用于语法分析-procedures for the analysis of syntax
- 2022-01-26 05:42:54下载
- 积分:1
-
pl/0, the compilation of principles, Tsinghua second edition. c++ realize the
pl/0,汇编原理、清华第二版。c++实现的-pl/0, the compilation of principles, Tsinghua second edition. c++ realize the
- 2022-02-10 02:02:03下载
- 积分:1
-
该文件主要是一个编译原理函数语言绘图器,可以利用起来翻译图象代码...
该文件主要是一个编译原理函数语言绘图器,可以利用起来翻译图象代码-the document is mainly a function of compiler theory language mapping device that can use up images code translation
- 2022-07-09 15:32:52下载
- 积分:1