aboutsummaryrefslogtreecommitdiff
path: root/nomsu.moon
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2017-10-07 16:25:17 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2017-10-07 16:25:17 -0700
commitb7973b0afa3b5ab4df803bc102cd0f3f4b8db671 (patch)
treedd07dcb13884d983d67890230f661216016a7372 /nomsu.moon
parent88077bcac3a8c8127685a0efa7db891a46facf10 (diff)
Renamed ansicolors to consolecolors.
Diffstat (limited to 'nomsu.moon')
-rwxr-xr-xnomsu.moon3
1 files changed, 2 insertions, 1 deletions
diff --git a/nomsu.moon b/nomsu.moon
index 91494f1..4254ad2 100755
--- a/nomsu.moon
+++ b/nomsu.moon
@@ -15,13 +15,14 @@ re = require 're'
lpeg = require 'lpeg'
utils = require 'utils'
repr = utils.repr
-colors = require 'ansicolors'
+colors = require 'consolecolors'
colored = setmetatable({}, {__index:(_,color)-> ((msg)-> colors[color]..msg..colors.reset)})
{:insert, :remove, :concat} = table
--pcall = (fn,...)-> true, fn(...)
-- TODO:
-- check robustness/functionality of compiler mode.
+-- Maybe get GOTOs working at file scope.
-- use actual variables instead of a vars table
-- consider non-linear codegen, rather than doing thunks for things like comprehensions
-- improve indentation of generated lua code