Merging Archium with Java
Enabling Archium to be used as a superset of Java
Frans Kremer, Joris van der Burgh
SEARCH Group
University of Groningen
Department of Mathematics and
Computing Science
PO Box 800 98700AV Groningen
http://search.cs.rug.nl
Studentnumbers 253261 , 236234
Date 16 january 2005
Our graduate-assignment was to further develop the compiler of a new, experimental programing
language called Archium. This programming language is designed to be a superset of Java and is
based upon component-oriented programming.
The current Archium compiler’s implementation can only process Java as a block of text; the
superset and the language are separated. As a consequence, the usability of Java is severely
limited because the compiler cannot validate the code. Furthermore, interaction between the
superset and the language is impossible. To solve these problems, Archium and Java have to be
merged.
ArMPreP is the result of our effort to construct an automated merging tool. ArMPreP can automatically
merge Archium with another (target) programming language by automatically analyzing
the target languages’ structure and merging the relevant parts.
After developing and deploying ArMPreP with Java 1.5 as the target language, we created an
extensive example application to test and validate the new, automatically generated, compiler.