Kitten is a statically typed, stack-based functional programming language designed for simplicity, speed, and safety. This is an in-progress implementation of that language, including:
-
An interactive console for testing code.
-
An interpreter.
-
A compiler targeting C99.
-
Visit the official site.
-
Browse some examples.
-
Skim a quick intro.
-
Read a (work in progress) tutorial.
To build the compiler, you need GHC 7.10. Simply run:
git clone https://github.com/evincarofautumn/kitten.git
cd kitten
make
You can run the integration tests concurrently with make -jn
, where n
is the number of concurrent jobs. If you are working on the compiler, you can use make dev
to avoid checking the library dependencies on every rebuild.