lacuna / bifurcan

functional, durable data structures
MIT License
967 stars 51 forks source link

interpretor/compiler for bifurcan structures #8

Closed zcaudate closed 5 years ago

zcaudate commented 5 years ago

It'll be really cool if there was a way for existing clojure code to be interpreted/compiled using bifurcan datastructures:

ie.

(assoc {} :a 1 :b 2) => io.lacuna.bifurcan.Map

(conj [] 1 2 3) => io.lacuna.bifurcan.List

I'm not too sure of the difficulty or the feasibility.

ztellman commented 5 years ago

This would require adding a Clojure-like facade to the data structures, and then forking Clojure. I discussed the difficulties of the facades a while ago, and have no desire to fork Clojure.

zcaudate commented 5 years ago

ah awesome. thanks for that.