Commit Graph

9 Commits

Author SHA1 Message Date
e8e00adeaa Fixed is/== mixup 2019-01-30 23:05:44 -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
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
2daebbff27 Added compatibility rule for compile errors. 2019-01-16 16:37:54 -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
ce44ef9624 Added support for --upgrade-from=foo/1.0 without --upgrade-to= (assume
latest version)
2019-01-14 17:58:59 -08:00
ddef8be3df Moved compatibility to lib/ and fixed path searching for .peg files. 2019-01-14 17:14:57 -08:00