登录
首页 » Visual C++ » 20029440913

20029440913

于 2010-07-08 发布 文件大小:283KB
0 38
下载积分: 1 下载次数: 4

代码说明:

  (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.)

文件列表:

编译原理课程设计原稿(陈强 20029440913)
........................................\编译原理课程设计(语法分析程序)陈强.doc,201216,2005-07-02
........................................\陈强 20029440913
........................................\................\Debug
........................................\................\.....\vc60.idb,33792,2008-04-20
........................................\................\.....\vc60.pdb,45056,2008-04-20
........................................\................\.....\yufafenxi.exe,200811,2008-04-20
........................................\................\.....\yufafenxi.ilk,193736,2008-04-20
........................................\................\.....\yufafenxi.obj,38646,2008-04-20
........................................\................\.....\yufafenxi.pch,228480,2008-04-20
........................................\................\.....\yufafenxi.pdb,377856,2008-04-20
........................................\................\yufafenxi.cpp,17766,2005-06-30
........................................\................\yufafenxi.dsp,3437,2005-06-30
........................................\................\yufafenxi.dsw,524,2005-06-30
........................................\................\yufafenxi.ncb,50176,2008-04-20
........................................\................\yufafenxi.opt,53760,2008-04-20
........................................\................\yufafenxi.plg,252,2008-04-20

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696518资源总数
  • 104224会员总数
  • 54今日下载