about summary refs log tree commit diff stats
path: root/repl.lua
blob: 4bdd918155020251e6f2212fb7741b0afd5eef39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- lam.repl

local m = {}
local load = require("load").load

m.logo = [[
 @,,,@
<|^ ^|>  l a m
 |   /)   0015
 |I /)))  acdw
 -------------
]]

function m.repl (prompt)
	io.stderr:write(m.logo)
	return load(nil, {prompt = prompt or "> ", })
end

--------
return m