aboutsummaryrefslogtreecommitdiff
path: root/lib/collections.nom
AgeCommit message (Collapse)Author
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-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-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-24Fixed id for nil/NaN and cleaned up collection metatable stuff.Bruce Hill
2018-01-24Fix for some old syntax.Bruce Hill
2018-01-23Added implicit local declarations and new syntax of %var <- %value.Bruce Hill
2018-01-19Refactored syntax a bit so that ":" isn't necessary for a block, and canBruce Hill
be used for inline expressions instead. Also, dict literals now use ":" instead of "=".
2018-01-16Removed unnecessary semicolons that broke luajit.Bruce Hill
2018-01-12Switched to use load() with environment table instead of passing inBruce Hill
nomsu to everything. This has some nice code cleanliness benefits.
2018-01-11Reshuffled all the library code into files that make more sense andBruce Hill
cleaned up some of the library code.
2018-01-11Removed some dead code and streamlined the API a bit. Also addedBruce Hill
training wheels for ease of transitions.
2018-01-11Renamed "require %" to "use %"Bruce Hill
2018-01-11Added "%'s id" to use UUIDs and changed "% = %" to "set % = %" and someBruce Hill
other misc.
2018-01-11Renamed rule % = % to action % %Bruce Hill
2018-01-10Pretty much mostly working.Bruce Hill
2018-01-07Reworking some stuff so that functions only allow expressions to beBruce Hill
return values with either an explicit "return" statement or if they're the only line in the function, and the line is an expression.
2018-01-03Reworked {} a bit and added dicts to the core language. Did some moreBruce Hill
testing on string interpolations too.
2017-12-13Got it working.Bruce Hill
2017-12-04Some stuff changed to allow escaped args and some other ports from theBruce Hill
two_defs branch.
2017-10-19Misc. cleanups.Bruce Hill
2017-10-19Abbreviated "lua code" to "lua>" and "lua expr" to "=lua" and "luaBruce Hill
block" to "lua do>"
2017-10-19Added default dict.Bruce Hill
2017-10-13Changed tokenizing to treat symbols as their own things.Bruce Hill
2017-10-12Added chain and "with".Bruce Hill
2017-10-11Added table.remove to collections.Bruce Hill
2017-10-09Fixing up sorting more.Bruce Hill
2017-10-02More progress towards making everything work.Bruce Hill
2017-10-02Updated to undo some of the block/thunk stuff. Thunks are thunks, andBruce Hill
expressions can be grouped with parens, and they have a clear distinction.
2017-09-28Kinda mostly working, except for closure vars like in lib/secrets.nom.Bruce Hill
2017-09-24massive overhaul, compiler kinda works.Bruce Hill
2017-09-22Renamed compiler -> nomsu for concision and clarity.Bruce Hill
2017-09-22Cleaned up code generation to have less cruft.Bruce Hill
2017-09-21Overhaul of invocations/specs. Much cleaner and more consistent now,Bruce Hill
with less code duplication.
2017-09-21Everything fixed up and some reduced lua codespew too!Bruce Hill
2017-09-21Another overhaul, this time pulling all the chunks of the core lib intoBruce Hill
their own files.