Static and Dynamic Coupling Attribute Evaluators - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Reports (Research Report) Year : 1995

Static and Dynamic Coupling Attribute Evaluators

Gilles Roussel
Didier Parigot
Martin Jourdan
  • Function : Author

Abstract

Several years ago, the notion of attribute coupled grammars was introduced by Gan­zin­ger and Giegerich,[.ganzinger giegerich montreal.] together with their descriptional composition. The latter works essentially at the specification level, i.e., it produces an attribute grammar which specifies the composition of two attribute coupled grammars. We introduce a new approach to this composition of attribute coupled grammars. It no longer works at the specification level but rather at the evaluator level. It produces a special kind of attribute evaluator, called {\em coupling evaluator}. We present both a static version and a dynamic version of coupling evaluators. Both versions retain the good property of descriptional composition that intermediate trees are not physically constructed. In addition---and this is the main advantage of our approach, compared with descriptional composition---, it is possible to build separately the dynamic coupling evaluator of each attribute coupled grammar; in other words we achieve real {\em separate compilation\/} of AG modules.

Domains

Other [cs.OH]
Fichier principal
Vignette du fichier
RR-2670.pdf (308.48 Ko) Télécharger le fichier
Loading...

Dates and versions

inria-00074020 , version 1 (24-05-2006)

Identifiers

  • HAL Id : inria-00074020 , version 1

Cite

Gilles Roussel, Didier Parigot, Martin Jourdan. Static and Dynamic Coupling Attribute Evaluators. [Research Report] RR-2670, INRIA. 1995. ⟨inria-00074020⟩
79 View
477 Download

Share

Gmail Facebook Twitter LinkedIn More