Commit Graph

9 Commits

Author SHA1 Message Date
e665d9725c Auto-updated to 7.0.0 syntax and removed some shims. 2019-03-20 15:55:57 -07:00
ddb839bfd4 Replacing (size of $) with (#$) as should have been done before. 2019-03-14 16:30:43 -07:00
057f5b74eb Moving to better, more centralized versioning system. Now the Nomsu
version is just defined as a list at the top of nomsu.moon, and uses
X.Y.Z form instead of X.Y.Z.W. Added a ([...], from 2) method and a
([...], up to 5) method, and fixed a few upgrade bugs.
2019-02-06 15:34:00 -08:00
72d699fe86 Bunch of changes:
- Added shebangs to generated code output
- SyntaxTree:map() -> SyntaxTree:with(), and corresponding changes to
metaprogramming API
- Added (return Lua 1) shorthand for (return (Lua 1))
- (1 and 2 and 3) compile rule mapping to -> (1 and (*extra arguments*))
- Don't scan for errors, just report them when compiling
- Syntax changes:
    - Added prefix actions (e.g. #$foo)
    - Operator chars now include utf8 chars
    - Ditch "escaped nomsu" type (use (\ 1) compile action instead)
2019-02-05 15:47:01 -08:00
bc41cc3a24 Switched to have colors/utf8 be optional, fixed an issue with currently
running files leaking when errors occurred (causing spurious circular
import errors), and improved tutorial.
2019-01-29 16:17:33 -08:00
113b916e4c Fixed to display expressions by default. 2019-01-23 15:36:09 -08:00
10bd72e858 Added tree back as a parameter to compile actions, which helps with
better error reporting, e.g. for (fail) (no arguments). Overall better
error reporting now. Also added shorthand ("Action" tree with ...) for
(SyntaxTree {.type = "Action", .1 = ...}).
2019-01-18 14:22:48 -08:00
bf37295fae Updating to v6.15, which includes "external (...)" instead of separate
'externally' versions of stuff, and some auto-formatting.
2019-01-15 15:54:28 -08:00
c1c32688a4 Overhaul in progress, mostly working. Moved all the nomsu packages into
lib/, including core/*. Changes to how nomsu environments and importing
work.
2019-01-14 15:43:24 -08:00