Du är här

Reference Attributed Grammars

Publiceringsår: 2000
Språk: Engelska
Sidor: 301-317
Publikation/Tidskrift/Serie: Informatica (Slovenia)
Volym: 24
Nummer: 3
Dokumenttyp: Artikel
Förlag: Slovenian Society Informatika

Sammanfattning

An object-oriented extension to canonical attribute grammars is described, permitting attributes to be references to arbitrary nodes in the syntax tree, and attributes to be accessed via the reference attributes. Important practical problems such as name and type analysis for object-oriented languages can be expressed in a concise and modular manner in these grammars, and an optimal evaluation algorithm is available. An extensive example is given, capturing all the key constructs in object-oriented languages including block structure, classes, inheritance, qualified use, and assignment compatibility in the presence of subtyping. The formalism and algorithm have been implemented in APPLAB, an interactive language development tool.

Disputation

Nyckelord

  • Technology and Engineering

Övrigt

Published
Yes
  • LUCAS
  • ISSN: 0350-5596

Box 117, 221 00 LUND
Telefon 046-222 00 00 (växel)
Telefax 046-222 47 20
lu [at] lu [dot] se

Fakturaadress: Box 188, 221 00 LUND
Organisationsnummer: 202100-3211
Om webbplatsen

LERU logo U21 logo