Back to search

University of Victoria (Canada)

AGCG - an attribute grammar compiler generator

Abstract

dc:description.abstract

The AGCG (Attribute Grammar Compiler Generator) described in this thesis is a com­piler generator for programming languages defined by attribute grammars. AGCG can produce a complete compiler for an input attribute grammar automatically. Most compilers of programming languages defined by attribute grammars need to deter­mine the evaluation order of attribute values before they are evaluated. The compilers pro­duced by AGCG use the demand-driven computation model. In this model, the evaluation order of attribute values is determined at run time, and no algorithms are required to determine the evaluation order. A PIFL-like functional language is used to describe the attribute definition rules. Using a functional language as the specification language for the attribute definition rules provides com­piler writers with a more powerful approach to the semantic definition of programming languages. Implementations of compilers produced by AGCG use the education technique. Using this technique, during the evaluation of attribute values, parallelism could be exploited and no unnecessary computation is involved.

Degree

thesis:*
Level thesis:degree_level
Master of Science M.Sc.
Department thesis:degree_department
Department of Computer Science
Year dc:date.issued
1987

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Tao, Senhua

Rights

dc:rights
Statement dc:rights
  • Available to the World Wide Web

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/1828/19860

Chain of custody

source
Harvested from
University of Victoria (Canada)
Base URL
dspace.library.uvic.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Tao, Senhua. AGCG - an attribute grammar compiler generator. Master of Science M.Sc. thesis, 1987. https://hdl.handle.net/1828/19860