Article ID Journal Published Year Pages File Type
433972 Science of Computer Programming 2015 11 Pages PDF
Abstract

•We implemented an Oberon-0 compiler using reference attribute grammars in JastAdd.•The work is part of a tool challenge aiming at comparing compiler construction tools.•Oberon-0 is a small procedural language illustrating typical compilation problems.•We could modularize the compiler according to the artifacts defined in the challenge.•We demonstrate best practices for compiler development using JastAdd.

As a part of the LDTA 2011 Tool Challenge, we implemented a compiler for the language Oberon-0 using the metacompilation tool JastAdd. In this paper, we report on this implementation, and reflect on aspects of it such as ease of use, modularity, and safety.

Related Topics
Physical Sciences and Engineering Computer Science Computational Theory and Mathematics
Authors
, ,