期刊文献+

算符优先语法分析中句型分界符的处理

Dealing with Syntactic Bracket in Operand_ First Syntax Analysis
下载PDF
导出
摘要 算符优先语法分析过程中要处理句型分界符与文法终结符之间的优先关系 ,但这类优先关系不能由现有的构造算符优先表的算法直接得到。文中提出了一种方案 ,通过拓广算符优先文法 ,使句型分界符成为拓广文法的一个终结符 ,再对拓广文法施行构造算符优先表算法 ,可同时得到原文法终结符与句型分界符之间的算符优先关系。 A priority of handling syntactic bracket and grammar character is needed in operand__first syntax analysis. But the priorities can not be calculated by usual algorithm of building operand__priority table. In this paper, an operand__first grammar is modified by adding the syntactic bracket into its character set,and then,a new grammar named expansionary grammar is obtained. The needed priorities can be drawn directly by executing the same algorithm on expansionary grammar.
出处 《武汉理工大学学报》 CAS CSCD 2003年第11期100-102,共3页 Journal of Wuhan University of Technology
基金 武汉化工学院教学研究项目 (2 0 0 2 0 0 8)
关键词 语法分析 算符优先表 句型分界符 拓广文法 syntax analysis operand_ priority table syntactic bracket expansionary grammar
  • 相关文献

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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