aboutsummaryrefslogtreecommitdiff
path: root/nomsu.peg
AgeCommit message (Collapse)Author
2018-04-17Disabled comment transpilation for now.Bruce Hill
2018-04-17Moving tree_to_lua into each of the Nomsu tree types, which are now inBruce Hill
their own file.
2018-04-11Work in progress...Bruce Hill
2018-04-08Cleaned up LHS of "." operator to avoid adding unnecessary parens soBruce Hill
Lua's parser doesn't get confused by (x).y = 1.
2018-04-06Initial working version.Bruce Hill
2018-02-13Initial branch of switching to using immutable types.Bruce Hill
2018-01-30Added back in support for ":" indented blocksBruce Hill
2018-01-30Removed indented interpolations for inline strings.Bruce Hill
2018-01-30Overhaul of indentations. Now strictly requiring exactly 4 spacesBruce Hill
everywhere, and supporting indented string interpolations.
2018-01-26Removed "\.." syntax, and just added support for the literal ".." asBruce Hill
long as it's not followed by an indented region.
2018-01-23Removed dead code.Bruce Hill
2018-01-19Refactored syntax a bit so that ":" isn't necessary for a block, and canBruce Hill
be used for inline expressions instead. Also, dict literals now use ":" instead of "=".
2018-01-15Added support for translating comments instead of dropping them.Bruce Hill
2018-01-11Fixed an error in the peg for dicts.Bruce Hill
2018-01-11Renamed String -> TextBruce Hill
2018-01-08Modernized the codebase a bit to include "immediately:" for immediatelyBruce Hill
running code before further parsing takes place. That means that in the default case, whole files can be run at once, which makes all but the weirdest edge cases make a lot more sense and operate smoothly.
2018-01-07Removed semicolons and compound statements, added support for (foo: a b)Bruce Hill
style syntax for thunks that continue till the end of paren groups.
2018-01-03Updated examples and made operator characters not stick to each other.Bruce Hill
Useful for <%x>=6 properly registering as <%x> = 6.
2018-01-03Reworked {} a bit and added dicts to the core language. Did some moreBruce Hill
testing on string interpolations too.
2017-12-30Got everything mostly working.Bruce Hill