diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2017-10-07 16:25:17 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2017-10-07 16:25:17 -0700 |
| commit | b7973b0afa3b5ab4df803bc102cd0f3f4b8db671 (patch) | |
| tree | dd07dcb13884d983d67890230f661216016a7372 /nomsu.moon | |
| parent | 88077bcac3a8c8127685a0efa7db891a46facf10 (diff) | |
Renamed ansicolors to consolecolors.
Diffstat (limited to 'nomsu.moon')
| -rwxr-xr-x | nomsu.moon | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |
