aboutsummaryrefslogtreecommitdiff
path: root/nomsu.moon
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-05-11 13:53:40 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-05-11 13:54:24 -0700
commit95ee15982bb021e94a4976741a0bcdfe5f5d6992 (patch)
treed76886a98cf1b6655e591a98039a4044bdafbe08 /nomsu.moon
parent113782ebd1c9b13284f6c418c90008734fec27ac (diff)
Switched to use inline nomsu generation for `Nomsu` tree lua
compilation and removed some dead code around Nomsu.debug
Diffstat (limited to 'nomsu.moon')
-rwxr-xr-xnomsu.moon4
1 files changed, 0 insertions, 4 deletions
diff --git a/nomsu.moon b/nomsu.moon
index e3e7217..9b1ca59 100755
--- a/nomsu.moon
+++ b/nomsu.moon
@@ -567,7 +567,6 @@ if arg and debug_getinfo(2).func != require
args <- {| (flag ";")* {:inputs: {| ({file} ";")* |} :} {:nomsu_args: {| ("--;" ({[^;]*} ";")*)? |} :} ";"? |} !.
flag <-
{:interactive: ("-i" -> true) :}
- / {:verbose: ("-v" -> true) :}
/ {:optimized: ("-O" -> true) :}
/ {:format: ("-f" -> true) :}
/ {:syntax: ("-s" -> true) :}
@@ -589,7 +588,6 @@ OPTIONS
-O Run the compiler in optimized mode (use precompiled .lua versions of Nomsu files, when available)
-f Auto-format the given Nomsu file and print the result.
-s Check the program for syntax errors.
- -v Verbose mode.
-h/--help Print this message.
-o <file> Output the compiled Lua file to the given file (use "-" to output to stdout; if outputting to stdout and -p is not specified, -p will default to /dev/null)
-p <file> Print to the specified file instead of stdout.
@@ -691,8 +689,6 @@ OPTIONS
io.stderr\flush!
run = ->
- if args.verbose
- nomsu.debug = true
for i,input in ipairs args.inputs
if input == "-" then args.inputs[i] = STDIN