aboutsummaryrefslogtreecommitdiff
path: root/nomsu.moon
AgeCommit message (Collapse)Author
2018-11-26Updated and fixed the command line API. Introduced the "-t tool" flagBruce Hill
for more concisely running tools, removed the "-I file" and replaced it with "-m files..."
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-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-11Re-implemented nomsu -> lua comment translation and added file chunkBruce Hill
comments.
2018-11-11Fixed -O optimization flag.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-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-31Bumped version number, fixed REPL, and simplified/fixed (use %).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-16Working module system.Bruce Hill
2018-09-15Initial working version.Bruce Hill
2018-09-14Auto-upgraded everything.Bruce Hill
2018-09-12Initial working version.Bruce Hill
2018-09-08Minor fixes/tidying.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-07-30Fix for REPL not getting launched when `nomsu -I lib` is run.Bruce Hill
2018-07-24Fixed stdin handling.Bruce Hill
2018-07-24Updating file stuff for better compatibility with Lua 5.2 and fixingBruce Hill
some bugs. Also updated README to provide more compatibility info and list Lua5.2+ as a requirement.
2018-07-24Switched to optimization level 1 by default (i.e. use precompiled nomsuBruce Hill
files).
2018-07-24Updated package.nomsupath behavior to first search the installedBruce Hill
locations, *then* search the current directory. This makes the system `nomsu` run properly, even if the local directory has a broken file that has the same name as a nomsu file.
2018-07-23Removed 'use "core"'Bruce Hill
2018-07-23Run 'use "core"' by default before running anything else, unless --no-core ↵Bruce Hill
command line flag is used.
2018-07-21Improvements working towards better inline tests. Improved handling ofBruce Hill
file spoofing and adding -e command line flag for executing a string.
2018-07-17Removing minor change.Bruce Hill
2018-07-17Optimization/simplification pass.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-15Major changes to how versioning and parsing work. This should be aBruce Hill
better path going forward to handling upgrades. Old syntax files will stick around for compatibility purposes. Old syntax can be parsed into valid syntax trees via the old syntax (.peg) files, and then old syntax trees should be valid and can be upgraded via the normal code path. This change has lots of improvements to Nomsu codegen too.
2018-07-12All tests passing.Bruce Hill
2018-07-10Fixed up line numbers for generated code.Bruce Hill
2018-07-10Updated doc for debugger.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-07-09Made command line args into a proper Nomsu list.Bruce Hill
2018-07-09Simplified the command line interface.Bruce Hill
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-24Added manpage and fixed a bug that screwed up nomsu loading.Bruce Hill
2018-06-24Simplifications/streamlining the Make process, and cleaning up some ofBruce Hill
how command line interaction and `use %` work.
2018-06-23Cleaning up makefile and REPL colors.Bruce Hill
2018-06-23Moved console colors from core/ into lib/Bruce Hill
2018-06-23Fixed up nomsupath behavior and refactored file stuff into its own file.Bruce Hill
2018-06-23Added versioning system.Bruce Hill
2018-06-22Adding fancy makefile that compiles all the moonscript files andBruce Hill
precompiles all the nomsu files and can build a nice executable file and install it wherever you like.
2018-06-21Cleanup of some metaprogramming stuff, as well as adding support forBruce Hill
"package.nomsupath" to search for files in different locations, and prioritizing use of "luafilesystem" over system calls.
2018-06-19Tidying up error handling and REPL.Bruce Hill
2018-06-19Fixing up some error reportingBruce Hill
2018-06-19Split up CLI and NomsuCompilerBruce Hill
2018-06-19Moved error logic into its own file.Bruce Hill
2018-06-19Lots of cleanup.Bruce Hill