期刊文献+

LR(1)语法分析的自动构造 被引量:2

Automatic generation of LR(1) grammatical analyzer
在线阅读 下载PDF
导出
摘要 讨论了LR(1)语法分析器的自动构造,可判定给定的文法是否为LR(1)文法。若是,则自动生成给定文法的LR(1)分析表,并对任一输入串进行分析,判断其是否为给定文法的句子。论文相关的软件除可用于编译原理课程教学演示外,还可用于实际编译程序的LR语法分析器的自动构造。 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.
出处 《鞍山科技大学学报》 2003年第2期90-92,共3页 Journal of Anshan University of Science and Technology
关键词 LR(1)语法分析器 自动构造 编译程序 语法分析 compiler syntax analysis LR(1) analysis automatic generation
  • 相关文献

参考文献3

二级参考文献4

  • 1(美)Halvorson M.Visual Basic 6[M].北京:机械工业出版社,1999..
  • 2何炎祥(译),原理,2000年
  • 3Halvorson M,Visual Basic6,1999年
  • 4陈火旺,程序设计语言编译原理,1980年

共引文献11

同被引文献9

引证文献2

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部