Commit Graph

19 Commits

Author SHA1 Message Date
Bruce Hill
f69e4763ca Moved utils onto the compiler. 2017-09-18 12:34:10 -07:00
bf01888279 Switched to use more flexible write instead of print. 2017-09-15 04:03:42 +00:00
Bruce Hill
ed0b5a3373 Fixed a bug in repr for strings ending in "]", and added moonscript
macros.
2017-09-14 19:39:27 -07:00
Bruce Hill
6225462a1c Updated to use return values better. 2017-09-14 18:18:42 -07:00
Bruce Hill
bce6cd2e21 Added dict comprehension and abbreviated loop forms. 2017-09-14 06:23:50 -07:00
Bruce Hill
c595e57942 Added comprehensions and cleaned up the core a little bit. 2017-09-14 06:11:10 -07:00
Bruce Hill
2dc9d24a5f Fixed error message, added another convenience accessor. 2017-09-14 05:49:01 -07:00
Bruce Hill
2cf8a96c70 Fixed out-of-order invocation args. 2017-09-14 05:44:55 -07:00
Bruce Hill
f0a3c983e4 Fixed bug in table assignment macro. 2017-09-14 05:16:57 -07:00
Bruce Hill
be55821244 Fixed invocation function to canonicalize better and play nice with "'" 2017-09-14 05:14:28 -07:00
Bruce Hill
e8dd820b8c Cleaned up core a bit 2017-09-14 05:04:27 -07:00
Bruce Hill
27f89faaee Tweaked apostrophe rules to make %x's %y work. 2017-09-14 04:31:46 -07:00
Bruce Hill
7c02fe0564 Added dict to core lib. 2017-09-14 04:16:22 -07:00
Bruce Hill
83463f11c5 Working string interpolation! 2017-09-14 02:41:10 -07:00
Bruce Hill
0f228d2d25 Changed comments to use # and #.. instead of (# #), which is more
consistent with the language's attitude towards code blocks and
indentation. No more long-range action closing parens.
2017-09-14 00:09:54 -07:00
Bruce Hill
75bb544343 Added in the tests. 2017-09-12 21:37:58 -07:00
Bruce Hill
a9e1bb479e Fixed up a bug in the sample game. 2017-09-12 21:19:19 -07:00
Bruce Hill
e4ca1cace7 Improvements to error messaging. 2017-09-12 21:10:22 -07:00
Bruce Hill
aa3401ab21 Major cleanup and consolidation. 2017-09-12 20:00:19 -07:00