From 0442c8dd216f16c7371873a8e8fd8bf83d30dad0 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 17 Jul 2018 14:12:11 -0700 Subject: Overhaul of comment handling, plus a few fixes (e.g. a fix for indented text that begins with a nomsu comment) --- nomsu.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'nomsu.lua') diff --git a/nomsu.lua b/nomsu.lua index 6080637..0f22eff 100644 --- a/nomsu.lua +++ b/nomsu.lua @@ -271,10 +271,11 @@ run = function() end end if #file_queue == 0 then - nomsu:run([[use "core" + nomsu:run([[#!/usr/bin/env nomsu -V2 +use "core" use "lib/consolecolor.nom" action [quit, exit]: lua> "os.exit(0)" -action [help] +action [help]: say ".." This is the Nomsu v\(Nomsu version) interactive console. You can type in Nomsu code here and hit 'enter' twice to run it. -- cgit v1.2.3