What is it?
A hobby programming language.
- compiled (through intermediate C step)
- hybrid dynamically and statically typed (optional types with a little type-inference)
- relatively fast when statically typed (in tight loops, outputted C code is as efficient as it gets)
- garbage collected (via Boehm GC)
- a bootstrapped compiler (see
- whitespace syntax (like Python but more terse)
- closures (well, anonymous blocks with access to outer scope constants)
- function, class, method annotations
- a tiny runtime library including a bit of everything (see
- no interpreter and no interpreter lock (true threading implemented with pthread)
- fancy colorized build system
It generates tiny programs with the entire runtime compiled in (or it can be run in "scripting mode"). The only runtime requirement is the C library and Boehm GC.
The problems are:
- no generics (you must use dynamic typing to get over that)
- Boehm garbage collection is conservative, it gets no type information from the compiler
How to install
Linux (sorry, no support for Mac OSX or Windows right now). It is known to build under Ubuntu 10.04 LTS and Ubuntu 12.04 LTS.
It only compiles under GCC as far as I know.
- python (for the build script)
Optional requirements for some modules:
- libsdl1.2-dev, libsdl-gfx1.2-dev libsdl-ttf2.0-dev libsdl-image1.2-dev (for SDL module)
- libgsl0-dev (for GSL module)
To install, simply run:
(You may get some errors during compiling of optional modules, the build script will write out the modules that failed.)
To run tests simply run:
And you should see:
Running language test... language test results: 90/90 Running stdlib test... language test results: 106/106 Running 2 file test... Test succeeded!