Extensible attribute grammars


Loading...

Date

1992-12

Publication Type

Report

ETH Bibliography

yes

Citations

Altmetric

Data

Abstract

This report introduces a new idea to make attribute grammars (AG) extensible. Both the context-free grammar and the attribution system of an AG may be extended. This concept is a valuable structuring technique when defining language-based programming environments or compilers. For instance, it allows passes of a multipass compiler to be decomposed into different grammar levels, which renders the definition much clearer. Another application consists of defining an interface for an external tool (browser) on an independent grammar level neatly separated from the actual language definition. The concept of extensible attribute grammars is first introduced using a formal model, and thereafter practical examples demonstrate possible applications.

Publication status

published

External links

Editor

Book title

Journal / series

Volume

6

Pages / Article No.

Publisher

ETH Zurich, Computer Engineering and Networks Laboratory

Event

Edition / version

Version 1

Methods

Software

Geographic location

Date collected

Date created

Subject

Organisational unit

02640 - Inst. f. Technische Informatik und Komm. / Computer Eng. and Networks Lab.

Notes

Funding

Related publications and datasets