summaryrefslogtreecommitdiff
path: root/repl.lua
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-04-09 17:07:41 +0100
committerubq323 <ubq323@ubq323.website>2023-04-09 17:07:41 +0100
commitcb960abcd79e3a659f1abedc407cb388f32d8ff8 (patch)
tree2a263366d7acdc37a335acda54c1d07eaa245453 /repl.lua
parentb638ef3b070464f8a7c93e260d244d1516829368 (diff)
launcher script and print info
Diffstat (limited to 'repl.lua')
-rw-r--r--repl.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/repl.lua b/repl.lua
index 274d17b..8abb822 100644
--- a/repl.lua
+++ b/repl.lua
@@ -59,6 +59,9 @@ local function result(ok,...)
print("error: "..(...))
end
end
+io.write("lua_repl_good for ".._VERSION)
+if jit then io.write(" ("..jit.version..")") end
+io.write"\n"
while true do
local f,err = read_chunk()