Abstract
dc:description.abstractKnuth'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. Our construction is therefore suitable for use in a practical compiler-writing system.
Degree
thesis:*- Name thesis:degree_name
- Master of Arts
- Level thesis:degree_level
- Masters
- Discipline thesis:degree_discipline
- Engineering
- Department thesis:degree_department
- Mathematical Sciences
- Grantor
- Rice University
- Year dc:date.issued
- 1975
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Warren, Scott Kipling
- Advisor dc:contributor.advisor
-
- Kennedy, Kenneth W.
Rights
dc:rights- Statement dc:rights
-
- Copyright is held by the author, unless otherwise indicated. Permission to reuse, publish, or reproduce the work beyond the bounds of fair use or other exemptions to copyright law must be obtained from the copyright holder.
- Language dc:language.iso
- eng
Identifiers
dc:identifier.*- Dc Identifier Callnumber
- Thesis Math. Sci. 1975 Warren
- Dc Identifier Citation
- Warren, Scott Kipling. "The efficient evaluation of attribute grammars." (1975) Master’s Thesis, Rice University. https://hdl.handle.net/1911/104586.
- Dc Identifier Other
- RICE2221