Commit Graph

282 Commits

Author SHA1 Message Date
Bruce Hill
4ae64ef9e3 Fixed ternary operator. 2017-10-05 15:00:01 -07:00
Bruce Hill
7f9a08f3d6 Updated. 2017-10-04 19:40:44 -07:00
Bruce Hill
8d95dc74a7 Added timeout by instruction count. 2017-10-04 19:37:41 -07:00
Bruce Hill
976fb55c45 Removed printing from permissions. 2017-10-04 19:12:47 -07:00
Bruce Hill
9251b462da Fixed one compiler bug with comments immediately after indenting 2017-10-02 20:17:52 -07:00
Bruce Hill
9f4aa6a2e0 Added some ansi color escapes. 2017-10-02 19:23:56 -07:00
Bruce Hill
63ed265157 More progress towards making everything work. 2017-10-02 19:00:58 -07:00
Bruce Hill
dcd3391b36 Updated to undo some of the block/thunk stuff. Thunks are thunks, and
expressions can be grouped with parens, and they have a clear
distinction.
2017-10-02 17:21:22 -07:00
Bruce Hill
e2bbbfe161 More stuff is working more better. 2017-09-29 22:04:03 -07:00
Bruce Hill
723a4c3871 Fixed some of secrets' functionality by rewriting rule % = % 2017-09-28 18:25:50 -07:00
Bruce Hill
ac25e20b9f Kinda mostly working, except for closure vars like in lib/secrets.nom. 2017-09-28 17:49:15 -07:00
Bruce Hill
10d61df78b Making forward progress. 2017-09-26 15:27:01 -07:00
Bruce Hill
02def0af92 lib/metaprogramming.nom is working! 2017-09-25 17:02:00 -07:00
Bruce Hill
af3274ca92 massive overhaul, compiler kinda works. 2017-09-24 20:20:27 -07:00
Bruce Hill
e4660b169c Renamed compiler -> nomsu for concision and clarity. 2017-09-22 11:56:46 -07:00
Bruce Hill
6882862d0f Cleaned up code generation to have less cruft. 2017-09-22 11:44:07 -07:00
Bruce Hill
b387e94a1e Did that. 2017-09-22 00:04:45 -07:00
Bruce Hill
e2e103c29f Removed debugging code. 2017-09-22 00:04:12 -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
e478b33d7a Tidying up. 2017-09-21 14:13:24 -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
5f2db8da0e Everything fixed up and some reduced lua codespew too! 2017-09-21 02:33:04 -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
c77ee8f8f9 Got the switch version of "when" working. 2017-09-20 04:39:19 -07:00
Bruce Hill
e073b23fbf Added and fixed up "when" 2017-09-20 04:21:46 -07:00
Bruce Hill
6e46f042fd Mostly working overhaul again that strips out ending lines with "..",
and simplifies a lot of the code. Also stripped out Expression, which
was just a useless level of indirection.
2017-09-20 03:06:15 -07:00
Bruce Hill
a6cd8907c8 Improved source code business. 2017-09-19 01:30:05 -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
0ee5b58882 Buncha updates to the sample code and core lib. 2017-09-19 00:29:31 -07:00