This is the testbed for the compiler for the new MetaC programming language.
In order to fully compile the MetaC compiler, you'll need at least the following:
For example on Ubuntu, you would run the following:
$ sudo apt-get install build-essential libtool default-jre
The MetaC compiler does not itself depend on the Java runtime, but it uses the Java program ANTLR to generate the target C lexer/parser code. In the future, it will not be required at all, except in "maintainer mode". The ANTLR C runtime that the compiler uses is compiled directly in so that the target machine isn't required to have it installed.
To compile and install the MetaC compiler, run the following commands:
$ ./configure $ make $ sudo make install
To see if the compiler is installed check the output of the following command:
$ which metacc
The result should be something like:
You can invoke the compiler on your source files as such:
$ metacc -o mybin main.mc [...]
mybin is the output binary,
main.mc is the MetaC source file with
main entry point function and
[...] is zero or more source files.