文件名称:myPL0
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:204.7kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
本次实验使用平台是Microsoft Visual C++6.0,编程语言是C语言,利用递归下降子程序法实现对一个PL/0源程序中的表达式、各种说明语句、赋值语句进行词法分析和语法分析,完成符号表的管理并能实现确定源码中标识符的类型与二维坐标位置,和赋值语句及表达式中间代码的生成,做的一大亮点是程序有着很严格的出错处理子程序,能确定错误类型和错误位置,能检测输入源程序的开头,数值类型的判断,运算错误检查,变量定义重复性的检查,数值类型的一致性检查,语法错误的检查等多达二十种错误类型。
程序的处理结果是显示到dos界面上,用输出函数将符号表和中间代码的四元式显示出来,程序的输入是利用读文件方式获取的,输入文件名即可载入文件并处理源码,由于程序有着很强的报错功能,所以很容易知道代码的错误类型和位置。-Recursive subroutine method to achieve a decline in PL/0 source of expression, all that statement, assignment to lexical analysis and syntax analysis, symbol table management to complete and to determine the source code to achieve the type of identifier and the second Dimensional coordinates, and the assignment statement and the expression of intermediate code generation, to do a major highlight of the program have a very strict error handling routines, can determine the type of error and error location, can detect the beginning of the input source, numerical type Judge, computing error checking, variable definitions of repetitive checking, numerical type of consistency checking, grammar checking and so on up the wrong type of error twenty
程序的处理结果是显示到dos界面上,用输出函数将符号表和中间代码的四元式显示出来,程序的输入是利用读文件方式获取的,输入文件名即可载入文件并处理源码,由于程序有着很强的报错功能,所以很容易知道代码的错误类型和位置。-Recursive subroutine method to achieve a decline in PL/0 source of expression, all that statement, assignment to lexical analysis and syntax analysis, symbol table management to complete and to determine the source code to achieve the type of identifier and the second Dimensional coordinates, and the assignment statement and the expression of intermediate code generation, to do a major highlight of the program have a very strict error handling routines, can determine the type of error and error location, can detect the beginning of the input source, numerical type Judge, computing error checking, variable definitions of repetitive checking, numerical type of consistency checking, grammar checking and so on up the wrong type of error twenty
(系统自动生成,下载前可以参看下载内容)
下载文件列表
myPL0/Debug/myPL0.exe
myPL0/Debug/myPL0.ilk
myPL0/Debug/myPL0.obj
myPL0/Debug/myPL0.pch
myPL0/Debug/myPL0.pdb
myPL0/Debug/vc60.idb
myPL0/Debug/vc60.pdb
myPL0/e1.txt
myPL0/e2.txt
myPL0/e3.txt
myPL0/myPL0.cpp
myPL0/myPL0.dsp
myPL0/myPL0.dsw
myPL0/myPL0.ncb
myPL0/myPL0.opt
myPL0/myPL0.plg
myPL0/test.txt
myPL0/Debug
myPL0
myPL0/Debug/myPL0.ilk
myPL0/Debug/myPL0.obj
myPL0/Debug/myPL0.pch
myPL0/Debug/myPL0.pdb
myPL0/Debug/vc60.idb
myPL0/Debug/vc60.pdb
myPL0/e1.txt
myPL0/e2.txt
myPL0/e3.txt
myPL0/myPL0.cpp
myPL0/myPL0.dsp
myPL0/myPL0.dsw
myPL0/myPL0.ncb
myPL0/myPL0.opt
myPL0/myPL0.plg
myPL0/test.txt
myPL0/Debug
myPL0
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.