6ba84a0f50
Initial setup work for syntax version 5.
2018-12-14 17:49:46 -08:00
e675621d3c
Removed "replace" tool.
2018-11-26 16:28:38 -08:00
5027bd4f0f
Upgraded/autoformatted.
2018-11-26 16:28:06 -08:00
fa967247da
Fixed tests to work better with different syntax versions.
2018-11-21 13:56:25 -08:00
2bbc035f5d
Simplifying the filesystem code (no longer entangled with nomsupath) and
...
using that to simplify the tools. Now the tools directly take lists of
file paths rather than things that might go through nomsupath or
directories or get processed by filetype. Use your shell for globbing stuff like
`nomsu tools/test.nom core/*.nom`
2018-11-20 14:54:40 -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
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
a84242b849
Cleaning up say/print and io.write (now you can use (say "foo" inline))
2018-11-11 19:01:31 -08:00
efac694cc0
Removed dead code.
2018-11-11 18:53:52 -08:00
c9db20040e
Fixed compatibility thing with NomsuCode::from
2018-11-11 18:34:31 -08:00
3c7a0ff2ea
Added doc
2018-11-11 18:14:52 -08:00
9d82d522c1
Fixed some autoformatting stuff, and prepping to deprecate some math
...
shorthand.
2018-11-11 16:27:01 -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
083ed530bd
Fixed text upgrading.
2018-11-09 17:34:27 -08:00
ed70165294
Better handling of shebangs and comments at the top of a file.
2018-11-09 17:33:04 -08:00
fa3f598fc3
Fixing the upgrade pipeline, plus some misc. fixes.
2018-11-09 17:02:53 -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
307dea1881
Changed stub convention to (foo 1 baz 2) -> foo_1_baz instead of
...
foo_1_baz_2, removed "smext", made some cleanup changes.
2018-11-02 14:39:23 -07: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
e7e84c9eda
Fix for compiler not parenthesizing method targets, fix for parser not
...
recognizing \ line continuation, and improvements to
upgrade tool API.
2018-10-30 20:32:49 -07:00
23abab4f80
Some cleanups and fixes, made the parser more permissive of prematurely
...
terminated files.
2018-10-29 13:00:30 -07:00
692fae5416
Incremental fixes and more nomnom ports.
2018-09-26 12:45:19 -07:00
Bruce Hill
2282085e13
Initial working version.
2018-09-15 20:20:46 -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
18126da9c5
Auto-upgraded to 3.7
2018-08-30 14:16:18 -07:00
Bruce Hill
ab38fd19fa
Fixed obnoxious bug where List was getting used instead of a Dict,
...
causing havoc when .first and .pop were being accessed.
2018-08-30 14:07:40 -07:00
Bruce Hill
811fdd6856
Tweaked version 3.6 to include deprecating list append/removal functions
...
in favor of using a method call style.
2018-08-29 16:00:04 -07:00
Bruce Hill
22495c7d70
Added replace tool.
2018-08-29 15:12:01 -07:00
Bruce Hill
23b52bc22d
Intermediate step in upgrading to 3.6. Fixed a bug with upgrading
...
methods.
2018-08-29 15:03:03 -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
930d522fbc
Bunch of miscellaneous changes. Paved the way a little bit for having
...
different compiler domains.
2018-08-27 13:39:22 -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
ab4ebdf175
Changed autoformatting rules to ensure tests get clumped together with
...
the thing below them.
2018-07-30 15:06:03 -07:00
Bruce Hill
fba035595d
Need to make sure all the files get run so their tests are loaded.
2018-07-30 14:12:22 -07:00
Bruce Hill
a69555bc03
Updated version numbers.
2018-07-25 13:49:17 -07:00
Bruce Hill
278b004d17
Added more file descriptions.
2018-07-23 15:54:27 -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
470a6fe7f9
Fixed blocks starting with extra newline when they start with a comment.
2018-07-23 14:41:30 -07:00
Bruce Hill
0d7bb7eb03
Cleaning up formatting.
2018-07-22 16:35:07 -07:00
Bruce Hill
4c1f0aca7a
Moving all the rest of the tests over to inline versions.
2018-07-22 16:30:49 -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
dfd39f0b14
Shifting further towards having inline tests. Also added a helper
...
function for directly extracting source lines from a Source or AST.
2018-07-22 13:59:08 -07:00
Bruce Hill
ae4670bd8e
Improvements working towards better inline tests. Improved handling of
...
file spoofing and adding -e command line flag for executing a string.
2018-07-21 14:44:26 -07:00
Bruce Hill
6728587dfc
Auto-formatted and auto-upgraded everything!
2018-07-20 20:27:27 -07:00
Bruce Hill
9af83191f2
Fix for upgrading from unknown tree.
2018-07-20 20:18:23 -07:00