Commit Graph

270 Commits

Author SHA1 Message Date
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