The MAML Compiler (XMC) Download Page
The MAML language and its compiler are in pre-beta stage, and are
under evaluation. The compiler is freely downloadable for evaluation
purposes. Later the system will be put under GNU license. All of our
employees are trying hard to make them usable, however we do not accept
any responsibility for the damages that may result from errors in
the code or which are in any way related to the software.
If you notice any errors, please notify us.
The MAML compiler was written in ANSI C using the gcc 184.108.40.206 under
Linux. It was tested in this environment, but may run on other platforms
too. However, it is likely that the Makefile for building the compiler
and the one generated by the compiler for the models will only work
under UN*X systems. You should have Swarm
installed on your system to be able to use our software (for the
supported versions see this
The MAML compiler also works with the NT version of Swarm under the Cygnus UNIX emulation.
The current version is: v0.03.2.1330 (Support for Swarm 2.1.1)
The compiler can be downloaded in different formats: find the
one which is most convenient for you.
Use your browser's 'Save this link' function to download and save the chosen
file. With most of the browsers this function is available on the pop-up menu
that comes up using the right mouse button over a link.
To download an earlier version of the compiler go to
If you downloaded the source code for
xmc you have to compile it.
If you got the compressed (
tar.gz) file, you have to uncompress it first:
gzip -d filename.tar.gz
Extract the files from the tar archieve when uncompression is done,
or if you downloaded the uncompressed (
tar -xvf filename.tar
Users of gnu tar can omit the
gzip step and use the
z flag to extract the
tar -xzvf filename.tar.gz
Use the make xmc command to build the compiler. This will produce an executable file called xmc,
which is the compiler itself. Having this, you are ready to create your models.
Just make sure xmc is in
your PATH whenever you want to compile.
To get a short overview on the use of the compiler, run it without any parameters.
A brief usage guide
To compile your MAML code into a Swarm application you must use the xmc command. The usual syntax for
(for further details of the compiler, see the instructions given when you run
it without parameters, or see this
page). If your code is correct, the command above generates
the source code of a Swarm application in the MAML_target/ subdirectory
(note that this is the default place, but you can define some other
location as well). This generated source code usually constitutes
To make an executable, you have to follow the instructions xmc gives after generating the Swarm code. These
instructions are also detailed below:
First go to the target directory using the command
(Note that if you have changed the target directory, you must use the appropriate target directory name.) After
this, issue the
command. This, if successful, produces your executable with the name run.
If the executable is generated, then you are ready to try it out. This can be done by using the