Commit Graph

32 Commits

Author SHA1 Message Date
Bruce Hill
6882862d0f Cleaned up code generation to have less cruft. 2017-09-22 11:44:07 -07:00
Bruce Hill
d3a5fc73bc Tweaks and adjustments. 2017-09-22 00:51:53 -07:00
Bruce Hill
861d5accc0 Recompiled. 2017-09-22 00:27:27 -07:00
Bruce Hill
faf19b2729 Being extra cautious and putting the indent stack back. 2017-09-22 00:03:32 -07:00
Bruce Hill
0489456a4e Fixed lua block vars. 2017-09-21 21:15:37 -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
4fd6b61a00 Fixed bug that caused files to get reloaded if they returned nil. 2017-09-21 14:11:34 -07:00
Bruce Hill
79ad6b07c1 Optimization and cleanup pass. 2017-09-21 13:30:59 -07:00
Bruce Hill
c82e4f3409 Cleaning up and simplifying code. 2017-09-21 04:51:02 -07:00
Bruce Hill
34f50056ad Rebuilt. 2017-09-21 04:04:08 -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
0750d64262 Updated all the code to work with the latest nomsu. 2017-09-20 05:02:53 -07:00
Bruce Hill
e073b23fbf Added and fixed up "when" 2017-09-20 04:21:46 -07:00
Bruce Hill
b1b36fead5 Added require instead of run file. 2017-09-19 00:35:37 -07:00
Bruce Hill
3b10a60826 Moved core into lib/ and recompiled. 2017-09-19 00:30:47 -07:00
Bruce Hill
2c4acdfe67 More major overhaulage. 2017-09-18 22:41:50 -07:00
Bruce Hill
7087dc5151 Disabled serializing functions until it works. 2017-09-18 17:08:35 -07:00
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
13490a34c8 Made repr fix more flexible/correct. 2017-09-14 19:45:36 -07:00
Bruce Hill
6225462a1c Updated to use return values better. 2017-09-14 18:18:42 -07:00
Bruce Hill
f8f5e7b653 Added REPL. 2017-09-14 15:35:06 -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
be55821244 Fixed invocation function to canonicalize better and play nice with "'" 2017-09-14 05:14:28 -07:00
Bruce Hill
88ff27148b Rebuilt. 2017-09-14 04:33:45 -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
6b5fbd436b Renamed Compiler -> NomsuCompiler 2017-09-13 16:22:04 -07:00
Bruce Hill
522a039767 Fixed some bugs with generated code. 2017-09-12 23:12:45 -07:00
Bruce Hill
8221616cd6 Recompiled lua. 2017-09-12 23:08:38 -07:00
Bruce Hill
57268d8c04 Renamed language again. 2017-09-12 22:30:41 -07:00