-
编译原理豪华版的编写程序,用的是用!
编译原理豪华版程序用VC++编写-compiler theory luxury version of the preparation procedures with VC!
- 2022-01-24 16:45:01下载
- 积分:1
-
这里以开始定义的PASCAL语言子集的源程序作为词法分析程序的输入数据。在词法分析中,自文 件头开始扫描源程序字符,一旦发现符合“单词”定义的源程序字符串时,将...
这里以开始定义的PASCAL语言子集的源程序作为词法分析程序的输入数据。在词法分析中,自文 件头开始扫描源程序字符,一旦发现符合“单词”定义的源程序字符串时,将它翻译成固定长度的单 词内部表示,并查填适当的信息表。经过词法分析后,源程序字符串(源程序的外部表示)被翻译成 具有等长信息的单词串(源程序的内部表示),并产生两个表格:常数表和标识符表,它们分别包含 了源程序中的所有常数和所有标识符。- Here starts the PASCAL language subset source program which
defines to take the lexical analyaer the data-in. In the lexical
analysis, starts from the article article to scan the source program
character, once discovered when conforms to "the word" the definition
source program character string, translates it the fixed length the
word interior to indicate, and looks up fills in the suitable
information table. After the lexical analysis, the source program
character string (source program exterior expression) is translated
has and so on the long information the word string (source program
internal expression), and produces two forms: The chart and the
identifier table, they have separately contained in source program all
constants and all identifiers.
- 2022-03-30 16:56:06下载
- 积分:1
-
C language compiler source code, small c for dos
C语言编译器源代码,small c for dos-C language compiler source code, small c for dos
- 2022-01-21 04:57:12下载
- 积分:1
-
小型编译器的课程设计实例哦 值得一看的
小型编译器的课程设计实例哦 值得一看的-A example of course design of minitype compiler.it bear watching.
- 2022-10-03 02:20:03下载
- 积分:1
-
词法分析器,用编译原理知识设计一个词法分析器。此程序运行并且通过。
vc运行...
词法分析器,用编译原理知识设计一个词法分析器。此程序运行并且通过。
vc运行-Lexical analyzer, using the principle of knowledge to design a compiler lexical analyzer. This program runs through. vc run
- 2022-03-11 02:05:37下载
- 积分:1
-
PLO编译器 vc++编写界面美观 人性化 可用与分析研究
PLO编译器 vc++编写界面美观 人性化 可用与分析研究 -PLO compiler vc prepared beautiful interface can be humanized and analysis
- 2022-06-11 12:07:48下载
- 积分:1
-
自己编的一个小程序,供大家参考,有不足之处请提意见。
自己编的一个小程序,供大家参考,有不足之处请提意见。-A small program is writed by myself,supply with you,please give me opinion.
- 2022-03-03 08:45:28下载
- 积分:1
-
一个反汇编程序源码
一个反汇编程序源码- A counter- assembly program source code
- 2022-12-31 18:40:05下载
- 积分: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
-
CMINUS写在C语言的语法分析器,用递归下降法
C语言编写的cminus语言语法分析器,采用递归下降方法-Cminus written in C language parser, using recursive descent method
- 2023-05-13 01:25:03下载
- 积分:1