aboutsummaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2018-11-11Cleaning up say/print and io.write (now you can use (say "foo" inline))Bruce Hill
2018-11-11Added (% as hex) and fixed bug with text interpolation codegen notBruce Hill
adding parens around indexchains.
2018-11-11Updated to use 'set' syntax instead of ": yes"Bruce Hill
2018-11-11Fixed some autoformatting stuff, and prepping to deprecate some mathBruce Hill
shorthand.
2018-11-11Fully upgraded to 4.10.12.7, including deprecating the old list/dictBruce Hill
comprehension methods, in favor of the new native support.
2018-11-11Style tweak: using (retry) instead of %retry for goto label.Bruce Hill
2018-11-11Removing compile-error shim.Bruce Hill
2018-11-09Fixing the upgrade pipeline, plus some misc. fixes.Bruce Hill
2018-11-09No longer passing `tree` to every compile action. Now, you can justBruce Hill
return a LuaCode object, and it will automatically get a source from `tree` if it didn't already have a source. Plus some fixes/cleanup.
2018-11-09Deprecating (% as lua statements) and (% as lua return)Bruce Hill
2018-11-09Lots of cleanups, including expanded use of (... compiles to "textBruce Hill
literal") shorthand, deprecating Lua value, and more use of Lua "..." with text interpolations.
2018-11-08Major overhaul, splitting nomsu_compiler into nomsu_environment,Bruce Hill
nomsu_compiler, and nomsu_decompiler. Also added comprehensions.
2018-11-06Removed utils.lua, simplified some metaprogramming stuff, added native supportBruce Hill
for calling functions with (%a %b %c) instead of (call %a with [%b, %c]), renamed _List -> List, _Dict -> Dict, improved example code.
2018-11-02Changed stub convention to (foo 1 baz 2) -> foo_1_baz instead ofBruce Hill
foo_1_baz_2, removed "smext", made some cleanup changes.
2018-10-31Simplified AST to just use a single moonscript class called "SyntaxTree"Bruce Hill
instead of a different metatable for each type of syntax tree.
2018-10-31Renamed (action %) -> (%'s meaning)Bruce Hill
2018-10-30Fully working version of (action [foo]: baz) -> ((foo) means: baz)Bruce Hill
refactor and misc other changes.
2018-10-29Some cleanups and fixes, made the parser more permissive of prematurelyBruce Hill
terminated files.
2018-09-28Oops, refactor bug.Bruce Hill
2018-09-28Fully working, I think? (with a lot of shims)Bruce Hill
2018-09-28Fixes for indentation of generated lua code.Bruce Hill
2018-09-26Fix for calling function with non-literal list.Bruce Hill
2018-09-26Fixed all syntax errors, got original (non-nomnom) tests passing.Bruce Hill
2018-09-26Incremental fixes and more nomnom ports.Bruce Hill
2018-09-21Incremental checkin, currently not working, just saving progress.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-09-17Added support for compile actions returning trees, and compiling blocksBruce Hill
into values.
2018-09-16Much better error reporting for compile errors (i.e. not parse errors),Bruce Hill
using the pretty_error system.
2018-09-16Working module system.Bruce Hill
2018-09-15Initial working version.Bruce Hill
2018-09-15Better parsing of strings and handling of non-printable characters andBruce Hill
tabs.
2018-09-14Auto-upgraded everything.Bruce Hill
2018-09-10Removing dead code and string.as_lua_id() (now just set on stringBruce Hill
metametatable)
2018-09-10Upgraded to 3.8 (text method changes) and fixed some bugs inBruce Hill
tree_to_nomsu.
2018-09-10Shifting towards more text methods instead of text global functions.Bruce Hill
Also fixed a bug with method call parenthesizing.
2018-09-06Made uuid action public.Bruce Hill
2018-09-06Removed the mandatory "_" prefix for Nomsu variables, renamed "list" andBruce Hill
"dict" to "List" and "Dict", or in Nomsu's environment, "_List" and "_Dict", removed uuid.lua and replaced it with core/id.nom for handling IDs.
2018-08-31Removing the "A_" prefix on action names, and improving the quality ofBruce Hill
as_lua_id() (guaranteed injectivity).
2018-08-30Added test for list addition.Bruce Hill
2018-08-30Auto-upgraded to 3.7Bruce Hill
2018-08-29Handling more compatibility stuff, including Lua 5.4, and a backup forBruce Hill
if openssl module is not found, and moving containers (List/Dict) into their own file, as well as bit operators (and support for __bxor, etc. metamethods in Lua 5.2/LuaJIT)
2018-08-29Actually deleting old list modification methods.Bruce Hill
2018-08-29Tweaked version 3.6 to include deprecating list append/removal functionsBruce Hill
in favor of using a method call style.
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-29Switched "as_lua_id" to not add an underscore by default, and just addBruce Hill
it manually to variables and A_ as a prefix to actions. Now, by default, classes and method calls don't use the A_ prefix, which means nomsu can more easily play nice with regular Lua objects.
2018-08-28Upgraded version to 3.5.5.6, corresponding to Object Oriented changes.Bruce Hill
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-30Added compatibility for 2.5.5.5 (file hash changes).Bruce Hill