ON THE OPTIMALITY OF CHANGE PROPAGATION FOR INCREMENTAL EVALUATION OFHIERARCHICAL ATTRIBUTE GRAMMARS

Authors
Citation
A. Carle et L. Pollock, ON THE OPTIMALITY OF CHANGE PROPAGATION FOR INCREMENTAL EVALUATION OFHIERARCHICAL ATTRIBUTE GRAMMARS, ACM transactions on programming languages and systems, 18(1), 1996, pp. 16-29
Citations number
24
Categorie Soggetti
Computer Sciences","Computer Science Software Graphycs Programming
ISSN journal
01640925
Volume
18
Issue
1
Year of publication
1996
Pages
16 - 29
Database
ISI
SICI code
0164-0925(1996)18:1<16:OTOOCP>2.0.ZU;2-R
Abstract
Several new attribute grammar dialects have recently been developed, a ll with the common goal of allowing large, complex language translator s to be specified through a modular composition of smaller attribute g rammars'. We refer to the class of dialects as hierarchical attribute grammars. In this short article, we present a characterization of opti mal incremental evaluation that indicates the unsuitability of change propagation as the basis of an optimal incremental evaluator for hiera rchical attribute grammars. This result lends strong support to the us e of incremental evaluators based on more applicative approaches to at tribute evaluation, such as Carle and Pollock's evaluator based on cac hing of partially attributed subtrees, Pugh's evaluator based on funct ion caching of semantic functions, and Swierstra and Vogt's evaluator based on function caching of visit sequences.