aboutsummaryrefslogtreecommitdiff
path: root/parser.lua
AgeCommit message (Collapse)Author
2018-12-18Initial pass on updating syntax.Bruce Hill
2018-09-18Got rid of repr() use and replaced with :as_lua() or :as_nomsu() in asBruce Hill
many places as possible.
2018-09-14Renaming parser2 to parser.Bruce Hill
2018-09-14Removing the remnants of the old parser system.Bruce Hill
2018-09-14Fixes and improvements, and ported nomsu.3.peg to new tidier syntax.Bruce Hill
2018-09-12Initial working version.Bruce Hill
2018-09-06Removed the mandatory "_" prefix for Nomsu variables, renamed "list" andBruce Hill
"dict" to "List" and "Dict", or in Nomsu's environment, "_List" and "_Dict", removed uuid.lua and replaced it with core/id.nom for handling IDs.
2018-08-28Lots of overhaul, supporting a new Object Oriented approach (e.g.Bruce Hill
%obj::action 1 2) and syntax.
2018-07-24Fix for source being too long.Bruce Hill
2018-07-23Renamed nomsu_tree -> syntax_tree, so anyone looking for syntax treesBruce Hill
knows where to look.
2018-07-22Better handling of parsing non-filechunks text.Bruce Hill
2018-07-22Committing built lua files.Bruce Hill
2018-07-20Improving nomsu codegen.Bruce Hill
2018-07-19Fixed some bugs in trailing_line_len() and refactored tree_to_nomsu intoBruce Hill
separate inline/not-inline functions.
2018-07-17Improving nomsu codegen.Bruce Hill
2018-07-17Oops, didn't mean to check in smushed_action.Bruce Hill
2018-07-17Improvements to nomsu codegen.Bruce Hill
2018-07-17Overhaul of comment handling, plus a few fixes (e.g. a fix for indentedBruce Hill
text that begins with a nomsu comment)
2018-07-15Major changes to how versioning and parsing work. This should be aBruce Hill
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-14Fixed up comment generation to old standardsBruce Hill
2018-07-13Switching to use 'unpack' for indentation grouping.Bruce Hill
2018-07-12Fixing up comments, slowly.Bruce Hill
2018-07-12All tests passing.Bruce Hill
2018-07-12Initial version of new pegfile. works (ish)Bruce Hill
2018-07-09Adding some compatibility stuff.Bruce Hill
2018-06-28Improvements to nomsu codegen (comments are now retained) and someBruce Hill
improvements to handling of stdin and fixes for error reporting.
2018-06-27Minor fixes.Bruce Hill
2018-06-24Reducing imports.Bruce Hill
2018-06-24Cleaning up code and shuffling things around.Bruce Hill
2018-06-23Fixed up nomsupath behavior and refactored file stuff into its own file.Bruce Hill
2018-06-23Added versioning system.Bruce Hill
2018-06-22Adding fancy makefile that compiles all the moonscript files andBruce Hill
precompiles all the nomsu files and can build a nice executable file and install it wherever you like.
2018-06-21Cleanup of some metaprogramming stuff, as well as adding support forBruce Hill
"package.nomsupath" to search for files in different locations, and prioritizing use of "luafilesystem" over system calls.
2018-06-19Fixing up some error reportingBruce Hill
2018-06-19Lots of cleanup.Bruce Hill
2018-06-18More streamlining and cleanup.Bruce Hill
2018-06-18Moved parsing into a different fileBruce Hill