58b863fcd1
Removed dead code.
2019-01-23 15:37:43 -08:00
113b916e4c
Fixed to display expressions by default.
2019-01-23 15:36:09 -08:00
967f172094
Removed dead code.
2019-01-23 15:35:45 -08:00
6a73795b38
Removed "package" terminology.
2019-01-23 15:35:22 -08:00
ea8ca28ffb
Added honeypot compile action that detects if you try to do an 'else'
...
without an 'if' and gives a helpful message.
2019-01-23 15:28:40 -08:00
f746ba34d7
Moved all the text method stuff into text.moon instead of splitting
...
across string2/containers. Modified the type stuff to output better type
names and use (a Dict) and (a List) instead of (Dict) and (List). (Text)
now also has a proper constructor. (assume) now also handles a bunch of
different assumptions with smart error messages.
2019-01-22 16:16:53 -08:00
a596195f6c
Added 'list' tool and improved install/uninstall
2019-01-21 16:32:13 -08:00
a9f8d2d8ac
Added install/uninstall tools
2019-01-21 16:08:30 -08:00
894ef41ac2
Made tutorial jump to error position, instead of first ??? or <your code
...
here>.
2019-01-19 19:38:38 -08:00
3b6d3553c8
Added to tutorial.
2019-01-19 18:00:44 -08:00
5a99a24176
Better error handling.
2019-01-18 20:46:10 -08:00
13cab23e20
Improving the tutorial.
2019-01-18 20:45:38 -08:00
d92685ab95
Added tutorial (WIP)
2019-01-18 14:31:37 -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
520acd3979
Overhauling OO-API a little to make it more minimalistic.
2019-01-16 21:33:30 -08:00
1cbf9f3e07
Moved things into core/
2019-01-16 16:38:15 -08:00
2daebbff27
Added compatibility rule for compile errors.
2019-01-16 16:37:54 -08:00
8ca7749b55
Better error messaging (using pretty_error in more places)
2019-01-16 16:32:02 -08:00
25e1ccc025
Better/more realistic example code in the tests.
2019-01-15 18:32:11 -08:00
4e712fd8d3
Updated things API for inheritance.
2019-01-15 18:10:56 -08:00
5c96748802
Fix for formatting indented code with the format tool.
2019-01-15 17:48:35 -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
ce44ef9624
Added support for --upgrade-from=foo/1.0 without --upgrade-to= (assume
...
latest version)
2019-01-14 17:58:59 -08:00
94a437c584
Added 'with' to 'if it fails with $' clauses and made upgrade import
...
specific rules.
2019-01-14 17:50:57 -08:00
27433f4bf1
Added missing newline
2019-01-14 17:48:39 -08:00
ddef8be3df
Moved compatibility to lib/ and fixed path searching for .peg files.
2019-01-14 17:14:57 -08:00
9fceff7e78
Added (SyntaxTree {...} ...) shorthand for SyntaxTree{..., ...} and
...
added some shebangs.
2019-01-14 16:32:11 -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
0f0fb2256a
Major overhaul of how modules and environments work, along with some
...
steamlining and tweaks to the makefile. Version bump: 6.14.13.8
2019-01-10 16:35:08 -08:00
1f47f1aa28
Removed automatic file caching.
2019-01-08 16:38:45 -08:00
fc1655e028
Made separate versions of (sh> ...) and (=sh ...) for versions that
...
care or don't care about the output.
2019-01-08 16:34:41 -08:00
3e89092833
Some changes to the error API, a fix for statement block parsing, and
...
replacing ((foo 1 baz)'s meaning) with $(foo 1 baz).
2019-01-01 17:17:23 -08:00
faaf5311c8
Updated shebangs
2018-12-31 00:20:07 -08:00
5059c081ac
Auto-upgraded code.
2018-12-30 23:58:47 -08:00
8a3c324087
Update to new syntax.
2018-12-30 19:04:45 -08:00
a7d912a33a
Initial pass on updating syntax.
2018-12-18 19:30:12 -08:00
d3905474c9
Removed EOL comments
2018-12-14 20:54:18 -08:00
4fe63f253f
Auto-updated to version 5
2018-12-14 20:21:03 -08:00
efd743591e
Renamed append/concat_append to add/concat_add for Code objects.
2018-11-29 14:57:56 -08:00
5027bd4f0f
Upgraded/autoformatted.
2018-11-26 16:28:06 -08:00
a89d69e843
Autoformatted/auto-upgraded.
2018-11-19 17:37:37 -08:00
acd1191fb0
Tweaks and API cleanup.
2018-11-19 17:21:17 -08:00
7f47d42040
In-progress (but working) overhaul of some elements including: function
...
calls, lib/thing.nom API, multi-assignments, varargs, etc.
2018-11-17 14:39:08 -08:00
34a3dd22a4
Added 'an' alias for things.
2018-11-12 14:25:11 -08:00
4efe44ed27
Fully upgraded to 4.10.12.7, including deprecating the old list/dict
...
comprehension methods, in favor of the new native support.
2018-11-11 15:50:46 -08:00
ba03cb67c3
Added shebang and descriptive comment.
2018-11-11 15:37:57 -08:00
fa3f598fc3
Fixing the upgrade pipeline, plus some misc. fixes.
2018-11-09 17:02:53 -08:00
69aaea030e
No longer passing tree
to every compile action. Now, you can just
...
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-09 16:41:19 -08:00
a2f07415c5
Deprecating (% as lua statements) and (% as lua return)
2018-11-09 14:48:40 -08:00
7d2b7199d8
Lots of cleanups, including expanded use of (... compiles to "text
...
literal") shorthand, deprecating Lua value, and more use of Lua "..."
with text interpolations.
2018-11-09 14:37:22 -08:00