Commit Graph

5 Commits

Author SHA1 Message Date
e665d9725c Auto-updated to 7.0.0 syntax and removed some shims. 2019-03-20 15:55:57 -07:00
72d699fe86 Bunch of changes:
- 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-02-05 15:47:01 -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