Welcome![Sign In][Sign Up]
Location:
Search - pl0 for

Search list

[OS program扩充pl0文法编译器

Description:

对PL/0作以下修改扩充: (1)课内上机作业(考试前交报告): 增加单词:保留字 ELSE,FOR,TO, DOWNTO 运算符 +=,-=,++,-- 修改单词:不等号# 改为 <> 增加条件语句的ELSE子句 -right PL / 0 expansion for the following modifications : (1) the reverse on the plane operations (examination reports) : Increased words : reserved words ELSE, FOR, TO, DOWNTO Operators =,-=,, -- changes the words : re # sign of inequality


Platform: | Size: 1877130 | Author: rheahappy | Hits:

[ELanguagePL0语言词法分析器

Description: PL/0语言词法分析器(WINDOWS图形界面,VC+API编写)学编译原理的可以参考一下(不是我自己编的)-PL/0 language lexical analyzer (WINDOWS graphical interface, VC+ API prepared) to compile the principle of learning for reference (not my own series)
Platform: | Size: 16384 | Author: | Hits:

[ELanguagepl0

Description: PL/0语言可以看成PASCAL语言的子集,它的编译程序是一个编译解释执行系统。PL/0的目标程序为假想栈式计算机的汇编语言,与具体计算机无关。 文件说明: PL.htm---PL/0语言基本原理 pl0.h---定义 PL0.cpp---实现 testPl0.cpp---使用方法举例 testPas.txt---一个LP/0语言源程序-PL/0 language may regard as the PASCAL language the subset, its compiler is a translation explanation execution system. The PL/0 target program for the imaginary stack type computer assembly language, has nothing to do with with the concrete computer. Document explanation that, PL.htm---PL/0 language basic principle pl0.h--- defines PL0.cpp--- to realize the testPl0.cpp--- application method to give an example testPas.txt--- a LP/0 language source program
Platform: | Size: 596992 | Author: 许豫飞 | Hits:

[ELanguagepl0编译器(vc实现内嵌词法分析器)

Description: vc实现的pl0编译器,有读取输出功能-read() -write(),这个源码对初学编译原理者有很好的指导作用,我当初学的时候用了3天看懂了源码,也对编译原理更加理解了,毕竟只学理论不看代码是不可能真正理解的,原作者是dwing,我对代码做了一些修改,在此感谢dwing提供的代码-vc achieve pl0 compiler, a reader output- read ()- write (), the source for beginners compiler principles are very good role in guiding, I had time to study the use of three days to read the source code, but also to build a greater understanding of the tenets of all, the theory is not see the code is impossible to truly understand the original author dwing yes, I made some code changes like to thank the code dwing
Platform: | Size: 678912 | Author: dlh | Hits:

[Other课程设计PL0

Description: 编译原理的课程设计,对PL0程序的修改与扩充,内附测试程序,即以.PL0为扩展名的文件,编译完后将生成以.COD为后缀的文件-compiler theory of curriculum design, right PL0 process of revising and expanding, enclosing testing procedures that is. PL0 extension of the paper, after the compiler will generate a. COD suffix for the paper
Platform: | Size: 401408 | Author: 陈任全 | Hits:

[ELanguagePL0-delphi

Description: 用delphi实现的PL/0的编译器,结果生成三元式,并且生成可以运行的PL/0地目标程序,非常好用,对于各位学习编译原理的兄弟姐妹来说是不可多得的好东西!-achieved using PL/0 compiler, generating 3-, and generates can run PL/0 to target procedures, very good, compiler for you to learn the tenets of our brothers and sisters is a very good thing!
Platform: | Size: 231424 | Author: 张海峰 | Hits:

[OtherPL0-1

Description: pascal编译器程序,希望能给广大读者带来帮助,谢谢大家使用-pascal compiler procedures in the hope that readers can help bring, thank you for the use of
Platform: | Size: 4096 | Author: 程长河 | Hits:

[ELanguagepl0

Description: 编译原理关于PL0文法的实现,关于添加case和for语句的实现详细功能-Compiler Construction Principles on grammar PL0 realize, for the insertion of case and for statements realize detailed functional
Platform: | Size: 9216 | Author: 潘铭路 | Hits:

[Data structspl0(2)

Description: 对PL0原编译器进行了以下的扩充:1.增加以下保留字else(elsesym), for(forsym),to(tosym),downto(downtosym),return(returnsym),[(lmparen),](rmparen) 2.增加了以下的运算符:+=(eplus),-=(eminus),++(dplus),--(dminus) 取址运算符&(radsym),指向运算符@(padsym) 3.修改单词:修改不等号#为<> 4.扩充语句:(1)增加了else子句 (2)增加了for语句 5.增加运算:(1).++运算 (2).--运算;(3).+=运算 (4).-=运算;(5).&取址运算; (6).@指向运算; 6.增加类型:(1).增加多维数组a[i1][i2][i3]……[i(n-1)][i(n-2)][in] (2).增加指针类型(任何变量都能存放指针,但不支持指针的指针,如b:=@@a应该改写为c:=@a,b:=@c) 7.将过程procedure扩展为函数:(1).允许定义过程时在其后加参数(var a, var b,……..,var n) (2)允许通过指针向函数形式参数传地址;(3)允许返回值;可以用 a:=p(a,b,c….,n) 返回
Platform: | Size: 434176 | Author: | Hits:

[ELanguagepl0(1)

Description: 一款Pascale语言编译器,供开发编译器的人参考。-Pascale, a language compiler, compiler for the development of easy reference.
Platform: | Size: 605184 | Author: zhangshenpeng | Hits:

[Otherpl0

Description: 编译课程设计,老师给的例子,供大家参考-Compile curriculum design, teacher for example, for your reference
Platform: | Size: 260096 | Author: KG | Hits:

[ELanguagepl0

Description: pl0编译器,c语言环境下实现,PL/0语言编译程序采用以语法分析为核心、一遍扫描的编译方法。词法分析和代码生成作为独立的子程序供语法分析程序调用。程序供语法分析程序调用。-pl0 compiler, c language environments, PL/0 language compiler analysis of the use of grammar as the core, the compiler again scanning methods. Lexical analysis and code generation as an independent subroutine calls for grammar analysis program. Procedures call for grammar analysis program.
Platform: | Size: 137216 | Author: zsk | Hits:

[Windows DevelopPL0(C++Builder)

Description: 这是一个PL/0编译器,比较适合初学者学习编译原理。-This is a PL/0 compiler, more suitable for beginners to learn the principle of the compiler.
Platform: | Size: 391168 | Author: 卓wr | Hits:

[ELanguagePL0

Description: 编译原理课程设计 PL0 (报告实验和课程设计报告,已经设计方法,步骤) 1. 基本内容 (1)扩充赋值运算:+= 和 -= (2)扩充语句 REPEAT <语句序列> DOWHILE <条件> 其中,<条件>是循环条件,即条件成立时,重复执行循环体的<语句序列> 2. 选做内容 (1)增加运算:++ 和 --。 (2)增加类型:① 字符类型; ② 实数类型。 (3)扩充函数:① 有返回值和返回语句;② 有参数函数。 (4)增加一维数组类型(可增加指令)。 (5)其他典型语言设施。 3.本人在课程设计中已实现的功能 (1)增加单词:保留字 ELSE,REPEAT,DOWHILE,RETURN 运算符 +=,-=,++,-- (2)修改单词:不等号# 改为 <> (3)增加条件语句的ELSE子句 (4)扩充赋值运算:+= 和 -= (5)扩充语句 REPEAT <语句序列> DOWHILE <条件> (6)增加运算:++ 和 --(包括前后++、--运算) (7)增加类型:① 字符类型;② 实数类型。 (8)其他典型语言设施:FOR TO语句,FOR DOWNTO语句; -err
Platform: | Size: 1447936 | Author: caicai | Hits:

[ELanguagepl0

Description: 1)增加单词:保留字 ELSE,FOR,TO,DOWNTO,RETURN 运算符 +=,-=,++,―― 其中FOR,TO,DOWNTO,RETURN属于选做内容。 (2)修改单词:不等号# 改为 <> (3)增加条件语句的ELSE子句 (4)增加单词:保留字 ELSE,FOR,TO,DOWNTO,REPEAT, DOWHILE, UNTIL。 (5)增加运算:++ 和 --。(已做,前++ 后++ 前-- 后--) (6)其他典型语言设施。(已做for 语句) (7)添加编译错误提示功能-1) To increase word: reserved word ELSE, FOR, TO, DOWNTO, RETURN operator 2B !=,-=,++,- One of FOR, TO, DOWNTO, RETURN contents are elected to do. (2) amend the word: No. 23 ranged! Changed to
Platform: | Size: 366592 | Author: caidongyun | Hits:

[ELanguagePL0

Description: 编译器代码,模型使用PL0型语言,可以用于教学和研究学习-Compiler code, model PL0 use language that can be used for teaching and research study
Platform: | Size: 11264 | Author: HK | Hits:

[ELanguagepl0

Description: pl0建议编译器,大学编译原理课程的期末课程设计-pl0 ,for students in university
Platform: | Size: 420864 | Author: gzk | Hits:

[ELanguagePL0-classic

Description: 可能是流传最广、最为经典的样板作品,Pascal语言之父、图灵奖获得者Niklaus Wirth在其名著Algorithms + Data Structures = Programs第5章给出的一个递归下降预测分析器实现。毫无疑问,它是用Pascal语言编写的。该编译器生成的目标语言是p-code,一台p- code虚拟机有3个寄存器(程序计数器、基本寄存器和栈顶寄存器)和8条指令(每条指令有多种形式)。-May be the most widely accepted model for the most classical works, Pascal language father, Turing Award winner Niklaus Wirth in his famous book Algorithms+ Data Structures = Programs Chapter 5 gives a recursive descent parser to achieve prediction. There is no doubt that it is written in Pascal. The compiler generates the target language is the p-code, a p-code virtual machine has three registers (program counter, the basic registers and stack registers) and 8 instructions (each instruction takes many forms).
Platform: | Size: 4096 | Author: superchangme | Hits:

[ELanguageCompilerExperiment5-semanticAnalysis-intermediateC

Description: 一个小的教学用的编译器(PL0语言)方便学习《编译原理》的 语义分析和目标代码生成-Compiler Experiment PL0 for study semantic Analysis and intermediate Code Ggeneration of compiling principle
Platform: | Size: 710656 | Author: Mrfu | Hits:

[ELanguageCompilerExperiment-1-PL0

Description: 一个小的教学用的编译器(PL0语言)方便学习《编译原理》课程-Compiler Experiment PL0 for study compiling principle
Platform: | Size: 701440 | Author: Mrfu | Hits:
« 12 3 4 5 6 »

CodeBus www.codebus.net