Incremental Evaluation of Reference Attribute Grammars using Dynamic Dependency Tracking

Research output: Book/ReportReportResearch

605 Downloads (Pure)

Abstract

Reference attribute grammars (RAGs) have proven practical for gen-
erating production-quality compilers from declarative descriptions, as demonstrated by the JastAdd system. Recent results indicate their applicability also to generating semantic services in interactive editors. For use in editors, it is necessary to update the attribution after edit operations. Earlier algorithms based on statically scheduled incremental attribute evaluation are, however, not applicable to RAGs, as they do not account for the dynamic dependencies that reference attributes give rise to. In this report, we introduce a notion of consistency for RAG attributions, along with an algorithm for maintaining consistency after edit operations, based on dynamic dependency tracking. That is, we introduce a means to do incremental evaluation of RAGs using dynamic dependency tracking.
Original languageEnglish
PublisherDepartment of Computer Science, Lund University
Volume98
Publication statusUnpublished - 2012

Publication series

NameLU-CS-TR:2012-249
Volume98
ISSN (Print)1404-1200

Subject classification (UKÄ)

  • Computer Sciences

Fingerprint

Dive into the research topics of 'Incremental Evaluation of Reference Attribute Grammars using Dynamic Dependency Tracking'. Together they form a unique fingerprint.

Cite this