Webbläsaren som du använder stöds inte av denna webbplats. Alla versioner av Internet Explorer stöds inte längre, av oss eller Microsoft (läs mer här: * https://www.microsoft.com/en-us/microsoft-365/windows/end-of-ie-support).

Var god och använd en modern webbläsare för att ta del av denna webbplats, som t.ex. nyaste versioner av Edge, Chrome, Firefox eller Safari osv.

Implementing Java Compilers Using ReRAGs

Författare

Summary, in English

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.

Publiceringsår

2004

Språk

Engelska

Sidor

213-234

Publikation/Tidskrift/Serie

Nordic Journal of Computing

Volym

11

Issue

3

Dokumenttyp

Artikel i tidskrift

Förlag

Publishing Association Nordic Journal of Computing

Ämne

  • Computer Science

Nyckelord

  • Java
  • compiler construction
  • Object-Orientation

Status

Published

Forskningsgrupp

  • LUCAS

ISBN/ISSN/Övrigt

  • ISSN: 1236-6064