8a01efc4e0
Added Range (1 to 3) and a bunch of tests for inverse dicts.
2019-02-02 19:44:41 -08:00
bc41cc3a24
Switched to have colors/utf8 be optional, fixed an issue with currently
...
running files leaking when errors occurred (causing spurious circular
import errors), and improved tutorial.
2019-01-29 16:17:33 -08:00
b77b953fa3
Removed namespace colliding of * is not *
(using the isinstance
...
version, not the != version)
2019-01-27 02:05:02 -08:00
e672524763
Added extra test for safety.
2019-01-27 02:04:38 -08:00
8b850322b7
Added time module for real.
2019-01-27 02:04:06 -08:00
a6ad7f95df
Added Time library to core.
2019-01-27 02:03:43 -08:00
e6d9996b12
Fail no longer prepends 'Failure:' automatically, now fail_at() does if
...
no prefix is there.
2019-01-27 02:03:03 -08:00
a1b559a3a2
Added metatables for bool, number, function, coroutine. Added
...
run-time check to make sure precompiled code used the same version of
Lua. Methods can now be used in (* compiles to *), etc.
2019-01-25 15:50:51 -08:00
364f3c894b
'say' is now it's own action, rather than a 'print' clone, which lets it
...
handle multiple arguments better.
2019-01-23 15:43:19 -08:00
e181c66ae4
Switching to use _1_as_lua()
2019-01-23 15:43:06 -08:00
fb20a1f48a
Added _1_as_text(), which converts true -> yes, false -> no.
2019-01-23 15:42:50 -08:00
ea8ca28ffb
Added honeypot compile action that detects if you try to do an 'else'
...
without an 'if' and gives a helpful message.
2019-01-23 15:28:40 -08:00
f746ba34d7
Moved all the text method stuff into text.moon instead of splitting
...
across string2/containers. Modified the type stuff to output better type
names and use (a Dict) and (a List) instead of (Dict) and (List). (Text)
now also has a proper constructor. (assume) now also handles a bunch of
different assumptions with smart error messages.
2019-01-22 16:16:53 -08:00
5a99a24176
Better error handling.
2019-01-18 20:46:10 -08:00
10bd72e858
Added tree
back as a parameter to compile actions, which helps with
...
better error reporting, e.g. for (fail) (no arguments). Overall better
error reporting now. Also added shorthand ("Action" tree with ...) for
(SyntaxTree {.type = "Action", .1 = ...}).
2019-01-18 14:22:48 -08:00
520acd3979
Overhauling OO-API a little to make it more minimalistic.
2019-01-16 21:33:30 -08:00
1cbf9f3e07
Moved things into core/
2019-01-16 16:38:15 -08:00
8ca7749b55
Better error messaging (using pretty_error in more places)
2019-01-16 16:32:02 -08:00
bf37295fae
Updating to v6.15, which includes "external (...)" instead of separate
...
'externally' versions of stuff, and some auto-formatting.
2019-01-15 15:54:28 -08:00
27433f4bf1
Added missing newline
2019-01-14 17:48:39 -08:00
9fceff7e78
Added (SyntaxTree {...} ...) shorthand for SyntaxTree{..., ...} and
...
added some shebangs.
2019-01-14 16:32:11 -08:00
c1c32688a4
Overhaul in progress, mostly working. Moved all the nomsu packages into
...
lib/, including core/*. Changes to how nomsu environments and importing
work.
2019-01-14 15:43:24 -08:00