miloignis
|
30964bf4ec
|
Better BVAU, which does full trees-of-symbols destructuring with varidic support!
|
2023-02-12 11:56:32 -05:00 |
|
miloignis
|
c028e975d4
|
Add wrap, vfoldl, zipd, concat, bvau, and lambda! Need to add varidac handling to bvau, but getting tired
|
2023-02-11 00:34:24 -05:00 |
|
miloignis
|
1b813e39fb
|
Fix vapply bug, write vmap, add debug
|
2023-02-10 23:05:08 -05:00 |
|
miloignis
|
606972a38b
|
Implement vapply, got around the ever-growing environment
|
2023-02-10 22:34:04 -05:00 |
|
miloignis
|
3c2dfbf8a7
|
Add tail call recursion - works, but if a datastructure is too deep (say, because env keeps growing on the heap) Rc::drop will end up overflowing the stack when trying to deallocate
|
2023-02-10 19:38:44 -05:00 |
|
miloignis
|
ba67b8c67b
|
Add "!" syntatic form - a bit like the single quote, but !(a b c) d => !(a b c d). Useful for like !(let a 1) (+ a 3) or w/e. Break out some of the infinate nesting"
|
2023-02-10 01:01:04 -05:00 |
|
miloignis
|
3b5cc2c506
|
Implement a new style of let1 based on direct env manipulation
|
2023-02-09 01:20:19 -05:00 |
|
miloignis
|
02e359f42d
|
Finish out the basic primitives along with testing infra for both parsing and evalaution, with some slick Into<> impls to make Rust values Kraken values, which is esp useful for testing
|
2023-02-08 23:37:23 -05:00 |
|
miloignis
|
d861d91397
|
Fix ', add if and = along with bools
|
2023-02-08 01:54:53 -05:00 |
|
miloignis
|
c801f604c2
|
Add derived combiners and fix some bugs with eval, vau, quote, cons, car, cdr
|
2023-02-07 13:00:15 -05:00 |
|
miloignis
|
60dad101f8
|
Speed sketch beginnings of a Rust implementation of new stripped-down Scheme-like Kraken
|
2023-02-07 02:07:53 -05:00 |
|
miloignis
|
3807381ceb
|
Sketch out call-info, realized it and function-analysis needs pectx and also err threaded through it, since it can fail (which must be recoverable) and needs env and pectx for partial_eval inside
|
2023-02-02 01:18:17 -05:00 |
|
miloignis
|
bea48eb18b
|
Reviewing and making notes about analysises, looking to see if they can be implemented with a generic traversal or something
|
2023-02-01 01:01:37 -05:00 |
|
miloignis
|
a038a8cebf
|
Ensure proper env care during memo short circuiting
|
2023-01-31 22:54:53 -05:00 |
|
miloignis
|
967ec0feb4
|
After too much procrastination trying a bunch of parentheses editing plugins (parinfer the most interesting), did a bit of actual work and refactoring where the compiled function is checked for and inserted using both the pre and post partial-eval hash, and the analysis functions are pulled out together into a single meta analysis
|
2023-01-31 00:59:16 -05:00 |
|
miloignis
|
c20ba09179
|
clean up compile more, going straight to pulling out of memo, removing compile-body-part, removing now-unecessary recursion checking (for ping-pong between partial-eval and compile-inner because of how we now check memo and normalize), and finally add all tests to new_test.sh
|
2023-01-25 02:22:10 -05:00 |
|
miloignis
|
7f9f419a23
|
Remove rest of comb rec_hash tracking
|
2023-01-22 00:41:29 -05:00 |
|
miloignis
|
5a4cb4b40b
|
Cleanup, remove some of the rec_hashes
|
2023-01-22 00:07:39 -05:00 |
|
miloignis
|
dff6730dd9
|
Got partial-eval during compile working
|
2023-01-21 17:55:55 -05:00 |
|
miloignis
|
0ed097b5b0
|
mix old and unstable
|
2023-01-16 22:14:41 -05:00 |
|
miloignis
|
95f6dd867c
|
Koka needs old emscripten sigh
|
2023-01-16 19:01:50 -05:00 |
|
miloignis
|
94ae60f9d1
|
Merge branch 'master' of github.com:Limvot/kraken
|
2023-01-16 18:55:54 -05:00 |
|
miloignis
|
b2f0b5f1dd
|
Notes on todo
|
2023-01-16 18:55:52 -05:00 |
|
miloignis
|
18b901b2f1
|
Start version experiments to narrow down if Koka or Emscripten is the problem
|
2023-01-16 18:54:34 -05:00 |
|
miloignis
|
54f1092a2a
|
Old sketches, start simpler benchmarks setup with Koka WASM
|
2023-01-16 15:32:45 -05:00 |
|