Silver: an Extensible Attribute Grammar System

11 years 9 months ago
Silver: an Extensible Attribute Grammar System
Attribute grammar specification languages, like many domain specific languages, offer significant advantages to their users, such as high-level declarative constructs and domain-specific analyses. Despite these advantages, attribute grammars are often not adopted to the degree that their proponents envision. One practical obstacle to their adoption is a perceived lack of the both domain-specific and general purpose language features needed to address all of the different aspects of a problem. Here we describe Silver, an extensible attribute grammar specification language, and show how it can be extended with general purpose features such as pattern matching and domain specific features such as collection attributes and constructs for supporting data-flow analysis of imperative programs. Silver is implemented in itself by a Silver attribute grammar and utilizes forwarding to implement the extensions in a cost-effective manner. The result is an attribute grammar specification language w...
Eric Van Wyk, Derek Bodin, Jimin Gao, Lijesh Krish
Added 10 Dec 2010
Updated 10 Dec 2010
Type Journal
Year 2008
Authors Eric Van Wyk, Derek Bodin, Jimin Gao, Lijesh Krishnan
Comments (0)