Commit Graph

17 Commits

Author SHA1 Message Date
Nathan Braswell
6c0a46099a New kraken with import and #lang passed start symbol 2021-01-02 13:55:07 -05:00
Nathan Braswell
4ed9af307f Port method stuff over to new_kraken 2020-12-22 19:24:54 -05:00
Nathan Braswell
8d80f38f76 Fix a few parsing bugs at both levels, port some of the method demo over to new_kraken 2020-12-22 02:40:54 -05:00
Nathan Braswell
5152e1d109 Now actually have standard_grammar and with_import in scope let and all other ways in, having implemented let-vrec for mutually recursive vaus and fixing bugs. Tiny placeholder new_kraken definition and test. 2020-12-20 02:10:10 -05:00
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