diff options
-rw-r--r-- | readme.txt | 46 |
1 files changed, 43 insertions, 3 deletions
diff --git a/readme.txt b/readme.txt index 76f571f..169c948 100644 --- a/readme.txt +++ b/readme.txt | |||
@@ -1,8 +1,48 @@ | |||
1 | lam --- a lisp in lua | 1 | lam(n.) -- where you go when a scheme goes bad |
2 | by C. Duckworth | 2 | by C. Duckworth |
3 | 3 | ||
4 | lam(n.) -- where you go when a scheme goes bad | 4 | about lam |
5 | --------- | ||
6 | |||
7 | lam is my little toy lisp evaluator. written in lua! | ||
8 | (no, it isn't fennel.) | ||
9 | |||
10 | this is /very much/ a work in progress. | ||
11 | lam uses lua 5.1 or luajit. | ||
12 | it might work elsewhere, but i've not tested it on those. | ||
13 | |||
14 | using lam | ||
15 | --------- | ||
16 | |||
17 | you can set up a repl of lam to test it out: | ||
18 | |||
19 | > make repl | ||
20 | |||
21 | all of lua's math.* functions are available, as well as | ||
22 | |||
23 | - + | ||
24 | - * (more math functions to come!) | ||
25 | - null? | ||
26 | - number? | ||
27 | - symbol? | ||
28 | - apply | ||
29 | - begin | ||
30 | - map | ||
31 | - car | ||
32 | - cdr | ||
33 | - list | ||
34 | |||
35 | and special forms | ||
36 | |||
37 | - quote | ||
38 | - define | ||
39 | - lambda | ||
40 | |||
41 | lam limitations | ||
42 | --------------- | ||
5 | 43 | ||
6 | this is /very much/ a work in progress | 44 | - lam just has numbers and operations on them |
45 | - uh, and symbols. and lists. and lambdas and environments. | ||
7 | 46 | ||
47 | --------------------------- | ||
8 | contributions/help WELCOME! | 48 | contributions/help WELCOME! |