aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2018-01-11Added "local %" macro as a stopgap for locals.Bruce Hill
2018-01-11Moved text utilities into their own file.Bruce Hill
2018-01-11Fixed ipairs->pairs to make dict iteration work.Bruce Hill
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 "% mod %" to "wrap % around %"Bruce Hill
2018-01-11Purged references to "macro" and replaced with "compile action" orBruce Hill
"compile-time action".
2018-01-11Renamed def->define_action and defmacro->define_macroBruce Hill
2018-01-11Renamed rule % = % to action % %Bruce Hill
2018-01-11Renamed String -> TextBruce Hill
2018-01-11Overhaul of error reporting and removing nomsu:call(stub, line_no, ...) in ↵Bruce Hill
favor of nomsu.defs[stub].fn(...)
2018-01-10Pretty much mostly working.Bruce Hill
2018-01-09Cleaned up metaprogramming to go "compile to" -> "rule =" -> "parse as".Bruce Hill
This speeds things up a bit, and is more intuitive.
2018-01-08Modernized the codebase a bit to include "immediately:" for immediatelyBruce Hill
running code before further parsing takes place. That means that in the default case, whole files can be run at once, which makes all but the weirdest edge cases make a lot more sense and operate smoothly.
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-07Some overhaul of binary operators so that arbitrary math patterns workBruce Hill
fine.
2018-01-07Added substring operator %x|start - stop|Bruce Hill
2018-01-05More cleanup of vars.XX -> \%XXBruce Hill
2018-01-05Cleaning up vars.XX use and removing typecheck.Bruce Hill
2018-01-03Tidying.Bruce Hill
2018-01-03Reworked {} a bit and added dicts to the core language. Did some moreBruce Hill
testing on string interpolations too.
2017-12-30Got everything mostly working.Bruce Hill
2017-12-15Tweaks.Bruce Hill
2017-12-14Updating some more stuff.Bruce Hill
2017-12-13Got it working.Bruce Hill
2017-12-11More updates with more functional macros and source code storage.Bruce Hill
2017-12-09Pretty much everything is working??Bruce Hill
2017-12-04Incremental progress towards working.Bruce Hill
2017-12-04Some stuff changed to allow escaped args and some other ports from theBruce Hill
two_defs branch.
2017-11-01Fixed remove rule rule.Bruce Hill
2017-11-01Added remove rule rule.Bruce Hill
2017-11-01Removed broken code.Bruce Hill
2017-11-01Fixed some codegen stuff, optimized "say" for the common case of stringBruce Hill
literals.
2017-11-01Added gsub.Bruce Hill
2017-11-01Added try/except.Bruce Hill
2017-10-31Added support for serializing rules.Bruce Hill
2017-10-23Removed some unnecessary semicolons on keywords.Bruce Hill
2017-10-19Misc. cleanups.Bruce Hill
2017-10-19Finally fixed the bullshit way that string literals were converted to lua.Bruce Hill
2017-10-19Added some constants to utils.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-13Made symbols group with each other, instead of *every* one being alone.Bruce Hill
2017-10-13Changed tokenizing to treat symbols as their own things.Bruce Hill
2017-10-13Improved code generation for "when" statements using elseif, andBruce Hill
improved code generation for loops by omitting goto labels when not used.
2017-10-13Renamed repr_if_not_string to "stringify" and added nomsu:stringify forBruce Hill
convenience.
2017-10-13Changed generated code to be less verbose for function and macro defsBruce Hill
(using "foo %" syntax instead of {type="FunctionCall", ...} literals).
2017-10-12Added chain and "with".Bruce Hill
2017-10-11Added table.remove to collections.Bruce Hill