Commit Graph

34 Commits

Author SHA1 Message Date
Bruce Hill
139bd76efc Cleaning up vars.XX use and removing typecheck. 2018-01-05 15:42:06 -08:00
Bruce Hill
cd4196d365 Tidying. 2018-01-03 01:04:21 -08:00
Bruce Hill
cfee75b21b Reworked {} a bit and added dicts to the core language. Did some more
testing on string interpolations too.
2018-01-03 00:52:01 -08:00
Bruce Hill
4789892824 Got everything mostly working. 2017-12-30 14:31:07 -08:00
Bruce Hill
3c303018bb Tweaks. 2017-12-15 15:30:05 -08:00
Bruce Hill
536a3ba649 Got it working. 2017-12-13 16:29:15 -08:00
Bruce Hill
0c1c406ce0 More updates with more functional macros and source code storage. 2017-12-11 17:53:23 -08:00
Bruce Hill
96441251c4 Pretty much everything is working?? 2017-12-09 15:34:52 -08:00
Bruce Hill
5903820699 Incremental progress towards working. 2017-12-04 17:54:52 -08:00
Bruce Hill
3ae1f696aa Fixed remove rule rule. 2017-11-01 20:00:52 -07:00
Bruce Hill
87b2cce8e5 Added remove rule rule. 2017-11-01 19:59:44 -07:00
Bruce Hill
6ba79a8ff1 Added support for serializing rules. 2017-10-31 16:19:08 -07:00
Bruce Hill
60a85bbd8b Removed some unnecessary semicolons on keywords. 2017-10-23 16:28:45 -07:00
Bruce Hill
ca5896b7bd Finally fixed the bullshit way that string literals were converted to lua. 2017-10-19 18:16:15 -07:00
Bruce Hill
b98059261c Abbreviated "lua code" to "lua>" and "lua expr" to "=lua" and "lua
block" to "lua do>"
2017-10-19 17:00:10 -07: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
7435b61380 Changed generated code to be less verbose for function and macro defs
(using "foo %" syntax instead of {type="FunctionCall", ...} literals).
2017-10-13 16:10:47 -07:00
Bruce Hill
782383975c Added type of alias. 2017-10-09 19:52:46 -07:00
Bruce Hill
88add732c7 Added type function. 2017-10-09 19:51:55 -07:00
Bruce Hill
529afd465f Fixed permissions to work better with aliases. 2017-10-08 15:06:05 -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
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
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