文件名称:myPL0

介绍说明--下载内容均来自于网络,请自行研究使用

本次实验使用平台是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
(系统自动生成,下载前可以参看下载内容)

下载文件列表

myPL0\Debug\myPL0.exe

.....\.....\myPL0.ilk

.....\.....\myPL0.obj

.....\.....\myPL0.pch

.....\.....\myPL0.pdb

.....\.....\vc60.idb

.....\.....\vc60.pdb

.....\e1.txt

.....\e2.txt

.....\e3.txt

.....\myPL0.cpp

.....\myPL0.dsp

.....\myPL0.dsw

.....\myPL0.ncb

.....\myPL0.opt

.....\myPL0.plg

.....\test.txt

.....\Debug

myPL0

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org