Skip to main content

Lund University Publications

LUND UNIVERSITY LIBRARIES

Extending the JastAdd Extensible Java Compiler to Java 7

Öqvist, Jesper LU and Hedin, Görel LU orcid (2013) Principles and Practice of Programming in Java p.147-152
Abstract
JastAddJ is an extensible Java compiler, implemented using reference attribute grammars. It has been shown previously how the language constructs of Java 5, like generics, could be modularly added to the original JastAddJ compiler that supported Java 1.4. In this paper we discuss our experiences from extending Jast-

AddJ to support Java 7. In particular, we discuss how the Try-With-Resources statement and the Diamond operator could be implemented, and how efficient the resulting Java 7 compiler is regarding code size, compilation time, and memory usage.
Please use this url to cite or link to this publication:
author
and
organization
publishing date
type
Chapter in Book/Report/Conference proceeding
publication status
published
subject
keywords
Java, compiler design, attribute grammars
host publication
[Host publication title missing]
pages
6 pages
publisher
Association for Computing Machinery (ACM)
conference name
Principles and Practice of Programming in Java
conference dates
2013-09-11
external identifiers
  • scopus:84886380378
ISBN
978-1-4503-2111-2
DOI
10.1145/2500828.2500843
project
Contributions to Declarative Implementation of Static Program Analysis
ELLIIT LU P05: Scalable Language Tools for Cyber-Physical Systems
language
English
LU publication?
yes
id
71a6b220-d151-46b1-9b74-9745a9b6c11b (old id 4192078)
date added to LUP
2016-04-04 11:26:54
date last changed
2022-04-08 07:14:21
@inproceedings{71a6b220-d151-46b1-9b74-9745a9b6c11b,
  abstract     = {{JastAddJ is an extensible Java compiler, implemented using reference attribute grammars. It has been shown previously how the language constructs of Java 5, like generics, could be modularly added to the original JastAddJ compiler that supported Java 1.4. In this paper we discuss our experiences from extending Jast-<br/><br>
AddJ to support Java 7. In particular, we discuss how the Try-With-Resources statement and the Diamond operator could be implemented, and how efficient the resulting Java 7 compiler is regarding code size, compilation time, and memory usage.}},
  author       = {{Öqvist, Jesper and Hedin, Görel}},
  booktitle    = {{[Host publication title missing]}},
  isbn         = {{978-1-4503-2111-2}},
  keywords     = {{Java; compiler design; attribute grammars}},
  language     = {{eng}},
  pages        = {{147--152}},
  publisher    = {{Association for Computing Machinery (ACM)}},
  title        = {{Extending the JastAdd Extensible Java Compiler to Java 7}},
  url          = {{http://dx.doi.org/10.1145/2500828.2500843}},
  doi          = {{10.1145/2500828.2500843}},
  year         = {{2013}},
}