diff options
author | Case Duckworth | 2024-03-04 12:54:36 -0600 |
---|---|---|
committer | Case Duckworth | 2024-03-04 12:54:36 -0600 |
commit | 25146525a1388d9e8a9e4c59fa31fbd16d9ac241 (patch) | |
tree | 5ff73b8a5f104f6057272f8923ea499b306a7cca /readme.txt | |
parent | Vendor UTF-8 (diff) | |
download | lam-25146525a1388d9e8a9e4c59fa31fbd16d9ac241.tar.gz lam-25146525a1388d9e8a9e4c59fa31fbd16d9ac241.zip |
Rename readme and makefile
Diffstat (limited to 'readme.txt')
-rw-r--r-- | readme.txt | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/readme.txt b/readme.txt deleted file mode 100644 index 523b92c..0000000 --- a/readme.txt +++ /dev/null | |||
@@ -1,67 +0,0 @@ | |||
1 | lam(n.) -- where you go when a scheme goes bad | ||
2 | by C. Duckworth | ||
3 | |||
4 | about lam | ||
5 | --------- | ||
6 | |||
7 | lam is my little toy lisp evaluator. written in lua! | ||
8 | (no, it isn't fennel.) | ||
9 | |||
10 | at least in these beginning stages, i'm basing lam heavily | ||
11 | on Norvig's lispy interpreters. the guy knows his lisp! | ||
12 | these are well-written articles. | ||
13 | |||
14 | https://norvig.com/lispy.html | ||
15 | |||
16 | this is /very much/ a work in progress. | ||
17 | lam uses lua 5.1 or luajit. | ||
18 | it might work elsewhere, but i've not tested it on those. | ||
19 | |||
20 | using lam | ||
21 | --------- | ||
22 | |||
23 | you can set up a repl of lam to test it out: | ||
24 | |||
25 | > make repl | ||
26 | |||
27 | all of lua's math.* functions are available, as well as | ||
28 | |||
29 | - +, *, /, - | ||
30 | - =, <, >, <=, >= | ||
31 | - null? | ||
32 | - number? | ||
33 | - symbol? | ||
34 | - apply | ||
35 | - begin | ||
36 | - map | ||
37 | - car | ||
38 | - cdr | ||
39 | - list | ||
40 | |||
41 | and special forms | ||
42 | |||
43 | - quote | ||
44 | - define | ||
45 | - lambda | ||
46 | |||
47 | plus, some special lam functions: | ||
48 | |||
49 | - luatype (the lua types of a value) | ||
50 | - type (the lam type of the value) | ||
51 | |||
52 | lam limitations | ||
53 | --------------- | ||
54 | |||
55 | - lam just has numbers and operations on them | ||
56 | - uh, and symbols. and lists. and lambdas and environments. | ||
57 | |||
58 | todo | ||
59 | ---- | ||
60 | |||
61 | - move schemestr from repl into pp and expand (lua/lam pp, etc) | ||
62 | - add more datatypes (strings, anyone?!) | ||
63 | - numeric tower (oof) (at least exact/inexact numbers) | ||
64 | - .... | ||
65 | |||
66 | --------------------------- | ||
67 | contributions/help WELCOME! | ||