节点文献

LR(1)语法分析的自动构造

Automatic generation of LR(1) grammatical analyzer

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 孙冀侠迟呈英李迎春

【Author】 SUN Ji-xia, CHI Cheng-yuing, LI Ying-chun(School of Computer Science and Engineering, Anshan University of Science and Technology, Anshan 114044,China)

【机构】 鞍山科技大学计算机科学与工程学院鞍山科技大学计算机科学与工程学院 辽宁 鞍山 114044辽宁 鞍山 114044辽宁 鞍山 114044

【摘要】 讨论了LR(1)语法分析器的自动构造,可判定给定的文法是否为LR(1)文法。若是,则自动生成给定文法的LR(1)分析表,并对任一输入串进行分析,判断其是否为给定文法的句子。论文相关的软件除可用于编译原理课程教学演示外,还可用于实际编译程序的LR语法分析器的自动构造。

【Abstract】 An automatic generation of LR(1) grammatical analyzer was proposed. It can verify whether an input grammar is the LR(1) grammar which can generate the LR(1) parsing table automatically. And it also can analyze any input string,then decide whether it’s the input grammar’s legal sentence.The software which this paper based on can be used not only in demonstrating for teaching, but also in automatic constructing of LR(1) grammatical analyzer which will be used in compiler.

  • 【文献出处】 鞍山科技大学学报 ,Journal of Anshan University of Science and Technology , 编辑部邮箱 ,2003年02期
  • 【分类号】TP391.12
  • 【被引频次】4
  • 【下载频次】467
节点文献中: 

本文链接的文献网络图示:

本文的引文网络