-
PL/0教学语言的编译程序原代码。
PL/0教学语言的编译程序原代码。-PL/0 teaching language compiler original code.
- 2022-03-10 12:25:48下载
- 积分:1
-
雏形java的解释器源码。配合flex和bison可以工作
雏形java的解释器源码。配合flex和bison可以工作-Embryonic java source of the interpreter. With flex and bison can work
- 2022-01-24 13:00:45下载
- 积分: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
-
C编译器源代码(超级牛b)
C编译器源代码(超级牛b)-C compiler source code (super cow b)
- 2022-03-19 16:59:42下载
- 积分:1
-
USB VHDL source code, supports Verilog HDL procedures
USB接口的VHDL源码,支持Verilog HDL程序-USB VHDL source code, supports Verilog HDL procedures
- 2022-02-01 18:09:49下载
- 积分:1
-
一个用C编写的#解释器,封闭的过程的完整的实现…
一个用C#编写的解释器,内附完整的实现过程以及源代码。-A used C# Prepared interpreter, enclosing the complete realization of the process, as well as source code.
- 2023-08-22 08:20:03下载
- 积分:1
-
#包括“定义。”
#include "define.h"
#include
#include
#include
#include
FILE *fp
/*//////////////////////////////////////////////////////////////////////////////
This is a pretreatment.
/////////////////////////////////////////////////////////////////////////////*/
void readIntoBuffer(char buffer[256])
{
char ch1
char temp
int i
for(i=0 i
- 2022-07-10 06:26:26下载
- 积分:1
-
不需要做任何修改的lex
不需要做任何修改的lex-yacc的demo,可以在parser generator或lex-bison下成功运行-Do not need to make any changes to the lex-yacc the demo, or a parser generator in the lex-bison successfully running
- 2022-01-26 07:36:44下载
- 积分:1
-
- 2023-08-16 20:45:03下载
- 积分:1
-
用数据库存储输出的单词符号表、单词表,用LIST,RICHEDIT控件实现单击关联事件。...
用数据库存储输出的单词符号表、单词表,用LIST,RICHEDIT控件实现单击关联事件。-database storage using the word output symbol table, the word table with LIST, click RICHEDIT Controls Association events.
- 2022-03-24 11:52:34下载
- 积分:1