Kernel is a Scheme-like programming language by John N. Shutt in which all objects are first-class.
klisp is an implementation of the Kernel Programming Language
- ($define! $and?
- ($vau x e
- ($cond ((null? x) #t)
- ((null? (cdr x)) (eval (car x) e))
- ((eval (car x) e) (apply (wrap $and?) (cdr x) e))
- (#t #f))))
This is not the classical Hello World example, here we are defining the and operator. Try that in your programming language ;)
hg clone https://bitbucket.org/AndresNavarro/klisp cd klisp/src make posix ./klisp klisp 0.3 Copyright (C) 2011-2012 Andres Navarro, Oto Havle klisp> (+ 41 1) 42 klisp>
klisp documentation is available in html format here: klisp documentation.
klisp source code is available under the MIT License. You can get it through bitbucket here: klisp Mercurial repository.
Participate in the klisp discussion group: klisp Google Group.
Create issues on the issue tracker, send patches, help documenting or spreading the word!
The Kernel Programming Language page from it's creator John N. Shutt