標題: Conditional evaluation in simple multi-visit attribute-grammar evaluators
作者: Yang, W
資訊工程學系
Department of Computer Science
公開日期: 1997
摘要: Attribute grammars are a formalism for specifying computations on context-free languages. Due to the non-strictness of the if constructs in attribution equations, it is possible to avoid evaluating certain attribute instances in a syntax free. A dynamic evaluator can easily avoid such useless computations with a demand-driven approach. However, dynamic evaluators are not efficient because they need to keep the attribute dependence graph during evaluation, and they need to decide an evaluation order for each syntax tree. In contrast, a visit-oriented (static) evaluator can carefully re-arrange the evaluation order and still avoid unnecessary computations. We propose such a technique in this paper.
URI: http://hdl.handle.net/11536/19680
ISBN: 0-8186-8271-X
期刊: ASIA PACIFIC SOFTWARE ENGINEERING CONFERENCE AND INTERNATIONAL COMPUTER SCIENCE CONFERENCE, PROCEEDINGS
起始頁: 455
結束頁: 464
Appears in Collections:Conferences Paper