Attribute grammar paradigms—a high-level methodology in language implementation

  • Authors:
  • Jukka Paakki

  • Affiliations:
  • Univ. of Jyva¨skyla¨, Jyva¨skyla¨, Finland

  • Venue:
  • ACM Computing Surveys (CSUR)
  • Year:
  • 1995

Quantified Score

Hi-index 0.00

Visualization

Abstract

Attribute grammars are a formalism for specifying programming languages. They have been applied to a great number of systems automatically producing language implementations from their specifications. The systems and their specification languages can be evaluated and classified according to their level of application support, linguistic characteristics, and degree of automation.A survey of attribute grammar-based specification languages is given. The modern advanced specification languages extend the core attribute grammar model with concepts and primitives from established programming paradigms. The main ideas behind the developed attribute grammar paradigms are discussed, and representative specification languages are presented with a common example grammar. The presentation is founded on mapping elements of attribute grammars to their counterparts in programming languages. This methodology of integrating two problem-solving disciplines together is explored with a classification of the paradigms into structured, modular, object-oriented, logic, and functional attribute grammars. The taxonomy is complemented by introducing approaches based on an implicit parallel or incremental attribute evaluation paradigm.