期刊文献+

基于扩展的BNF文法的通用语法分析算法 被引量:3

A GENERAL SYNTAX ANALYSIS ALGORITHM BASED ON EXTENDED BNF GRAMMAR
下载PDF
导出
摘要 本文介绍了如何用句法图来表示扩展的BNF文法(EBNF),给出一个将EBNF文法翻译成句法图算法,然后我们给出一个适用于各种过程性高级语言的通用语法分析算法,同时考虑了语法错误的恢复和语义子程序的嵌入。 In this paper, we show how to represent an EBNF (Extended BNF) grammar in form of a syntax graph. We then give an algorithm to translate an EBNF grammar into its syntax graph form. We proceed to present a general parsing algorithm applicable to various procedural high level language and make considerations of error recovery and the insertion of semantic routines.
出处 《软件学报》 EI CSCD 北大核心 1992年第3期24-32,共9页 Journal of Software
  • 相关文献

参考文献2

  • 1匿名著者,算法+数据结构=程序,1984年
  • 2施振川,计算机学报,1983年,4期

同被引文献20

引证文献3

二级引证文献9

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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