A Case Study in Modular Programming: Using AspectJ and OCaml in an Undergraduate Compiler Project

Forfattere

Aske Simon Christensen
Jan Midtgaard
Dept. of Computer Science, Aarhus University
Johnni Winther
Ian Zerny

Synopsis

We report our experience in using two different languages to build the same software project. Specifically, we have converted an entire undergraduate compiler course from using AspectJ, an aspect-oriented language, to using OCaml, a functional language. The course has evolved over a period of eight years with, on average, 60 students completing it every year. In this article, we analyze our usage of the two programming languages and we compare and contrast the two software projects on a number of parameters, including how they enable students to write and test individual compiler phases in a modular way. 

Forsidebillede til A Case Study in Modular Programming: Using AspectJ and OCaml in an Undergraduate Compiler Project
Publiceret
maj 7, 2015

Detaljer om denne monografi

ISBN-13 (15)
978-87-7507-314-6
Date of first publication (11)
2015-04-21
doi
10.7146/aul.6.7