文件名称:pl0modify
- 所属分类:
- 编译器/词法分析
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1.27mb
- 下载次数:
- 0次
- 提 供 者:
- me***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
对PL/0作以下修改扩充:
(1)增加单词:保留字 ELSE,FOR,STEP,RETURN
运算符 +=,-=,++,--,∧,∨,┓
(2)修改单词:不等号# 改为 <>
(3)增加条件语句的ELSE子句
基本内容(成绩范围:“中”、“及格”或“不及格”)
(1)扩充赋值运算:+= 和 -=
(2)扩充语句(Pascal的FOR语句):
①FOR <变量>:=<表达式> STEP <表达式> DO <语句>
②FOR <变量>:=<表达式> STEP <表达式> DO <语句>
其中,语句①的循环变量的步长为1,
语句②的循环变量的步长为-1。
(3)增加运算:++ 和 --。
-Of the PL/0 expansion following changes:
(1) Add a word: reserved word ELSE, FOR, STEP, RETURN
Operator+=,-=,++,--, ∧, ∨, ┓
(2) modify the words: inequality# changed <>
(3) increase the ELSE clause of conditional statement
Basic content (score range: "in", "pass" or "fail")
(1) Expansion assignment operator:+ = and-=
(2) expansion of the statement (Pascal s FOR statement):
① FOR <variable>: = <expression> STEP <expression> DO <statement>
② FOR <variable>: = <expression> STEP <expression> DO <statement>
Among them, the statement ① loop variable step size of 1,
Statement ② loop variable step size to-1.
Increase in computing:++ and-.
(1)增加单词:保留字 ELSE,FOR,STEP,RETURN
运算符 +=,-=,++,--,∧,∨,┓
(2)修改单词:不等号# 改为 <>
(3)增加条件语句的ELSE子句
基本内容(成绩范围:“中”、“及格”或“不及格”)
(1)扩充赋值运算:+= 和 -=
(2)扩充语句(Pascal的FOR语句):
①FOR <变量>:=<表达式> STEP <表达式> DO <语句>
②FOR <变量>:=<表达式> STEP <表达式> DO <语句>
其中,语句①的循环变量的步长为1,
语句②的循环变量的步长为-1。
(3)增加运算:++ 和 --。
-Of the PL/0 expansion following changes:
(1) Add a word: reserved word ELSE, FOR, STEP, RETURN
Operator+=,-=,++,--, ∧, ∨, ┓
(2) modify the words: inequality# changed <>
(3) increase the ELSE clause of conditional statement
Basic content (score range: "in", "pass" or "fail")
(1) Expansion assignment operator:+ = and-=
(2) expansion of the statement (Pascal s FOR statement):
① FOR <variable>: = <expression> STEP <expression> DO <statement>
② FOR <variable>: = <expression> STEP <expression> DO <statement>
Among them, the statement ① loop variable step size of 1,
Statement ② loop variable step size to-1.
Increase in computing:++ and-.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
pl0课设\E01.COD
.......\E01.PL0
.......\E0101.PL0
.......\else.COD
.......\ELSE.PL0
.......\for.COD
.......\FOR.PL0
.......\leixing.COD
.......\LEIXING.PL0
.......\P9101.PL0
.......\P9102.PL0
.......\P9104.PL0
.......\PL0.PAS
.......\PL01.bpr
.......\PL01.cpp
.......\PL01.dsk
.......\PL01.dsp
.......\PL01.exe
.......\PL01.ncb
.......\PL01.obj
.......\PL01.opt
.......\PL01.res
.......\PL01.tds
.......\PL01.~bpr
.......\PL01.~cpp
.......\rtl60.bpl
.......\T1.PL0
.......\T2.PL0
.......\test1.pl0
.......\Unit1.cpp
.......\Unit1.ddp
.......\Unit1.dfm
.......\Unit1.dsp
.......\Unit1.dsw
.......\Unit1.h
.......\Unit1.ncb
.......\Unit1.obj
.......\Unit1.opt
.......\Unit1.~cpp
.......\Unit1.~ddp
.......\Unit1.~dfm
.......\Unit1.~h
.......\vcl60.bpl
.......\yunsuan+-=.COD
.......\yunsuan.COD
.......\yunsuan1.COD
.......\YUNSUAN1.PL0
.......\yunsuan2.COD
.......\YUNSUAN2.PL0
.......\zonghe.COD
.......\ZONGHE.PL0
.......\编译原理课程设计报告.doc
pl0课设
.......\E01.PL0
.......\E0101.PL0
.......\else.COD
.......\ELSE.PL0
.......\for.COD
.......\FOR.PL0
.......\leixing.COD
.......\LEIXING.PL0
.......\P9101.PL0
.......\P9102.PL0
.......\P9104.PL0
.......\PL0.PAS
.......\PL01.bpr
.......\PL01.cpp
.......\PL01.dsk
.......\PL01.dsp
.......\PL01.exe
.......\PL01.ncb
.......\PL01.obj
.......\PL01.opt
.......\PL01.res
.......\PL01.tds
.......\PL01.~bpr
.......\PL01.~cpp
.......\rtl60.bpl
.......\T1.PL0
.......\T2.PL0
.......\test1.pl0
.......\Unit1.cpp
.......\Unit1.ddp
.......\Unit1.dfm
.......\Unit1.dsp
.......\Unit1.dsw
.......\Unit1.h
.......\Unit1.ncb
.......\Unit1.obj
.......\Unit1.opt
.......\Unit1.~cpp
.......\Unit1.~ddp
.......\Unit1.~dfm
.......\Unit1.~h
.......\vcl60.bpl
.......\yunsuan+-=.COD
.......\yunsuan.COD
.......\yunsuan1.COD
.......\YUNSUAN1.PL0
.......\yunsuan2.COD
.......\YUNSUAN2.PL0
.......\zonghe.COD
.......\ZONGHE.PL0
.......\编译原理课程设计报告.doc
pl0课设