中文核心期刊
CSCD来源期刊
中国科技核心期刊
RCCSE中国核心学术期刊

重庆交通大学学报(自然科学版) ›› 2004, Vol. 23 ›› Issue (3): 127-128.

• • 上一篇    下一篇

基于自底向上的语法制导定义的实现

李峰   

  1. 重庆三峡学院计算机科学系,重庆万州404000
  • 收稿日期:2003-07-28 修回日期:2003-09-15 出版日期:2004-06-15 发布日期:2015-05-18
  • 作者简介:李峰(1966—),女,万州人,讲师,从事自然语言理解与机器翻译研究。

Syntax-directed definitions implementation based on the bottom-up parsing

LI Feng   

  1. Computer Science Dept,Chongqing Three Gorges Institute,Chongqing 404000,China
  • Received:2003-07-28 Revised:2003-09-15 Online:2004-06-15 Published:2015-05-18

摘要: 在语法分析的同时进行句子翻译,此时符号属性值的计算依赖于具体的分析方法.继承属性值的计算不适合 在自底向上的分析法中实现,笔者在文中讨论了在自底向上的分析中如何处理继承属性的求值问题,给出了实现 方法,对这些方法作了分析、比较与评价

关键词: 语法制导定义, 综合属性, 继承属性, 自底向上分析

Abstract: Sentence translation goes with parsing,while the computation of in herited attribute values of symools relies on the specific parsing process. The bottom-up parsing is disadvantageous to the inherited attribute compution. The paper discusses how to solve the problem, then gives the methods of implementation, analyzes, compares and evaluates those methods.

Key words: syntax-directed definition, synthetic attributes, in herited attributes, bottom-up parsing

中图分类号: