Commit Graph

8 Commits

Author SHA1 Message Date
Bruce Hill
4fa9757fa2 Better handling of parsing non-filechunks text. 2018-07-22 14:57:56 -07:00
Bruce Hill
4af50ab2dd Updated so files without multiple chunks parse as
actions/lists/blocks, etc. Also fixed escaped blocks, which weren't
previously working.
2018-07-22 13:26:35 -07:00
Bruce Hill
878fff6db5 Added documentation. 2018-07-20 19:36:18 -07:00
Bruce Hill
9cfabfd435 Fix to prevent blocks from recursively capturing themselves. 2018-07-20 18:07:12 -07:00
Bruce Hill
568e21dc29 Removed 'block' from everywhere except inside actions and
FileChunks. They're not really supposed to go there, and if they do, it
will cause an error on compilation. This just fixes that to be a parse
error instead of a compile error.
2018-07-20 17:54:58 -07:00
Bruce Hill
77a338c167 Oops, didn't mean to check in smushed_action. 2018-07-17 17:25:28 -07:00
Bruce Hill
0442c8dd21 Overhaul of comment handling, plus a few fixes (e.g. a fix for indented
text that begins with a nomsu comment)
2018-07-17 14:12:51 -07:00
Bruce Hill
be06fc096a Major changes to how versioning and parsing work. This should be a
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.
2018-07-15 19:43:28 -07:00