Skip to content

tmiw/kite-llvm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains the current source code for the Kite LLVM "port"
(more like a total rewrite). I hope to avoid many of the mistakes I made
when I wrote the code that would later become the 1.0 release.

Right now, enough of Kite has been implemented to allow for the execution
of simple scripts (see the tests/ folder for details). This version is 
definitely not nearly ready for prime time. You have been warned.

PREREQUISITES:
--------------
* LLVM >= 3.0 (install the development packages your distro provides)
* C++ compiler (tested on g++ 4.2.1 on OSX, 4.5.3 on Debian)
* Bison/Flex (for parsing)
* Boost: Regex (for System.regex)
* Boehm GC (http://www.hpl.hp.com/personal/Hans_Boehm/gc/)

BUILDING:
---------
$ autoreconf -i
$ ./configure --with-gc=/usr/local (or other path to libgc)
$ make
[wait several minutes]
$ make check
$ make install

USAGE:
------
$ ./kite
"hello world"|print;
^D
hello world
$ ./ikt
Interactive Kite console
ikt> "hello world"|print;
---> hello world
ikt> ^D
$

MORE INFO:
----------
http://www.kite-language.org/