A simple lisp.
Form | Description | Example |
---|---|---|
lambda |
Define anonymous functions | (lambda (x) (* x x)) |
set |
Define variables | (set 'foo 42) |
if |
Conditional evaluation | (if true ":D" "D:") |
+-*/ |
Artithmetic operators | (+ 1 (/ 4 2.0)) |
= |
Comparison | (= 1 2) |
- Install rust
git clone https://github.com/lukad/chao.git
cd chao
cargo build --release