diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | repl.lua | 8 |
3 files changed, 11 insertions, 1 deletions
diff --git a/Makefile b/Makefile index 42349fb..617a695 100644 --- a/Makefile +++ b/Makefile | |||
@@ -13,7 +13,7 @@ luarepl: | |||
13 | 13 | ||
14 | .PHONY: repl | 14 | .PHONY: repl |
15 | repl: | 15 | repl: |
16 | $(LUA) -e 'require("repl").repl("lam> ")' | 16 | $(LUA) -e 'require("repl").repl("> ")' |
17 | 17 | ||
18 | .PHONY: test | 18 | .PHONY: test |
19 | test: | 19 | test: |
diff --git a/README.md b/README.md index 1dcd392..152b0c7 100644 --- a/README.md +++ b/README.md | |||
@@ -1,5 +1,7 @@ | |||
1 | # lam -- Lisp Acdw Made | 1 | # lam -- Lisp Acdw Made |
2 | 2 | ||
3 | ![lam logo by m455](/lam/tree/logo.png) | ||
4 | |||
3 | hi, i'm acdw. | 5 | hi, i'm acdw. |
4 | this is my lisp. | 6 | this is my lisp. |
5 | 7 | ||
diff --git a/repl.lua b/repl.lua index a3fdf95..016df17 100644 --- a/repl.lua +++ b/repl.lua | |||
@@ -16,6 +16,14 @@ local function schemeprint (x) | |||
16 | end | 16 | end |
17 | end | 17 | end |
18 | 18 | ||
19 | local lam = [[ | ||
20 | @,,,@ | ||
21 | <|^ ^|> l a m | ||
22 | | /) 0015 | ||
23 | |I /))) acdw | ||
24 | ------------- | ||
25 | ]] | ||
26 | |||
19 | function m.repl (prompt, infile, out) | 27 | function m.repl (prompt, infile, out) |
20 | -- PROMPT should be a string, INFILE is a filename, and OUT is either a | 28 | -- PROMPT should be a string, INFILE is a filename, and OUT is either a |
21 | -- filename, nil (in which case it will be stdout), or false (which | 29 | -- filename, nil (in which case it will be stdout), or false (which |