An introductory tutorial on JastAdd attribute grammars

N/ACitations
Citations of this article
30Readers
Mendeley users who have this article in their library.
Get full text

Abstract

JastAdd is an open-source system for generating compilers and other language-based tools. Its declarative specification language is based on reference attribute grammars and object-orientation. This allows tools to be implemented as composable extensible modules, as exemplified by JastAddJ, a complete extensible Java compiler. This tutorial gives an introduction to JastAdd and its core attribute grammar mechanisms, and how to use them when solving key problems in building language-based tools. A simple state machine language is used as a running example, showing the essence of name analysis, adding graphs to the abstract syntax tree, and computing circular properties like reachability. Exercises are included, and code for the examples is available online. © 2011 Springer-Verlag.

Cite

CITATION STYLE

APA

Hedin, G. (2011). An introductory tutorial on JastAdd attribute grammars. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 6491 LNCS, pp. 166–200). https://doi.org/10.1007/978-3-642-18023-1_4

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free