Commit Graph

13 Commits

Author SHA1 Message Date
Nathan Braswell
03b588f1f9 Insert standard_grammar into the standard scope via recursion, allowing it to be used in sub-languages 2020-12-19 23:05:46 -05:00
Nathan Braswell
85dbaae9de Add vector, quote, and quasiquote syntax to new_kraken, and refactor types to use meta & new syntax 2020-10-20 22:59:21 -04:00
Nathan Braswell
168589c364 Finished generic concat, so let-rec properly works now 2020-10-18 20:18:38 -04:00
Nathan Braswell
f9529b02aa Impl function let-rec with Y* 2020-10-18 19:11:23 -04:00
Nathan Braswell
d689a59097 Experimenting with fungll optimization, implement the okmij.org poly-variadic fix-point combinator for mutual recursion 2020-10-17 11:59:54 -04:00
Nathan Braswell
45ecb25bb1 Lang with proper scoping 2020-10-11 23:24:17 -04:00
Nathan Braswell
844bb0f189 Working language mod, though it doesn't have access to anything defined in the outer 2020-10-11 22:31:36 -04:00
Nathan Braswell
42c2fcfb66 Cheating in the same way, strings! 2020-10-11 20:01:18 -04:00
Nathan Braswell
0820113c67 Fix error swallowing grammer errors for custom grammers on read-string, start constructing standard_grammar 2020-10-11 19:42:00 -04:00
Nathan Braswell
e6319d18f7 Add all-k_prime grammar argument to read-string, enabling all-in-k_prime grammer changing 2020-09-20 13:52:56 -04:00
Nathan Braswell
23d2c166cd Basic provide & with_import, fix a rep bug where all but first execution was in root_env instead of standard env 2020-09-19 12:41:52 -04:00
Nathan Braswell
e8899fc093 Better hermetic scoping 2020-09-19 00:04:09 -04:00
Nathan Braswell
1d97366933 Implement user-interatction part of k_prime in new_kraken.kp, moved from load_test.kp 2020-09-17 23:28:45 -04:00