aboutsummaryrefslogtreecommitdiff
path: root/lib/core/control_flow.nom
AgeCommit message (Collapse)Author
2019-03-20Restoring `(foo) syntax to \(foo)Bruce Hill
2019-03-20Switching more verbose ("Action" tree with "foo" $x) syntax to `(fooBruce Hill
`$x) when possible
2019-03-20Auto-updated to 7.0.0 syntax and removed some shims.Bruce Hill
2019-03-14Replacing (size of $) with (#$) as should have been done before.Bruce Hill
2019-03-13Made iteration easier to work with by using .__inext and .__next forBruce Hill
custom iteration, and a custom ipairs() and pairs() to use that.
2019-03-09Consolidating iteration around iterable ranges (and case-specificBruce Hill
optimizations when possible).
2019-02-05Bunch of changes:Bruce Hill
- Added shebangs to generated code output - SyntaxTree:map() -> SyntaxTree:with(), and corresponding changes to metaprogramming API - Added (return Lua 1) shorthand for (return (Lua 1)) - (1 and 2 and 3) compile rule mapping to -> (1 and (*extra arguments*)) - Don't scan for errors, just report them when compiling - Syntax changes: - Added prefix actions (e.g. #$foo) - Operator chars now include utf8 chars - Ditch "escaped nomsu" type (use (\ 1) compile action instead)
2019-01-23Added honeypot compile action that detects if you try to do an 'else'Bruce Hill
without an 'if' and gives a helpful message.
2019-01-22Moved all the text method stuff into text.moon instead of splittingBruce Hill
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-16Overhauling OO-API a little to make it more minimalistic.Bruce Hill
2019-01-16Better error messaging (using pretty_error in more places)Bruce Hill
2019-01-15Updating to v6.15, which includes "external (...)" instead of separateBruce Hill
'externally' versions of stuff, and some auto-formatting.
2019-01-14Overhaul in progress, mostly working. Moved all the nomsu packages intoBruce Hill
lib/, including core/*. Changes to how nomsu environments and importing work.