aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
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-20Auto-formatted and auto-upgraded everything!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-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-12All tests passing.Bruce Hill
2018-07-10Fixed up line numbers for generated code.Bruce Hill
2018-06-26Cleaning up metaprogramming a bit and fixing/adding test for recursionBruce Hill
control flow.
2018-06-23Moved console colors from core/ into lib/Bruce Hill
2018-06-23Fixed test spewBruce Hill
2018-06-23Fixed up nomsupath behavior and refactored file stuff into its own file.Bruce Hill
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-18Added test for multiple labels.Bruce Hill
2018-06-18Initial working version.Bruce Hill
2018-06-15Updating tests.Bruce Hill
2018-06-15Improvements to object system.Bruce Hill
2018-06-14Some cleanup and fixes. Simplifying a lot of code, and extending theBruce Hill
flexibility of scoping. Redesigned Object system too.
2018-06-14Reshuffling some files.Bruce Hill
2018-06-14More streamlining and cleanup. Especially for core/metaprogramming.nomBruce Hill
2018-06-12Working version.Bruce Hill
2018-06-12Lots of optimizations and simplifications, especially towards gettingBruce Hill
better performance on luajit.
2018-06-12Removed dependency on 'immutable' library. This lets LuaJIT do moreBruce Hill
aggressive optimizations and generally helps performance. Some safety is lost, but I think the performance gains, reduced complexity, and reduced dependencies are worth it.
2018-06-06Added list/dict metatables to make comparison and string representationsBruce Hill
simpler. Also deleted Counters.
2018-06-04Cleanups to try/catch logic and object logic.Bruce Hill
2018-05-30Simplified and correctified lib/object (though the codegen still needBruce Hill
streamlining), added a .stub member to Action trees, and switched Source's repr to be @filename[start:stop] instead of "filename[start:stop]"
2018-05-27Some tweaks/cleanup on the nomsu code as well as adding variableBruce Hill
mangling to 'parse % as %' to make almost hygienic macros.
2018-05-26Re-added sources.Bruce Hill
2018-05-24Misc changes, fixed up Object lib and tests.Bruce Hill
2018-05-16Initial working version.Bruce Hill
2018-05-15Removed "for all"-style iteration and changed "for % from 1 to 10"-styleBruce Hill
to "for % in 1 to 10" for consistency.
2018-05-15Adding support for coroutines, and cleaning up comment syntax.Bruce Hill
2018-05-15More API cleanup, and fixed a bug with optimized lua files generatingBruce Hill
spurious circular import errors.
2018-05-15Minor cleanups changes.Bruce Hill
2018-05-10Added scoping test.Bruce Hill
2018-05-10Cleanup: removed "File" type trees (now just Block), overhauledBruce Hill
how_do_i.nom, added "result of %" macro, which allowed comprehensions to be way more concisely defined. Moved len() operator into the nomsu environment.
2018-05-09Renamed "export" to "external"Bruce Hill
2018-05-03Overhaul with smaller, more concise codebase around definingBruce Hill
actions/macros, and deleting some dead code.
2018-04-30Fix for math expression parsingBruce Hill
2018-04-28Overhaul of command-line API. It's a bit cleaner now.Bruce Hill
2018-04-27Better text interpolation/handling of "\". Also added syntax support forBruce Hill
(statement; statement)
2018-04-25Removing end-of-line ":" and "(..)" for blocks (they just useBruce Hill
indentation now).
2018-04-19All tests passing (except object)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-02-07Added unicode test.Bruce Hill
2018-02-02Restructured the nomsu files to group all the essentials into core/ andBruce Hill
all the optionals into lib/. lib/core.nom and tests/all.nom are no longer needed now.
2018-01-31Added test for OO.Bruce Hill
2018-01-29Fixed error->barfBruce Hill
2018-01-26Added a ton of tests for virtually all the functionality. Helped me findBruce Hill
and fix a lot of latent problems.