Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Compiler for the Meta C language
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

MetaC Compiler

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:

  • GCC
  • Autotools
  • Libtool
  • Java

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 [...]

Where mybin is the output binary, is the MetaC source file with the main entry point function and [...] is zero or more source files.

Something went wrong with that request. Please try again.