INDUCTIVE ATTRIBUTE GRAMMARS - A BASIS FOR INCREMENTAL PROGRAM EXECUTION

Citation
Ja. Walz et Gf. Johnson, INDUCTIVE ATTRIBUTE GRAMMARS - A BASIS FOR INCREMENTAL PROGRAM EXECUTION, Acta informatica, 32(2), 1995, pp. 117-144
Citations number
22
Categorie Soggetti
Information Science & Library Science","Computer Science Information Systems
Journal title
ISSN journal
00015903
Volume
32
Issue
2
Year of publication
1995
Pages
117 - 144
Database
ISI
SICI code
0001-5903(1995)32:2<117:IAG-AB>2.0.ZU;2-3
Abstract
Attribute grammars are traditionally constrained to be noncircular. In using attribute grammars to specify the semantics of programming lang uages, this noncircularity limitation has restricted attribute grammar s to compile-time or static semantics. Inductive attribute grammars ad d a general form of circularity to this standard approach. Inductive a ttribute grammars have the expressiveness required to describe the ful l semantics of programming languages, while at the same time maintaini ng the declarative character of standard attribute grammars. This expa nded view of attribute grammars proves to be useful in interactive lan guage-based programming environments, as inductive attribute grammars allow the environment to provide an interpreter for incremental re-eva luation of programs after small changes to the code. The addition of r un-time semantics via circular attribute grammars permits automaticall y generated environments to be complete, in that incremental static se mantic checking and fast incremental execution are now available withi n a single framework.