aboutsummaryrefslogtreecommitdiff
path: root/nomsu.moon
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-09-14 19:17:09 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-09-14 19:17:16 -0700
commite22c35681f90740b4f5006c30b3f154ebd1f8ea2 (patch)
treec7f04d968bade120ebf75cfa0b9f073602917122 /nomsu.moon
parent7112af7cb6ee52f4ef9664db9c03db52d8c73ac9 (diff)
Auto-upgraded everything.
Diffstat (limited to 'nomsu.moon')
-rwxr-xr-xnomsu.moon14
1 files changed, 7 insertions, 7 deletions
diff --git a/nomsu.moon b/nomsu.moon
index 0c989e6..fcae65d 100755
--- a/nomsu.moon
+++ b/nomsu.moon
@@ -184,20 +184,20 @@ run = ->
unless args.primary_file or args.exec_strings
-- Run in interactive mode (REPL)
nomsu\run [[
-#!/usr/bin/env nomsu -V2
+#!/usr/bin/env nomsu -V4
use "lib/consolecolor.nom"
action [quit, exit]: lua> "os.exit(0)"
action [help]:
- say ".."
- This is the Nomsu v\(Nomsu version) interactive console.
+ say "\
+ ..This is the Nomsu v\(Nomsu version) interactive console.
You can type in Nomsu code here and hit 'enter' twice to run it.
- To exit, type 'exit' or 'quit' and hit enter twice.
-
-say ".."
+ To exit, type 'exit' or 'quit' and hit enter twice."
+say "\
+ ..
\(bright)\(underscore)Welcome to the Nomsu v\(Nomsu version) interactive console!\(reset color)
press 'enter' twice to run a command
- \("")]]
+ "]]
for repl_line=1,math.huge
io.write(colored.bright colored.yellow ">> ")
buff = {}