aboutsummaryrefslogtreecommitdiff
path: root/code_obj.lua
AgeCommit message (Collapse)Author
2018-09-28Rebuild.Bruce Hill
2018-09-28Slightly more robust.Bruce Hill
2018-09-18Got rid of repr() use and replaced with :as_lua() or :as_nomsu() in asBruce Hill
many places as possible.
2018-08-29Fully updated to 3.6, deprecated old LuaCode global functions like "to 1Bruce Hill
write 2" and replaced them with method calls like "1::append 2"
2018-08-29Intermediate step in upgrading to 3.6. Fixed a bug with upgradingBruce Hill
methods.
2018-08-28Lots of overhaul, supporting a new Object Oriented approach (e.g.Bruce Hill
%obj::action 1 2) and syntax.
2018-08-27Bunch of miscellaneous changes. Paved the way a little bit for havingBruce Hill
different compiler domains.
2018-07-23Recompiled files.Bruce Hill
2018-07-20Simplifying and correcting the nomsu codegen.Bruce Hill
2018-07-19Hopefully last correctness fix for trailing_line_len(), now it's justBruce Hill
dumb and slow, but correct. Also simplified recursion options a bit for tree_to_nomsu()
2018-07-19Fixed some bugs in trailing_line_len() and refactored tree_to_nomsu intoBruce Hill
separate inline/not-inline functions.
2018-07-18Updating to version 2.4.4.3, with new syntax for multi-statement 'if'Bruce Hill
and switch statements.
2018-07-17Optimization/simplification pass.Bruce Hill
2018-07-17Improvements to nomsu codegen.Bruce Hill
2018-07-17Overhaul of comment handling, plus a few fixes (e.g. a fix for indentedBruce Hill
text that begins with a nomsu comment)
2018-07-13Minor changes.Bruce Hill
2018-07-12Fixing up comments, slowly.Bruce Hill
2018-07-10Improving codegen line wrapping.Bruce Hill
2018-07-10Fixed up line numbers for generated code.Bruce Hill
2018-07-10Fixing up error reporting and ripping out LDT-specific code (now aBruce Hill
debugger can be provided by a command line flag)
2018-06-28Improvements to nomsu codegen (comments are now retained) and someBruce Hill
improvements to handling of stdin and fixes for error reporting.
2018-06-26Cleaning up metaprogramming a bit and fixing/adding test for recursionBruce Hill
control flow.
2018-06-19Lots of cleanup.Bruce Hill
2018-06-18More streamlining and cleanup.Bruce Hill
2018-06-18Initial working version.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-04Optimizations and cleanup. Build script now fails on first error andBruce Hill
uses the precompiled versions it has just compiled.
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-29Almost-working reimplementation of source code mapping.Bruce Hill
2018-05-29Cleaned up some asserts for performance.Bruce Hill
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-26Moving back to capturing tables in LPEG and everything is a Source, notBruce Hill
string.
2018-05-26Re-added sources.Bruce Hill
2018-05-24Consolidating code obj code and expunging all [[..]]-style lua strings.Bruce Hill
2018-05-16Moved all the tree->lua and tree->nomsu code back into single functionsBruce Hill
in nomsu.moon, and cleaned up how Vars are treated, since they are not atomic.
2018-05-15Minor cleanups changes.Bruce Hill
2018-05-14Minor optimizations.Bruce Hill
2018-05-09Added tentative support for luajit (depends on pure-lua LPEGBruce Hill
implementation).
2018-05-04Removing varargs from free var functions.Bruce Hill
2018-05-03Minor tweaks/cleanups.Bruce Hill
2018-04-25Renamed lua_obj -> code_objBruce Hill