Commit Graph

978 Commits

Author SHA1 Message Date
3036d425a5 Updated tutorial 2018-12-14 20:56:19 -08:00
d3905474c9 Removed EOL comments 2018-12-14 20:54:18 -08:00
d30f6a397d Fixed some bugs, including upgrade --upgrade-from=version not working.
Also updated the README.
2018-12-14 20:34:49 -08:00
4fe63f253f Auto-updated to version 5 2018-12-14 20:21:03 -08:00
6abec65843 Fix for "\($x)abc" getting codegen'd to "$xabc" 2018-12-14 20:16:45 -08:00
64ba8aee07 Parenthesizing inline method targets when needed. 2018-12-14 20:09:32 -08:00
2360ada21f Codegen tweak 2018-12-14 19:26:05 -08:00
83a40b7493 Updating to support multiple method calls. 2018-12-14 19:25:03 -08:00
a7adc8cbff Fixed multi-line methodcalls 2018-12-14 18:25:23 -08:00
5b6095b805 More fixes. 2018-12-14 17:56:26 -08:00
b38d9e0062 Fix for nomsu codegen for methods. 2018-12-14 17:55:17 -08:00
6ba84a0f50 Initial setup work for syntax version 5. 2018-12-14 17:49:46 -08:00
0d88091f8d Cleanups and codegen improvements/fixes. 2018-12-13 15:21:55 -08:00
efd743591e Renamed append/concat_append to add/concat_add for Code objects. 2018-11-29 14:57:56 -08:00
09e571ffa6 Extended text comprehensions to Lua constructors. 2018-11-29 14:51:26 -08:00
7a7dcefc44 Added text comprehensions (in the style of the list/dict ones) 2018-11-29 14:23:17 -08:00
04c80440fb Fixed typo. 2018-11-29 14:22:55 -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
8e5f1b9e1e Simplifying the control flow API and deduplicating the code. 2018-11-26 16:22:04 -08:00
cbbe6b1c14 Updated and fixed the command line API. Introduced the "-t tool" flag
for more concisely running tools, removed the "-I file" and replaced it
with "-m files..."
2018-11-26 16:17:07 -08:00
1a794c6487 Tweaks and tidying. 2018-11-23 17:22:29 -08:00
0b082397bb Fixed typo. 2018-11-23 15:32:53 -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
43ff3892f3 Fixed a string indexing issue. 2018-11-19 17:28:43 -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
367cfa19db Fix for codegen of Set-style dicts. 2018-11-12 14:08:55 -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
2b4196bc20 Added (% as hex) and fixed bug with text interpolation codegen not
adding parens around indexchains.
2018-11-11 18:53:06 -08:00
2305f075b7 Fixed whitespace 2018-11-11 18:35:19 -08:00
c9db20040e Fixed compatibility thing with NomsuCode::from 2018-11-11 18:34:31 -08:00
171e9d674e Re-implemented nomsu -> lua comment translation and added file chunk
comments.
2018-11-11 18:28:34 -08:00
3c7a0ff2ea Added doc 2018-11-11 18:14:52 -08:00
fb8f8ed99e Fixed shebang not getting newline 2018-11-11 18:11:17 -08:00
b918668f18 Fixed -O optimization flag. 2018-11-11 18:03:25 -08:00
9b6caad828 Updating README. 2018-11-11 17:52:00 -08:00
81fda96301 Updated to use 'set' syntax instead of ": yes" 2018-11-11 16:45:48 -08:00
c5ea506acc Adding compat for deprecating math convenience functions. 2018-11-11 16:28:09 -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
ba03cb67c3 Added shebang and descriptive comment. 2018-11-11 15:37:57 -08:00
33d44fa8fc Style tweak: using (retry) instead of %retry for goto label. 2018-11-11 15:29:59 -08:00
aa2902256f Removing compile-error shim. 2018-11-11 15:27:55 -08:00