Kite is language with a strong emphasis on functional development. It is statically and strongly typed.
Wanna know more about the design and other features? See the wiki.
-
Get the source:
$ git clone https://github.com/altschuler/kite.git
-
Make sure you have
cabal
installed, and then install dependencies:$ cabal install
-
Build with
make
. This will generate an executable indist/build/kite/
.$ make
-
To install an executable in
~/.cabal/bin
, which will be accessible for your local user:$ cabal install
Make sure that you have the
~/.cabal/bin
directory in yourPATH
. -
Optionally, install globally by putting an executable in
/usr/local/bin
(requires root privileges).# make install
There are two test-suites:
-
One in Haskell, which tests each component of the compiler:
$ make test
-
And one written in Kite, testing itself:
$ kite tests/kunit/Runner.kite $ ./main
For a quick example, try running one of the examples in example/
.
$ kite examples/Test.kite
The compiler only targets JavaScript, as of now, so make sure you have node
installed.
The name of the output file defaults to main
, which executes with node
.
$ ./main
Read more about the syntax in the wiki or look at some of the examples.
Feel free to submit a pull request or issue! We are open to ideas and all kinds of feedback.
This project is licensed under the MIT-license. Read more.