文件名称:Lexer
-
所属分类:
- 标签属性:
- 上传时间:2016-01-27
-
文件大小:1.61kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
通过对PL/0词法分析程序(GETSYM)的分析,并在此基础上按照附录A中给出的PL/0语言的语法描述,编写一个PL/0语言的词法分析程序。此程序应具有如下功能:
输入为字符串(待进行词法分析的源程序),输出为单词串,即由(单词、类别)所组成的二元组序列。
有一定检查错误的能力,例如发现2A这类不能作为单词的字符串。
-By PL/0 lexical analysis program (GETSYM) analysis, PL and on this basis given in accordance with Appendix A/0 language syntax descr iption, write a PL/0 language lexical analysis procedures. This program shall have the following functions:
Enter a string (to be lexical analysis of the source), the output word train, namely by the tuple sequence (word, class) thereof.
There is a certain ability to check for errors, such as a word can not find this kind 2A string.
输入为字符串(待进行词法分析的源程序),输出为单词串,即由(单词、类别)所组成的二元组序列。
有一定检查错误的能力,例如发现2A这类不能作为单词的字符串。
-By PL/0 lexical analysis program (GETSYM) analysis, PL and on this basis given in accordance with Appendix A/0 language syntax descr iption, write a PL/0 language lexical analysis procedures. This program shall have the following functions:
Enter a string (to be lexical analysis of the source), the output word train, namely by the tuple sequence (word, class) thereof.
There is a certain ability to check for errors, such as a word can not find this kind 2A string.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
词法分析/Pl0.txt
词法分析/词法分析程序.cpp
词法分析
词法分析/词法分析程序.cpp
词法分析
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.