Personal tools
You are here: Home Members Torbjörn Ekman publications Implementing Java Compilers Using ReRAGs
Document Actions

Implementing Java Compilers Using ReRAGs

Nordic Journal of Computing. 11(3), 2004.

Authors: Anders Nilsson, Anders Ive, Torbjörn Ekman, Görel Hedin

Abstract

Rewritable Reference Attributed Grammars (ReRAGs) is a recently developed compiler-compiler technology based on object-orientation, aspect-orientation, reference attributed grammars, and conditional rewrites. In this paper we describe our experiences from using ReRAGs for implementing Java compilers.  We illustrate how the usage of ReRAGs renders a rather compact, yet easy-to-understand and modular compiler specification where code analysis, restructurings, and optimizations can be conveniently described as aspects performing computations and transformations on the abstract syntax tree. Currently, we have implemented two compilers: one that generates C code with real-time support, and one that generates Java bytecode. Both share the same front end.

(PDF)

BIBTEX:

@article{ImplementingJavaReRAGs,
 author = "Anders Nilsson and Anders Ive and Torbj{\"o}rn Ekman and G{\"o}rel Hedin",
  title= "{Implementing Java Compilers Using ReRAGs}",
  journal = "{Nordic Journal of Computing}",
  volume = "11",
  number = "3",
  year= {2004},
}

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: