-
用汇编和C写的32位C语言编译器,支持C++,也可编译Windows程序和DLL文件...
用汇编和C写的32位C语言编译器,支持C++,也可编译Windows程序和DLL文件- 32 C language compiler write which with the assembly and C,
supports C, also may translate the Windows procedure and the DLL
document
- 2022-02-21 14:46:37下载
- 积分:1
-
一个简单的编译源程序
一个简单的编译源程序-a simple compiler source
- 2022-10-07 14:45:03下载
- 积分:1
-
Reorganizes unix v7 ya
整理 unix v7 的 ya- Reorganizes unix v7 ya
- 2022-03-04 16:01:54下载
- 积分:1
-
词法分析的小程序,对学编译原理的同学是个好例子
词法分析的小程序,对学编译原理的同学是个好例子-lexical analysis of small programs, compiler theory for school students is a good example
- 2022-01-29 04:13:52下载
- 积分:1
-
c写的plo源程序,包括词法分析,语法分析,语义分析,可以通过vc++6.0编译...
c写的plo源程序,包括词法分析,语法分析,语义分析,可以通过vc++6.0编译-c write plo source, including lexical analysis, syntax analysis, semantic analysis, can vc++ 6.0 compiler
- 2022-02-07 13:27:22下载
- 积分:1
-
词法分析的浏览单词程序,很不错的。支持哦!
词法分析的浏览单词程序,很不错的。支持哦!-Lexical Analysis of browsing word process, very good. In support of Oh!
- 2022-09-12 03:15:04下载
- 积分: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
-
vc实现的pl0编译器,有读取输出功能
vc实现的pl0编译器,有读取输出功能-read() -write(),这个源码对初学编译原理者有很好的指导作用,我当初学的时候用了3天看懂了源码,也对编译原理更加理解了,毕竟只学理论不看代码是不可能真正理解的,原作者是dwing,我对代码做了一些修改,在此感谢dwing提供的代码-vc achieve pl0 compiler, a reader output- read ()- write (), the source for beginners compiler principles are very good role in guiding, I had time to study the use of three days to read the source code, but also to build a greater understanding of the tenets of all, the theory is not see the code is impossible to truly understand the original author dwing yes, I made some code changes like to thank the code dwing
- 2022-10-10 13:20:03下载
- 积分:1
-
本程序实现了mini pascal的一个编译的总过程。
本程序实现了mini pascal的一个编译的总过程。-the process of achieving a mini pascal translation of the total process.
- 2022-03-15 07:54:42下载
- 积分:1
-
一个程序,用于判定给定的文法是否为算符优先文法。 实现了:1.文法的机内表示;2. FIRSTVT集和LASTVT集的计算; 3. 算符优先关系矩阵的构造。...
一个程序,用于判定给定的文法是否为算符优先文法。 实现了:1.文法的机内表示;2. FIRSTVT集和LASTVT集的计算; 3. 算符优先关系矩阵的构造。-a procedure for the determination of grammar to whether the operator priority to grammar. Realized : 1. Grammar said the machines; 2. LASTVT FIRSTVT sets and set computing; 3. Operator precedence relations of the matrix structure.
- 2022-02-18 16:37:46下载
- 积分:1