aboutsummaryrefslogtreecommitdiff
path: root/readme.txt
blob: f187488042122e3c4b0c8dbfebd56f355ef32578 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
lisk
----

an educational lisp interpreter written in haskell


build and run
-------------

nix:
  
  cabal2nix . > default.nix
  nix-build release.nix
  ./result/bin/lisk


cabal:

  cabal run


usage
-----

$ lisk
;;; Entering lisk repl ...
(lisk)> (+ 1 2 3)
Right 6
(lisk)> (not (= 2 3))
Right #t
(lisk)> '(a b c)
Right (a b c)



todo
----

apart from lines/blocks marked with TODO in the source
files:

* implement correct double/int interaction (src/Operators.hs)
* implement boolean operations: and, or
* rectify Ord implementation for LispNumber (src/Operators.hs)
* implement property based testing with quickcheck (tests/Properties.hs)