文件名称:20029440913
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:283.02kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
(1) 根据LL(1)分析法编写一个语法分析程序,可根据自己实际情况,选择以下一项作为分析算法的输入:
a. 直接输入根据已知文法构造的分析表M
b.输入文法的FIRST(α)和FOLLOW(U)集合,由程序自动生成文法的分析表M;
c.输入已知文法,由程序自动构造文法的分析表M。
(2) 程序具有通用性
所开发的程序可适用于不同的文法和任意输入串,且能判断该文法是否为LL(1)文法。
(3) 有运行实例
对于输入的文法和符号串,所编制的语法分析程序应能正确判断此串是否为文法的句子,并要求输出分析过程。
-(1) According to the LL (1) method to write a parser, according to their own situation, choose one of the following analysis of the algorithm as input:
a. directly into the basis of known structures of grammar table M
b. enter the grammar of FIRST (α) and FOLLOW (U) set automatically by the program analysis table statute of Health M
c. Enter known grammar, the program can automatically construct grammatical analysis table M.
(2) program has universal
The developed program used in various types of grammar and an arbitrary input string, and can determine whether the grammar LL (1) grammar.
(3) the running instance
Grammar and symbols for the input string, the parser should be compiled correctly determine whether this string of sentence grammar, and asked the output of the process.
a. 直接输入根据已知文法构造的分析表M
b.输入文法的FIRST(α)和FOLLOW(U)集合,由程序自动生成文法的分析表M;
c.输入已知文法,由程序自动构造文法的分析表M。
(2) 程序具有通用性
所开发的程序可适用于不同的文法和任意输入串,且能判断该文法是否为LL(1)文法。
(3) 有运行实例
对于输入的文法和符号串,所编制的语法分析程序应能正确判断此串是否为文法的句子,并要求输出分析过程。
-(1) According to the LL (1) method to write a parser, according to their own situation, choose one of the following analysis of the algorithm as input:
a. directly into the basis of known structures of grammar table M
b. enter the grammar of FIRST (α) and FOLLOW (U) set automatically by the program analysis table statute of Health M
c. Enter known grammar, the program can automatically construct grammatical analysis table M.
(2) program has universal
The developed program used in various types of grammar and an arbitrary input string, and can determine whether the grammar LL (1) grammar.
(3) the running instance
Grammar and symbols for the input string, the parser should be compiled correctly determine whether this string of sentence grammar, and asked the output of the process.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
编译原理课程设计原稿(陈强 20029440913)/编译原理课程设计(语法分析程序)陈强.doc
编译原理课程设计原稿(陈强 20029440913)/陈强 20029440913/Debug/vc60.idb
编译原理课程设计原稿(陈强 20029440913)/陈强 20029440913/Debug/vc60.pdb
编译原理课程设计原稿(陈强 20029440913)/陈强 20029440913/Debug/yufafenxi.exe
编译原理课程设计原稿(陈强 20029440913)/陈强 20029440913/Debug/yufafenxi.ilk
编译原理课程设计原稿(陈强 20029440913)/陈强 20029440913/Debug/yufafenxi.obj
编译原理课程设计原稿(陈强 20029440913)/陈强 20029440913/Debug/yufafenxi.pch
编译原理课程设计原稿(陈强 20029440913)/陈强 20029440913/Debug/yufafenxi.pdb
编译原理课程设计原稿(陈强 20029440913)/陈强 20029440913/yufafenxi.cpp
编译原理课程设计原稿(陈强 20029440913)/陈强 20029440913/yufafenxi.dsp
编译原理课程设计原稿(陈强 20029440913)/陈强 20029440913/yufafenxi.dsw
编译原理课程设计原稿(陈强 20029440913)/陈强 20029440913/yufafenxi.ncb
编译原理课程设计原稿(陈强 20029440913)/陈强 20029440913/yufafenxi.opt
编译原理课程设计原稿(陈强 20029440913)/陈强 20029440913/yufafenxi.plg
编译原理课程设计原稿(陈强 20029440913)/陈强 20029440913/Debug
编译原理课程设计原稿(陈强 20029440913)/陈强 20029440913
编译原理课程设计原稿(陈强 20029440913)
编译原理课程设计原稿(陈强 20029440913)/陈强 20029440913/Debug/vc60.idb
编译原理课程设计原稿(陈强 20029440913)/陈强 20029440913/Debug/vc60.pdb
编译原理课程设计原稿(陈强 20029440913)/陈强 20029440913/Debug/yufafenxi.exe
编译原理课程设计原稿(陈强 20029440913)/陈强 20029440913/Debug/yufafenxi.ilk
编译原理课程设计原稿(陈强 20029440913)/陈强 20029440913/Debug/yufafenxi.obj
编译原理课程设计原稿(陈强 20029440913)/陈强 20029440913/Debug/yufafenxi.pch
编译原理课程设计原稿(陈强 20029440913)/陈强 20029440913/Debug/yufafenxi.pdb
编译原理课程设计原稿(陈强 20029440913)/陈强 20029440913/yufafenxi.cpp
编译原理课程设计原稿(陈强 20029440913)/陈强 20029440913/yufafenxi.dsp
编译原理课程设计原稿(陈强 20029440913)/陈强 20029440913/yufafenxi.dsw
编译原理课程设计原稿(陈强 20029440913)/陈强 20029440913/yufafenxi.ncb
编译原理课程设计原稿(陈强 20029440913)/陈强 20029440913/yufafenxi.opt
编译原理课程设计原稿(陈强 20029440913)/陈强 20029440913/yufafenxi.plg
编译原理课程设计原稿(陈强 20029440913)/陈强 20029440913/Debug
编译原理课程设计原稿(陈强 20029440913)/陈强 20029440913
编译原理课程设计原稿(陈强 20029440913)
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
