-
词法分析的程序设计
词法分析的程序设计- Lexical analysis programming
- 2023-01-01 21:20:03下载
- 积分:1
-
一个C编译器源码:编译器基本原理,词法分析,语义分析
一个C编译器源码:编译器基本原理,词法分析,语义分析-a C compiler source : compiler basic tenets of lexical analysis, semantic analysis, and so on
- 2022-01-26 03:08:49下载
- 积分: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
-
词法分析程序,这是一个词法分析程序,是在编译原理课编写下来的,经过多次修改。还能够分析对10+9e这样的单词。比较全面...
词法分析程序,这是一个词法分析程序,是在编译原理课编写下来的,经过多次修改。还能够分析对10+9e这样的单词。比较全面-lexical analysis, this is a lexical analysis procedure is compiled in principle prepared from the lesson, after several revisions. Also to analyze 10 9e of the word. More comprehensive
- 2022-06-01 00:11:00下载
- 积分:1
-
Standar Snake Using Pascal
Standar Snake Using Pascal
- 2022-04-23 09:14:45下载
- 积分:1
-
A realization of graphic drawing commands compiler can use the command to achiev...
一个实现图形绘画命令的编译程序,可利用命令来实现简单绘图.-A realization of graphic drawing commands compiler can use the command to achieve a simple drawing.
- 2022-05-25 11:05:00下载
- 积分:1
-
这是一个JAVA代码反编译程序,对需要反编译的人来说是一个值得学习的程序!...
这是一个JAVA代码反编译程序,对需要反编译的人来说是一个值得学习的程序!-This is a JAVA code decompile procedures need to decompile the people is a learning process!
- 2022-05-27 01:46:25下载
- 积分:1
-
一个小计算器的实现(编译原理),用Lex和bison
一个小计算器的实现(编译原理),用Lex和bison-Realize a small calculator (Principle compiler), with Lex and bison
- 2023-04-28 14:55:03下载
- 积分:1
-
M8控制cc2500,usb无线接口,游戏控制器.
可作为通用的游戏受柄.
M8控制cc2500,usb无线接口,游戏控制器.
可作为通用的游戏受柄.-M8 control cc2500, usb wireless interface, the game controller. Can be used as a universal game by the handle.
- 2022-06-13 15:06:12下载
- 积分:1
-
MyTC 5.4.1 原名TC for Windows,带编译、错误分析,还有TC学习、源码。免安装绿色版,不依赖于具体机器,适合复制到移动存储器(如U盘)上随...
MyTC 5.4.1 原名TC for Windows,带编译、错误分析,还有TC学习、源码。免安装绿色版,不依赖于具体机器,适合复制到移动存储器(如U盘)上随身携带!取消了注册限制-MyTC formerly TC 5.4.1 for Windows, with compiler, error analysis, TC learning source. Green-free version of the installation, is not dependent on specific machines, suitable for reproduction to mobile memory (such as USB drives), carry! Cancellation of registration restrictions
- 2022-02-18 16:21:58下载
- 积分:1