对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) 返回
标签: downtosym returnsym elsesym downto
上传时间: 2016-07-02
上传用户:saharawalker
实现中断复制功能. 除非输入i(I),否则会在屏幕上显出输入的字母或字符值. 以end结束. 具体解释见源程序.
上传时间: 2013-12-10
上传用户:erkuizhang
If everything runs well it will infect 100 files all over the disk. Does not infect files smaller than 40 kb.Payload is a icmp flood.
标签: infect files everything smaller
上传时间: 2016-07-08
上传用户:mpquest
ASP个人聊天系统 If MenuSwf="" Then MenuSwf="About" select case lcase(MenuSwf) case "about" TopMenu="a" case "news" TopMenu="b" case "project" TopMenu="c" case "clients" TopMenu="e" case "contact" TopMenu="f" case "mainbinner" TopMenu="g" case "person" TopMenu="h"
标签: MenuSwf case TopMenu select
上传时间: 2016-07-11
上传用户:lht618
This my first program that I learn QT, I think if you run it and then you will learn many thing
上传时间: 2013-12-31
上传用户:qazxsw
If you re like me, you re excited by what people do with template metaprogramming (TMP) but are frustrated at the lack of clear guidance and powerful tools. Well, this is the book we ve been waiting for. With help from the excellent Boost Metaprogramming Library, David and Aleksey take TMP from the laboratory to the workplace with readable prose and practical examples, showing that "compile-time STL" is as able as its runtime counterpart. Serving as a tutorial as well as a handbook for experts, this is the book on C++ template metaprogramming."Chuck Allison, Editor, The C++ Source
标签: metaprogramming you template excited
上传时间: 2016-07-20
上传用户:gundamwzc
thanks a lot! if you have somg questions ,please ask me!
标签: questions thanks please have
上传时间: 2014-01-13
上传用户:asddsd
this file is the second development sofuware of AutoCAD,if you use it you will find it very helpful for you.
标签: development you sofuware AutoCAD
上传时间: 2013-12-29
上传用户:王楚楚
Private Sub cancel_Click(Index As Integer) Unload form1 End Sub
标签: cancel_Click Sub Private Integer
上传时间: 2016-07-27
上传用户:epson850
使用LR分析法对于if条件语句进行解释,并生成3地址码的代码,编译程序课程设计时会用到
标签: 分析法
上传时间: 2016-08-02
上传用户:阿四AIR