aboutsummaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2019-01-10Major overhaul of how modules and environments work, along with someBruce Hill
steamlining and tweaks to the makefile. Version bump: 6.14.13.8
2019-01-08AutoformatBruce Hill
2019-01-08Added compatibility files and revamped core/math to use global variablesBruce Hill
instead of compile actions. Also added mix (lerp) and smooth (smoothstep) functions.
2019-01-08Made (external $x = $y) work using ($x = $y), so e.g. (externalBruce Hill
[$x, $y] = [1, 2]) now works properly.
2019-01-07Added clamp functionBruce Hill
2019-01-07Switched "ask" to be a proper function so it works as either anBruce Hill
expression or a statement.
2019-01-01Removing shim.Bruce Hill
2019-01-01Some changes to the error API, a fix for statement block parsing, andBruce Hill
replacing ((foo 1 baz)'s meaning) with $(foo 1 baz).
2019-01-01Misc changes, including text indented interpolations are now indentedBruce Hill
relative to the text, not the opening '("', code objects can now remove all free vars, the REPL uses global vars. Error API is changing a bit.
2018-12-31Cleaning up some of the documentation and dead code.Bruce Hill
2018-12-31Updated comments to use $ instead of %Bruce Hill
2018-12-31Updated shebangsBruce Hill
2018-12-31Bumped version number.Bruce Hill
2018-12-30Auto-upgraded code.Bruce Hill
2018-12-30Update to new syntax.Bruce Hill
2018-12-18Initial pass on updating syntax.Bruce Hill
2018-12-14Removed EOL commentsBruce Hill
2018-12-14Fixed some bugs, including upgrade --upgrade-from=version not working.Bruce Hill
Also updated the README.
2018-12-14Auto-updated to version 5Bruce Hill
2018-12-14Updating to support multiple method calls.Bruce Hill
2018-12-14Initial setup work for syntax version 5.Bruce Hill
2018-12-13Cleanups and codegen improvements/fixes.Bruce Hill
2018-11-29Renamed append/concat_append to add/concat_add for Code objects.Bruce Hill
2018-11-26Upgraded/autoformatted.Bruce Hill
2018-11-26Simplifying the control flow API and deduplicating the code.Bruce Hill
2018-11-23Fixed typo.Bruce Hill
2018-11-21Fixed tests to work better with different syntax versions.Bruce Hill
2018-11-20Simplifying the filesystem code (no longer entangled with nomsupath) andBruce Hill
using that to simplify the tools. Now the tools directly take lists of file paths rather than things that might go through nomsupath or directories or get processed by filetype. Use your shell for globbing stuff like `nomsu tools/test.nom core/*.nom`
2018-11-19Deduplicated goto label syntax (now just use (--- (label) ---))Bruce Hill
2018-11-19Autoformatted/auto-upgraded.Bruce Hill
2018-11-19Tweaks and API cleanup.Bruce Hill
2018-11-17In-progress (but working) overhaul of some elements including: functionBruce Hill
calls, lib/thing.nom API, multi-assignments, varargs, etc.
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.