aboutsummaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2018-09-10Removing dead code and string.as_lua_id() (now just set on stringBruce Hill
metametatable)
2018-09-10Upgraded to 3.8 (text method changes) and fixed some bugs inBruce Hill
tree_to_nomsu.
2018-09-10Shifting towards more text methods instead of text global functions.Bruce Hill
Also fixed a bug with method call parenthesizing.
2018-09-06Made uuid action public.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-31Removing the "A_" prefix on action names, and improving the quality ofBruce Hill
as_lua_id() (guaranteed injectivity).
2018-08-30Added test for list addition.Bruce Hill
2018-08-30Auto-upgraded to 3.7Bruce Hill
2018-08-29Handling more compatibility stuff, including Lua 5.4, and a backup forBruce Hill
if openssl module is not found, and moving containers (List/Dict) into their own file, as well as bit operators (and support for __bxor, etc. metamethods in Lua 5.2/LuaJIT)
2018-08-29Actually deleting old list modification methods.Bruce Hill
2018-08-29Tweaked version 3.6 to include deprecating list append/removal functionsBruce Hill
in favor of using a method call style.
2018-08-29Fully updated to 3.6, deprecated old LuaCode global functions like "to 1Bruce Hill
write 2" and replaced them with method calls like "1::append 2"
2018-08-29Intermediate step in upgrading to 3.6. Fixed a bug with upgradingBruce Hill
methods.
2018-08-29Switched "as_lua_id" to not add an underscore by default, and just addBruce Hill
it manually to variables and A_ as a prefix to actions. Now, by default, classes and method calls don't use the A_ prefix, which means nomsu can more easily play nice with regular Lua objects.
2018-08-28Upgraded version to 3.5.5.6, corresponding to Object Oriented changes.Bruce Hill
2018-08-28Lots of overhaul, supporting a new Object Oriented approach (e.g.Bruce Hill
%obj::action 1 2) and syntax.
2018-08-27Bunch of miscellaneous changes. Paved the way a little bit for havingBruce Hill
different compiler domains.
2018-07-30Added compatibility for 2.5.5.5 (file hash changes).Bruce Hill
2018-07-30Changed autoformatting rules to ensure tests get clumped together withBruce Hill
the thing below them.
2018-07-30Fixed bitwise operators to work on Lua 5.2 and LuaJIT, and added tests.Bruce Hill
This is the first case where precompiled code is now platform-dependent.
2018-07-30Removed traceback function so debug library isn't needed.Bruce Hill
2018-07-30Simplifying.Bruce Hill
2018-07-30Added parens for correctness and methods for accessing bytes and makingBruce Hill
uppercase.
2018-07-26Switching compile action to parse action for 3-way comparison.Bruce Hill
2018-07-25Updated version numbers.Bruce Hill
2018-07-24Added parens around lambdas (% -> %), and removed them from 'result %'Bruce Hill
correspondingly.
2018-07-23Fixed blocks starting with extra newline when they start with a comment.Bruce Hill
2018-07-22Moving all the rest of the tests over to inline versions.Bruce Hill
2018-07-22Adding more inline tests.Bruce Hill
2018-07-22Re-autoformatted everything. The main changes are: no longer adding aBruce Hill
newline after 1-line indented code inside blocks, and forcing files to have a trailing newline. The trailing newline thing created a lot of spurious changes.
2018-07-22Shifting further towards having inline tests. Also added a helperBruce Hill
function for directly extracting source lines from a Source or AST.
2018-07-21Improvements working towards better inline tests. Improved handling ofBruce Hill
file spoofing and adding -e command line flag for executing a string.
2018-07-20Auto-formatted and auto-upgraded everything!Bruce Hill
2018-07-20Tweaks to the API for text matching.Bruce Hill
2018-07-18Updating to version 2.4.4.3, with new syntax for multi-statement 'if'Bruce Hill
and switch statements.
2018-07-18Upgrading to version 2.3 (main change: "=" instead of "<-" forBruce Hill
assignment)
2018-07-18Prep work for next big upgrade, including adding a shorthand forBruce Hill
upgrading actions similarly to 'parse % as %'
2018-07-17Upgraded core code to latest Nomsu verison.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 some edge cases with parsing and comments.Bruce Hill
2018-07-13Minor changes.Bruce Hill
2018-07-12Fixed accidental change.Bruce Hill
2018-07-12All tests passing.Bruce Hill
2018-07-11Fixed nomsu codegen for indented text and improved text parsing. AlsoBruce Hill
moved some more tests inline.
2018-07-10Fixed up line numbers for generated code.Bruce Hill
2018-07-10Fixing up error reporting and ripping out LDT-specific code (now aBruce Hill
debugger can be provided by a command line flag)
2018-07-09Added pattern matching for text, and comprehension versions of that andBruce Hill
file walking.
2018-06-27Minor fixes.Bruce Hill
2018-06-26Cleaning up metaprogramming a bit and fixing/adding test for recursionBruce Hill
control flow.