Commit Graph

71 Commits

Author SHA1 Message Date
a1849da175 Autoformat (mostly just to do with the new
blank-line-after-end-of-multi-indent-block rule
2019-03-27 15:22:46 -07:00
e665d9725c Auto-updated to 7.0.0 syntax and removed some shims. 2019-03-20 15:55:57 -07:00
5d5dea4639 Switched to character that renders as 1-wide better. 2019-02-06 14:30:57 -08:00
3e6b3983fc Added some utf8 symbols and better description of utf8 support. 2019-02-02 19:43:53 -08:00
520acd3979 Overhauling OO-API a little to make it more minimalistic. 2019-01-16 21:33:30 -08:00
517d661368 Updating documentation 2019-01-16 16:46:38 -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
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
0507d8de8c Updating example 2019-01-01 17:31:50 -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
e68eb04d69 Oops, missing paren. 2019-01-01 15:55:37 -08:00
a82b0d9d24 Added support for $(foo 1 baz 2) as a way to access (foo 1 baz 2)'s
meaning.
2019-01-01 15:53:21 -08:00
d8f9b15fd9 Cleaning up some of the documentation and dead code. 2018-12-31 01:02:46 -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
3036d425a5 Updated tutorial 2018-12-14 20:56:19 -08:00
4fe63f253f Auto-updated to version 5 2018-12-14 20:21:03 -08:00
04c80440fb Fixed typo. 2018-11-29 14:22:55 -08:00
5027bd4f0f Upgraded/autoformatted. 2018-11-26 16:28:06 -08:00
f304138530 Deduplicated goto label syntax (now just use (--- (label) ---)) 2018-11-19 17:44:46 -08:00
a89d69e843 Autoformatted/auto-upgraded. 2018-11-19 17:37:37 -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
2305f075b7 Fixed whitespace 2018-11-11 18:35:19 -08:00
9d82d522c1 Fixed some autoformatting stuff, and prepping to deprecate some math
shorthand.
2018-11-11 16:27:01 -08:00
370fad9cd3 Fixed whitespace error. 2018-11-11 16:21:13 -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
a2f07415c5 Deprecating (% as lua statements) and (% as lua return) 2018-11-09 14:48:40 -08:00
ba96cdfa07 Fixes/upgrades. 2018-11-08 16:59:10 -08:00
652c29bdef Major overhaul, splitting nomsu_compiler into nomsu_environment,
nomsu_compiler, and nomsu_decompiler. Also added comprehensions.
2018-11-08 15:24:15 -08:00
c8ccbe5f42 Removed utils.lua, simplified some metaprogramming stuff, added native support
for calling functions with (%a %b %c) instead of (call %a with [%b,
%c]), renamed _List -> List, _Dict -> Dict, improved example code.
2018-11-06 15:15:14 -08:00
7a35e38d87 Renamed (action %) -> (%'s meaning) 2018-10-31 15:05:17 -07:00
ea3197aaff Fully working version of (action [foo]: baz) -> ((foo) means: baz)
refactor and misc other changes.
2018-10-30 23:42:36 -07:00
Bruce Hill
e22c35681f Auto-upgraded everything. 2018-09-14 19:17:16 -07:00
Bruce Hill
7c6047254e Upgraded to 3.8 (text method changes) and fixed some bugs in
tree_to_nomsu.
2018-09-10 16:26:27 -07:00
Bruce Hill
ee10b788e3 Updated to use method call syntax. 2018-08-30 14:36:25 -07:00
Bruce Hill
18126da9c5 Auto-upgraded to 3.7 2018-08-30 14:16:18 -07:00
Bruce Hill
dcb5e8add2 Fully updated to 3.6, deprecated old LuaCode global functions like "to 1
write 2" and replaced them with method calls like "1::append 2"
2018-08-29 15:10:27 -07:00
Bruce Hill
5ee9bcb7fb Upgraded version to 3.5.5.6, corresponding to Object Oriented changes. 2018-08-28 15:34:45 -07:00
Bruce Hill
c6a7b0be9e Added compatibility for 2.5.5.5 (file hash changes). 2018-07-30 19:39:32 -07:00
Bruce Hill
a69555bc03 Updated version numbers. 2018-07-25 13:49:17 -07:00
Bruce Hill
6e5d551071 Run 'use "core"' by default before running anything else, unless --no-core command line flag is used. 2018-07-23 14:54:05 -07:00
Bruce Hill
addac10a47 Re-autoformatted everything. The main changes are: no longer adding a
newline after 1-line indented code inside blocks, and forcing files to
have a trailing newline. The trailing newline thing created a lot of
spurious changes.
2018-07-22 15:01:05 -07:00
Bruce Hill
6728587dfc Auto-formatted and auto-upgraded everything! 2018-07-20 20:27:27 -07:00
Bruce Hill
8ab598f63d Tweak to example code. 2018-07-20 20:13:28 -07:00
Bruce Hill
d5cfaa37be Upgrading to version 2.3 (main change: "=" instead of "<-" for
assignment)
2018-07-18 01:28:17 -07:00
Bruce Hill
ba639f2bd0 Upgraded core code to latest Nomsu verison. 2018-07-17 23:08:24 -07:00
Bruce Hill
be06fc096a Major changes to how versioning and parsing work. This should be a
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-15 19:43:28 -07:00