aboutsummaryrefslogtreecommitdiff
path: root/lib/core/things.nom
AgeCommit message (Collapse)Author
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-18Added `tree` back as a parameter to compile actions, which helps withBruce Hill
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-16Overhauling OO-API a little to make it more minimalistic.Bruce Hill
2019-01-16Moved things into core/Bruce Hill