Knuth's attribute grammars are a powerful, natural way of specifying translations such as those involved in compiling programming languages, but until now efficient implementation has been possible only for restricted classes of attribute grammars. We present a method of constructing, for any attribute grammar, a recursive procedure which performs the specified semantic evaluation. These "treewalk evaluators" are produced by analysing the data dependencies of the attribute grammar to find an acceptable evaluation strategy. The resulting evaluators are efficient in the sense that they make no use of nondeterminism or searching through the parse tree and may be generated as directly executing machine code rather than requiring an interpreter....
An extension to canonical attribute grammars is introduced, permitting attributes to be references t...
Traditionally, an attribute grammar is presented as a context-free grammar which is augmented with a...
SIGLECNRS-CDST / INIST-CNRS - Institut de l'Information Scientifique et TechniqueFRFranc
An evaluator for an attribute grammar takes a derivation tree as input and produces a computation s...
Attribute grammars are a formalism for specifying computations on context-free languages. Due to the...
The possibilities for defining predicate transformers, denotational semantics, and operational seman...
Attribute grammars are a powerful specification formalism for tree-based computation, particularly f...
AbstractThis paper describes a new evaluator capable of handling noncircular or circular attribute g...
Preprint of paper published in: Compiler Construction, Lecture Notes in Computer Science 5501, 2009;...
Since the time that Knuth's seminal paper on attribute grammars (AGs) first appeared [24], the AG fo...
Attribute grammars are a value-oriented, non-procedural extension to context-free grammars that faci...
Incremental semantic analysis in a programming environment based on Attribute Grammars is performed ...
A programming language is an essential ingredient for writing concise, maintainable, and error-free ...
A terminology and notation, semantically-trivial covers, is introduced for describing a class of mea...
Compilers, amongst other programs, often work with data that (slowly) changes over time. When the ch...
An extension to canonical attribute grammars is introduced, permitting attributes to be references t...
Traditionally, an attribute grammar is presented as a context-free grammar which is augmented with a...
SIGLECNRS-CDST / INIST-CNRS - Institut de l'Information Scientifique et TechniqueFRFranc
An evaluator for an attribute grammar takes a derivation tree as input and produces a computation s...
Attribute grammars are a formalism for specifying computations on context-free languages. Due to the...
The possibilities for defining predicate transformers, denotational semantics, and operational seman...
Attribute grammars are a powerful specification formalism for tree-based computation, particularly f...
AbstractThis paper describes a new evaluator capable of handling noncircular or circular attribute g...
Preprint of paper published in: Compiler Construction, Lecture Notes in Computer Science 5501, 2009;...
Since the time that Knuth's seminal paper on attribute grammars (AGs) first appeared [24], the AG fo...
Attribute grammars are a value-oriented, non-procedural extension to context-free grammars that faci...
Incremental semantic analysis in a programming environment based on Attribute Grammars is performed ...
A programming language is an essential ingredient for writing concise, maintainable, and error-free ...
A terminology and notation, semantically-trivial covers, is introduced for describing a class of mea...
Compilers, amongst other programs, often work with data that (slowly) changes over time. When the ch...
An extension to canonical attribute grammars is introduced, permitting attributes to be references t...
Traditionally, an attribute grammar is presented as a context-free grammar which is augmented with a...
SIGLECNRS-CDST / INIST-CNRS - Institut de l'Information Scientifique et TechniqueFRFranc