-
About lex with which sends document
一个关于lex用发的document- About lex with which sends document
- 2022-07-15 18:41:02下载
- 积分:1
-
设计、编制并调式一个词法分析程序,加深对词法分析原理的理解,对字符串型单词符号(if,then,while,do...
设计、编制并调式一个词法分析程序,加深对词法分析原理的理解,对字符串型单词符号(if,then,while,do----)等等用函数int reserve(char* p)来处理,对单词符号(+,-,*,/,=-----)等等用switch()来处理。-cifafenxi
- 2023-03-11 22:50:04下载
- 积分:1
-
编译原理实验中的实验指导书,详细介绍了实验环境设置等,和详细源码...
编译原理实验中的实验指导书,详细介绍了实验环境设置等,和详细源码-Compilation Principle experiment experimental instructions, detailing the experimental environment settings and so on, and detailed source
- 2022-03-21 16:06:30下载
- 积分: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
-
该文件主要是一个编译原理函数语言绘图器,可以利用起来翻译图象代码...
该文件主要是一个编译原理函数语言绘图器,可以利用起来翻译图象代码-the document is mainly a function of compiler theory language mapping device that can use up images code translation
- 2022-07-09 15:32:52下载
- 积分: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
-
BANYAN emulator driver support USB 2.0/USB1.1 support Win2000/WinXP support SDT...
BANYAN仿真器的驱动
支持USB 2.0/USB1.1
支持Win2000/WinXP
支持SDT 2.51, ADS 1.2, RVDS,Multi2000, CodeWarrior, IAR,GDB/Insight源代码级调试
支持ARM7/ARM9/XScale系列CPU 支持CPU内核类型自动检测 支持多ARM内核处理器
-BANYAN emulator driver support USB 2.0/USB1.1 support Win2000/WinXP support SDT 2.51, ADS 1.2, RVDS, Multi2000, CodeWarrior, IAR, GDB/Insight source-level debugging support ARM7/ARM9/XScale Series CPU core CPU support automatically detect the type of ARM to support multi-core processors
- 2023-06-14 01:45:08下载
- 积分:1
-
idel虚拟机源码 ,很好用
idel虚拟机源码 ,很好用-Debido source virtual machine, with good
- 2022-11-09 13:20:04下载
- 积分:1
-
本程序用于语法分析
本程序用于语法分析-procedures for the analysis of syntax
- 2022-01-26 05:42:54下载
- 积分:1
-
这是一个编译原理的扫描程序字符串!喜欢分享…
这是一个编译原理中的扫描字符串的程序!希望能与大家分享-This is a Compilation Principle of the scanning procedure string! Like to share with Members
- 2022-04-17 03:30:12下载
- 积分:1