Commit Graph

8 Commits

Author SHA1 Message Date
a1849da175 Autoformat (mostly just to do with the new
blank-line-after-end-of-multi-indent-block rule
2019-03-27 15:22:46 -07:00
f4dd9664bf Added support for __index 2019-03-27 14:40:35 -07:00
938adbfe44 Switching more verbose ("Action" tree with "foo" $x) syntax to `(foo
`$x) when possible
2019-03-20 16:16:41 -07:00
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