The browser you are using is not supported by this website. All versions of Internet Explorer are no longer supported, either by us or Microsoft (read more here: https://www.microsoft.com/en-us/microsoft-365/windows/end-of-ie-support).

Please use a modern browser to fully experience our website, such as the newest versions of Edge, Chrome, Firefox or Safari etc.

JavaRAG: A Java Library for Reference Attribute Grammars

Author

Summary, in English

Reference attribute grammars (RAGs) is a powerful formalism for developing modular extensible compilers and program analysis tools. This paper presents JavaRAG, an implementation of RAGs as a Java library that is independent of the abstract syntax tree structure. This makes it possible to extend legacy compilers implemented in Java with RAG computations. We have evaluated the approach by integrating with EMF, ANTLR, and hand-built abstract syntax trees, and we compare performance and specification size with JastAdd and Kiama which are other RAG-based tools. Our JavaRAG library is open source and is used in a compiler for the dataflow language CAL.

Publishing year

2015

Language

English

Pages

55-67

Publication/Series

Proceedings of the International Conference on Modularity

Document type

Conference paper

Publisher

Association for Computing Machinery (ACM)

Topic

  • Computer Science

Conference name

ACM International Conference on Modularity

Conference date

2015-03-16 - 2015-03-19

Conference place

Fort Collins, United States

Status

Published

Project

  • ELLIIT LU P05: Scalable Language Tools for Cyber-Physical Systems

Research group

  • ESDLAB
  • LUCAS

ISBN/ISSN/Other

  • ISBN: 978-1-4503-3249-1