aboutsummaryrefslogtreecommitdiff
path: root/nomsu.moon
AgeCommit message (Collapse)Author
2018-01-24Updated TODO.Bruce Hill
2018-01-23Added implicit local declarations and new syntax of %var <- %value.Bruce Hill
2018-01-23Fixed typo.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-19Added more info to error message.Bruce Hill
2018-01-18Fix for lua parsing of long strings/table literals.Bruce Hill
2018-01-18Initial commit of object oriented classes.Bruce Hill
2018-01-17Fixed some minor bugs that made generated nomsu uglier.Bruce Hill
2018-01-17Completely fixed/reworked tree_to_nomsu, and it's okay right now.Bruce Hill
2018-01-15Added support for translating comments instead of dropping them.Bruce Hill
2018-01-12Better usage of ACTION_METADATA and deprecating nomsu.defs.Bruce Hill
2018-01-12Renamed replaced_vars() to be more descriptive.Bruce Hill
2018-01-12Deleted some dead code.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-11Truncated debug output for readability.Bruce Hill
2018-01-11Added todo.Bruce Hill
2018-01-11Fixed require->use, updated TODO.Bruce Hill
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-11Updated TODOBruce 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-10Performance optimizations and correctness fix for [=[...]=]-styleBruce Hill
strings. Also, require % now properly inserts lua code.
2018-01-10Switched back to using precompiled lua files instead of lua> "..",Bruce Hill
because it's noticeably faster.
2018-01-09Propagating filenameBruce 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-05Added nomsu:assert()Bruce Hill
2018-01-05Low hanging optimization fruit.Bruce Hill
2018-01-03Updated examples and made operator characters not stick to each other.Bruce Hill
Useful for <%x>=6 properly registering as <%x> = 6.
2018-01-03Added support for \000 and \x00 style byte literals.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-18renamed utils2 -> utilsBruce Hill
2017-12-18Optimized utils and cleaned up a bit.Bruce Hill
2017-12-15Tweaks.Bruce Hill
2017-12-14Switched compiler to do lua> instead of lua files.Bruce Hill
2017-12-14Minor fix.Bruce Hill
2017-12-14Changed flags from -f to force nonoptimized to -O to use optimized.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-09Even cleaner support for __src__Bruce Hill
2017-12-09Pretty much everything is working??Bruce Hill
2017-12-08Simplified parser by removing prev_edge.Bruce Hill