24f347fd0c
--upgrade-from= should not require a compatibility module of that exact
...
name to exist, especially for Nomsu upgrades
2019-03-22 14:39:02 -07:00
f0f3c7e0bb
Fix for error reporting not finding core files
2019-03-22 14:38:01 -07:00
7f30fb293f
Fixed a bunch of compatibility issues that made upgrading really slow,
...
especially when upgrading across many versions.
2019-03-22 14:25:18 -07:00
be9a86d639
Added "."-prefix files to gitignore
2019-03-20 18:09:07 -07:00
56e3a0c48c
Restoring `(foo) syntax to \(foo)
2019-03-20 16:41:44 -07:00
b44afbf417
Fix for some bad codegen with ((`$x)'s foo)
2019-03-20 16:41:08 -07:00
938adbfe44
Switching more verbose ("Action" tree with "foo" $x) syntax to `(foo
...
`$x) when possible
2019-03-20 16:16:41 -07:00
e665d9725c
Auto-updated to 7.0.0 syntax and removed some shims.
2019-03-20 15:55:57 -07:00
606fd09000
Added lisp-y output
2019-03-20 14:15:43 -07:00
12db69cdd6
Slight tweaking and updating syntax
2019-03-20 14:15:17 -07:00
a09b66d725
No longer using stubs for non-actions.
2019-03-14 17:58:22 -07:00
c2397620a9
Fix for luajit error handling (old Lua 5.1 API uses getfenv)
2019-03-14 17:57:48 -07:00
ddb839bfd4
Replacing (size of $) with (#$) as should have been done before.
2019-03-14 16:30:43 -07:00
7f13819907
Upgraded with new style for looping
2019-03-13 20:56:28 -07:00
cfe48fd2ed
Fix for shebang
2019-03-13 20:56:18 -07:00
783eec9b45
Made iteration easier to work with by using .__inext and .__next for
...
custom iteration, and a custom ipairs() and pairs() to use that.
2019-03-13 20:55:59 -07:00
1e99bbbe0a
Added fix for "_end"
2019-03-13 20:53:40 -07:00
f415033fac
Moving some more functionality into the syntax tree class, including
...
pattern matching and traversal
2019-03-09 16:02:23 -08:00
06c8737897
Consolidating iteration around iterable ranges (and case-specific
...
optimizations when possible).
2019-03-09 15:59:54 -08:00
c6734d82e9
Passing around DictEntry and changing API to _1_as_an_iterable
2019-03-09 15:59:41 -08:00
08fe139a4a
Added some support for auto-upgrade, tidied up a bit
2019-03-09 15:57:27 -08:00
3d2db69148
Added support for "{:\n...}" style comprehensions
2019-03-09 15:55:22 -08:00
c7483d92b7
Tidying up
2019-03-09 15:54:37 -08:00
35835997bb
Improved tests
2019-03-09 15:53:55 -08:00
0ba6b3e5f6
Added support for coroutines in constructors, as well as multi-argument
...
constructors.
2019-03-09 15:53:35 -08:00
cac9b2139f
Added some helper methods, including first() and last().
2019-03-09 15:52:35 -08:00
68993a5ffb
Added support for iteration over coroutines
2019-03-09 15:52:00 -08:00
58707b18f7
Fixed a shebang issue
2019-03-04 14:30:44 -08:00
de1f80fe51
Better codegen and error reporting
2019-03-04 14:26:03 -08:00
026f7bf0e4
Better error reporting
2019-03-04 14:19:49 -08:00
30a7473d10
Added color files.
2019-02-11 18:49:04 -08:00
c5f8a1b0b3
Fixed legibility and issue with upgrade fn
2019-02-06 16:07:25 -08:00
92b99292a4
Fixed EscapedNomsu upgrade rule
2019-02-06 16:07:00 -08: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
618e48ad98
Added compat files
2019-02-06 14:34:10 -08:00
9e9bcad6fa
Added underscores for numbers (e.g. 1_000, 0xDEAD_BEEF), and fixed some
...
compatibility and decompiling issues.
2019-02-06 14:31:43 -08:00
5d5dea4639
Switched to character that renders as 1-wide better.
2019-02-06 14:30:57 -08:00
6219e2ba48
Added shebangs.
2019-02-06 14:28:57 -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
0ff3219f35
Added more parens and semicolons, and made "#" work with "..."
2019-02-05 14:22:48 -08:00
5f6aae8d9d
Added inheritance section for tutorial
2019-02-02 19:50:25 -08:00
6212e1207f
Better shebang pattern matcher
2019-02-02 19:49:59 -08:00
0e90d68efa
Added XML format outputter
2019-02-02 19:49:26 -08:00
891fa6b362
Added shebang
2019-02-02 19:46:29 -08:00
b7cf8d19d8
Added version to shebang
2019-02-02 19:46:13 -08:00
8a01efc4e0
Added Range (1 to 3) and a bunch of tests for inverse dicts.
2019-02-02 19:44:41 -08:00
be53f0c064
Added shebang
2019-02-02 19:44:22 -08:00
3e6b3983fc
Added some utf8 symbols and better description of utf8 support.
2019-02-02 19:43:53 -08:00
2e52c1a7a8
Added comments.
2019-02-02 19:43:17 -08:00
fb435c308a
Added spellchecker for error messages (when calling 'nil' actions)
2019-02-02 19:42:35 -08:00