Projects per year
Abstract
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.
Original language | English |
---|---|
Title of host publication | Proceedings of the International Conference on Modularity |
Publisher | Association for Computing Machinery (ACM) |
Pages | 55-67 |
ISBN (Print) | 978-1-4503-3249-1 |
DOIs | |
Publication status | Published - 2015 |
Event | ACM International Conference on Modularity - Fort Collins, United States Duration: 2015 Mar 16 → 2015 Mar 19 |
Conference
Conference | ACM International Conference on Modularity |
---|---|
Country/Territory | United States |
City | Fort Collins |
Period | 2015/03/16 → 2015/03/19 |
Subject classification (UKÄ)
- Computer Sciences
Fingerprint
Dive into the research topics of 'JavaRAG: A Java Library for Reference Attribute Grammars'. Together they form a unique fingerprint.Projects
- 1 Finished
-
ELLIIT LU P05: Scalable Language Tools for Cyber-Physical Systems
Hedin, G. (PI), Fors, N. (Researcher) & Öqvist, J. (Researcher)
2016/01/01 → 2020/12/31
Project: Research