Commit Graph

26 Commits

Author SHA1 Message Date
Bruce Hill
53a9d4eae8 Pretty much mostly working. 2018-01-10 20:45:03 -08:00
Bruce Hill
c92e5fbc81 Some overhaul of binary operators so that arbitrary math patterns work
fine.
2018-01-07 18:03:37 -08:00
Bruce Hill
2df539a762 More cleanup of vars.XX -> \%XX 2018-01-05 15:45:46 -08:00
Bruce Hill
cd4196d365 Tidying. 2018-01-03 01:04:21 -08:00
Bruce Hill
536a3ba649 Got it working. 2017-12-13 16:29:15 -08:00
Bruce Hill
b3b8c4d731 Some stuff changed to allow escaped args and some other ports from the
two_defs branch.
2017-12-04 17:35:47 -08:00
Bruce Hill
f1a2c936de Fixed some codegen stuff, optimized "say" for the common case of string
literals.
2017-11-01 16:49:11 -07:00
Bruce Hill
cbd876673a Added gsub. 2017-11-01 15:58:19 -07:00
Bruce Hill
8c7915e466 Added try/except. 2017-11-01 15:52:28 -07:00
Bruce Hill
c7994cf720 Added some constants to utils. 2017-10-19 17:28:41 -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
d13bcde2b9 Renamed repr_if_not_string to "stringify" and added nomsu:stringify for
convenience.
2017-10-13 16:16:07 -07:00
Bruce Hill
a858775a68 Fixing up sorting more. 2017-10-09 20:17:38 -07:00
Bruce Hill
f553bf2948 Fixing sort. 2017-10-09 20:05:58 -07:00
Bruce Hill
87e4777aee Added random seed. 2017-10-08 18:29:59 -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
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
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
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