| Age | Commit message (Collapse) | Author |
|
better path going forward to handling upgrades. Old syntax files will
stick around for compatibility purposes. Old syntax can be parsed into
valid syntax trees via the old syntax (.peg) files, and then old syntax
trees should be valid and can be upgraded via the normal code path. This
change has lots of improvements to Nomsu codegen too.
|
|
|
|
|
|
|
|
|
|
|
|
moved some more tests inline.
|
|
|
|
|
|
improvements to handling of stdin and fixes for error reporting.
|
|
|
|
|
|
better performance on luajit.
|
|
aggressive optimizations and generally helps performance. Some safety is
lost, but I think the performance gains, reduced complexity, and reduced
dependencies are worth it.
|
|
tiny bit.
|
|
|
|
|
|
|
|
|
|
|
|
mangling to 'parse % as %' to make almost hygienic macros.
|
|
lpeg.userdata, and switched indent/dedent/nodent to use a number to
track indentation instead of a stack.
|
|
string.
|
|
|
|
they're only used as part of Actions
|
|
|
|
|
|
'parse % as %'
generate lua code with already-substituted tree literals instead of reparsing and
substituting at parse time, and made some general optimizations.
|
|
|
|
how_do_i.nom, added "result of %" macro, which allowed comprehensions to
be way more concisely defined. Moved len() operator into the nomsu
environment.
|
|
|
|
an action.
|
|
(statement; statement)
|
|
|
|
indentation now).
|
|
|
|
|
|
|
|
their own file.
|
|
|
|
Lua's parser doesn't get confused by (x).y = 1.
|
|
|
|
|
|
|
|
|
|
everywhere, and supporting indented string interpolations.
|
|
long as it's not followed by an indented region.
|
|
|
|
be used for inline expressions instead. Also, dict literals now use ":" instead
of "=".
|
|
|