Introduction - If you have any usage issues, please Google them yourself
The following extensions are made for the PL0 original compiler: 1. Add the following reserved word else(elsesym), for(forsym),to(tosym),downto(downtosym),return(returnsym),[(lmparen), (rmparen).
2. Add the following operators: + = (eplus), - = (eminus), + + (dplus), - (dminus)
Access operator &(radsym), pointing to operator @(padsym)
3. Modify the word: change the inequality # to < & gt;
4. Expansion statement: (1) add else clause
(2) increase the for statement
5. Add operation: (1).++ operation (2). (3).+= operation (4). (5).
(6).
Add a multidimensional array a[i1][i2] [i3]... [I] (n - 1)/I (n - 2)] [in] (2) increase the pointer type (any variables can store a pointer, but does not support pointer to pointer, such as: b = @ @ a should be rewritten to c: = @ a, b, c) = @
7. The procedure procedure is extended as a function: (1). The parameters (var a, var b,... .. ,var n) (2) allows the function to pass the address to the function of the function. (3) the return value is allowed; You can use a: = p (a, b, c... ., n) returns
Packet : 35738597pl0(2).rar filelist
pl0(2)\fa.tmp
pl0(2)\fa1.tmp
pl0(2)\fa2.tmp
pl0(2)\fas.tmp
pl0(2)\lxm.PL0
pl0(2)\now.suo
pl0(2)\PL0.cpp
pl0(2)\PL0.dsp
pl0(2)\PL0.dsw
pl0(2)\pl0.h
pl0(2)\PL0.ncb
pl0(2)\PL0.obj
pl0(2)\PL0.opt
pl0(2)\PL0.plg
pl0(2)\PL0.sln
pl0(2)\PL0.suo
pl0(2)\PL0.vcproj
pl0(2)\PL0编译器功能扩充课程设计实验报告.doc
pl0(2)\PL0编译器功能扩充课程设计实验报告YZY.doc
pl0(2)\Project1.tds
pl0(2)\~$0编译器功能扩充课程设计实验报告.doc
pl0(2)\~$0编译器功能扩充课程设计实验报告YZY.doc
pl0(2)\实验报告 杨志业 3104006519\else.txt
pl0(2)\实验报告 杨志业 3104006519\PL0.cpp
pl0(2)\实验报告 杨志业 3104006519\pl0.h
pl0(2)\Debug
pl0(2)\实验报告 杨志业 3104006519
pl0(2)