aboutsummaryrefslogtreecommitdiff
path: root/nomsu.lua
AgeCommit message (Collapse)Author
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-23Recompiled files.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
2018-06-18More streamlining and cleanup.Bruce Hill
2018-06-18Initial working version.Bruce Hill
2018-06-15Fixed some nomsu codegen bugsBruce Hill
2018-06-15Cleaned up/improved the command line interface, and fixed theBruce Hill
REPL/autoformatting.
2018-06-15Removed debug shim.Bruce Hill
2018-06-14Some cleanup and fixes. Simplifying a lot of code, and extending theBruce Hill
flexibility of scoping. Redesigned Object system too.
2018-06-14More streamlining and cleanup. Especially for core/metaprogramming.nomBruce Hill
2018-06-13Fixed tree_to_nomsu to produce "blah\%x" instead of "blah\(%x)"Bruce Hill
2018-06-12Much improved code formatting for tree_to_nomsuBruce Hill
2018-06-12Fixed some bugs.Bruce Hill
2018-06-12Working version.Bruce Hill
2018-06-12Minor optimizations to indent/dedent/nodent.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-12Tidying up exceptions and error reporting. Also simplified the grammar aBruce Hill
tiny bit.
2018-06-06Added list/dict metatables to make comparison and string representationsBruce Hill
simpler. Also deleted Counters.
2018-06-05Fixed piping in file.Bruce Hill