Commit Graph

16 Commits

Author SHA1 Message Date
Bruce Hill
6b09187899 Switched to use load() with environment table instead of passing in
nomsu to everything. This has some nice code cleanliness benefits.
2018-01-12 16:33:11 -08:00
Bruce Hill
09b64e0341 Performance optimizations and correctness fix for [=[...]=]-style
strings. Also, require % now properly inserts lua code.
2018-01-10 16:22:45 -08:00
Bruce Hill
4789892824 Got everything mostly working. 2017-12-30 14:31:07 -08:00
Bruce Hill
21a6314e27 Tweaked repr and added a depth parameter. 2017-12-18 16:50:31 -08:00
Bruce Hill
0987fde8e7 Improved documentation and compile script. 2017-12-18 16:45:46 -08:00
Bruce Hill
b859e643fc Optimized utils and cleaned up a bit. 2017-12-18 16:19:56 -08:00
Bruce Hill
e476bfea52 Improved code generation for "when" statements using elseif, and
improved code generation for loops by omitting goto labels when not used.
2017-10-13 18:09:04 -07:00
Bruce Hill
d13bcde2b9 Renamed repr_if_not_string to "stringify" and added nomsu:stringify for
convenience.
2017-10-13 16:16:07 -07:00
Bruce Hill
10d61df78b Making forward progress. 2017-09-26 15:27:01 -07:00
Bruce Hill
8afab37c90 Recompiled. 2017-09-24 20:20:43 -07:00
Bruce Hill
26d72ce56e Overhaul of invocations/specs. Much cleaner and more consistent now,
with less code duplication.
2017-09-21 21:11:13 -07:00
Bruce Hill
3715481506 Another overhaul, this time pulling all the chunks of the core lib into
their own files.
2017-09-21 00:10:26 -07:00
Bruce Hill
18365e02b1 Recompiled. 2017-09-20 04:43:50 -07:00
Bruce Hill
a045b76ad2 Fixed repr to use __tostring metamethod if present. 2017-09-18 17:09:03 -07:00
Bruce Hill
13490a34c8 Made repr fix more flexible/correct. 2017-09-14 19:45:36 -07:00
Bruce Hill
0615d127b5 Added moonc compiled versions of files. 2017-09-12 21:38:54 -07:00