-
一个词法分析程序,可以实现输入C源程序,输出二元式
一个词法分析程序,可以实现输入C源程序,输出二元式-a lexical analysis procedures, can achieve the importation of C source files, binary output-
- 2023-04-25 04:20:03下载
- 积分: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
-
一个非常好的公式解析控件,没见过比这好的,支持自定义变量。为了上此站,才第一次拿出来...
一个非常好的公式解析控件,没见过比这好的,支持自定义变量。为了上此站,才第一次拿出来-a very good formula Analytical Controls and have never seen than this good support from the definition of variables. To this point on, the first time out
- 2022-05-06 22:40:53下载
- 积分:1
-
一个免费的编译器的原代码,用于学习lex和
一个FREE编译器原码,用于学习LEX和YA- A FREE compiler original code, uses in to study LEX and
YA
- 2022-02-25 07:07:35下载
- 积分:1
-
The use of C/C++ language as the implementation language, to achieve a simple PL...
使用C/C++语言作为实现语言,实现一个简单PL/0语言的编译器。手工编码实现编译器的组成部分。语法分析程序采用递归下降分析法。-The use of C/C++ language as the implementation language, to achieve a simple PL/0 language compiler. Hand-coding part of the compiler. Parser uses recursive descent analysis.
- 2023-03-06 02:05:03下载
- 积分:1
-
自己写的Bacis解释机。
可以正常运行!
自己写的Bacis解释机。
可以正常运行!-Bacis written explanation of their own machines. Normal operation can be!
- 2022-08-20 06:22:10下载
- 积分:1
-
编译原理的课程设计,if
编译原理的课程设计,if-else条件语句的翻译,包括语法分析和词法分析。-compiler theory of curriculum design, if-else statements for the translation, grammatical analysis and lexical analysis.
- 2022-01-26 15:25:08下载
- 积分:1
-
这是一个此法分析器的手工构造实例,程序很简洁。
这是一个此法分析器的手工构造实例,程序很简洁。-This is a method of manual analyzer tectonic example, a very simple procedure.
- 2022-07-17 21:34:47下载
- 积分:1
-
使用lex和yacc实现程序计算器
用Lex和Yacc实现计算器的例程-with Lex and Yacc achieve the routines Calculator
- 2022-02-16 08:42:12下载
- 积分:1
-
timer for pool on ATTiny 2313
timer for pool on ATTiny 2313
- 2022-08-26 05:04:51下载
- 积分:1