about summary refs log tree commit diff stats
path: root/repl.lua
diff options
context:
space:
mode:
Diffstat (limited to 'repl.lua')
-rw-r--r--repl.lua8
1 files changed, 8 insertions, 0 deletions
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
17end 17end
18 18
19local lam = [[
20 @,,,@
21<|^ ^|> l a m
22 | /) 0015
23 |I /))) acdw
24 -------------
25]]
26
19function m.repl (prompt, infile, out) 27function 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