-
- 2022-02-11 19:46:34下载
- 积分:1
-
编译原理源代码 以及实验描述 找了很久才找到的
编译原理源代码 以及实验描述 找了很久才找到的-Compiler Construction Principles and experimental description of the source code looking for a long time to find the
- 2022-09-07 15:15:03下载
- 积分:1
-
词法分析,功能齐全,简单实用,绝对的好程序,是学好编译原理的好帮手!...
词法分析,功能齐全,简单实用,绝对的好程序,是学好编译原理的好帮手!-Lexical Analysis
- 2022-06-30 14:44:36下载
- 积分:1
-
一个可以识别C语言中标识符,关健字,运算符和各种数字的词法分析器.用VC6.0编写的. 下面是主要代码...
一个可以识别C语言中标识符,关健字,运算符和各种数字的词法分析器.用VC6.0编写的. 下面是主要代码- May distinguish in the C language the identifier, Guan Jianzi,
the operator and each kind of digital morphology analyzer Compiles
with VC6.0 Under is the main code..
- 2022-06-12 11:47:53下载
- 积分: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
-
一个读单词过程,从输入的源程序中,识别出各个具有独立意义的单词,即基本保留字、标识符、常数、运算符、分隔符五大类。并依次输出各个单词的内部编码及单词符号自身值。...
一个读单词过程,从输入的源程序中,识别出各个具有独立意义的单词,即基本保留字、标识符、常数、运算符、分隔符五大类。并依次输出各个单词的内部编码及单词符号自身值。(-read a word process, from the import of the source to identify all the independent significance of the word, that is to retain the basic character identifier, constant, Operators, separated top-five. Output and followed all the internal code words and symbols own words value. (
- 2023-03-20 00:35:03下载
- 积分:1
-
compiler theory word recognition
编译原理单词识别-compiler theory word recognition
- 2022-02-06 05:32:45下载
- 积分:1
-
The Guangzhou public transportation vehicle line inquires
广州公交车线路查询- The Guangzhou public transportation vehicle line inquires
- 2022-04-07 12:20:44下载
- 积分:1
-
单词频率统计,再次基础上可以开展更广泛的工作
单词频率统计,再次基础上可以开展更广泛的工作- The word frequency statistics, in the foundation may do a more
widespread work once more
- 2022-03-30 19:35:53下载
- 积分:1
-
itis a program to solve the lexical expressions .its efficeincy is very good in...
itis a program to solve the lexical expressions .its efficeincy is very good in solving the expressions-itis a program to solve the lexical expressions .its efficeincy is very good in solving the expressions...
- 2023-07-20 13:40:03下载
- 积分:1