aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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-17Updating lib to v2Bruce Hill
2018-07-17Upgraded core code to latest Nomsu verison.Bruce Hill
2018-07-17Optimization/simplification pass.Bruce Hill
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-11Fixed nomsu codegen for indented text and improved text parsing. AlsoBruce Hill
moved some more tests inline.
2018-07-09Added pattern matching for text, and comprehension versions of that andBruce Hill
file walking.
2018-06-26Cleaning up metaprogramming a bit and fixing/adding test for recursionBruce Hill
control flow.
2018-06-24Simplifications/streamlining the Make process, and cleaning up some ofBruce Hill
how command line interaction and `use %` work.
2018-06-23Moved console colors from core/ into lib/Bruce 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-18Initial working version.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-04Cleanups to try/catch logic and object logic.Bruce Hill
2018-05-30Added todoBruce 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-30Moved as_lua_id() onto 'string'Bruce Hill
2018-05-26Re-added sources.Bruce Hill
2018-05-24Consolidating code obj code and expunging all [[..]]-style lua strings.Bruce Hill
2018-05-24Fixed up file hash lib.Bruce Hill
2018-05-24Misc changes, fixed up Object lib and tests.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-15Cleaning up comments.Bruce Hill
2018-05-09Added tentative support for luajit (depends on pure-lua LPEGBruce Hill
implementation).
2018-04-25Removing end-of-line ":" and "(..)" for blocks (they just useBruce Hill
indentation now).
2018-04-20Deleted habit breaker.Bruce Hill
2018-04-19All tests passing (except object)Bruce Hill
2018-04-09Re-added callstack callsite info. It's a bit hacky, but better thanBruce Hill
nothing.
2018-02-08Moved over to have tree metadata stored outside the tree. This paves theBruce Hill
way for programmatically generating trees more easily.
2018-02-06Reverted to ACTIONS instead of ACTION and added 'show lua %' macro.Bruce Hill
2018-02-05Added a bunch of metamethod stuff.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 colons for aesthetics.Bruce Hill
2018-01-30Removed "core_defs"Bruce Hill
2018-01-30Overhaul of indentations. Now strictly requiring exactly 4 spacesBruce Hill
everywhere, and supporting indented string interpolations.
2018-01-30Fix for bad indentation.Bruce Hill
2018-01-29Added numeric-for list comprehensionBruce Hill
2018-01-26Added a ton of tests for virtually all the functionality. Helped me findBruce Hill
and fix a lot of latent problems.
2018-01-26Removed nomsu:write() and nomsu:writeln() and replaced with just plainBruce Hill
ol' print()
2018-01-25Added some training wheels for functions.Bruce Hill
2018-01-25Fixed up how_do_i with updated syntax.Bruce Hill
2018-01-25Overhaul of compiling API (eliminated some of the expr/statementsBruce Hill
helpers and forced the use of {expr=..., locals=...}-type syntax. This helped fix up all of the cases like loops where locals were being mishandled and led to some cleaner code.
2018-01-24Updated and improve syntax for some stuff. Also added string indexingBruce Hill
like in python, including slices.
2018-01-24Fixed id for nil/NaN and cleaned up collection metatable stuff.Bruce Hill
2018-01-24Updated training wheels with new syntax and print().Bruce Hill
2018-01-24Fix for some old syntax.Bruce Hill