leonoel / missionary

A functional effect and streaming system for Clojure/Script
Eclipse Public License 2.0
677 stars 27 forks source link

sci support #104

Open leonoel opened 8 months ago

leonoel commented 8 months ago

Slack thread : https://clojurians.slack.com/archives/CL85MBPEF/p1710313283572449

awb99 commented 4 months ago

Hi Leo! I am still willing to write sciconfig so that missionary works from sci. However I am waiting for cloroutine to be removed. Is this going to happen anytime soon? Thanks

leonoel commented 4 months ago

No schedule yet, sorry. To be clear, the plan is not to remove cloroutine itself but to remove cloroutine's dependency on clojurescript.

This issue https://github.com/leonoel/missionary/issues/109 will require a significant rewrite, so it may be a good opportunity to tackle this issue as well.

In the meantime, can you help me understand better why the clojurescript dependency is problematic for sci support, in order to make sure the new design won't have the same issue ?

awb99 commented 4 months ago

https://github.com/pink-gorilla/re-flow

This is my first attempt to get missionary working in clojurescript.

awb99 commented 4 months ago

https://github.com/pink-gorilla/re-flow/blob/main/src/sci/configs/missionary.cljs

This is the sci.config namespace. I plan to make a pull requests at sci.configs once I got a big further ahead.

awb99 commented 4 months ago

It works with shadow-cljs advanced build which really reduces the bundle size. I didnt yet convert the macros to sci clojurescript yet. As this is something that really needs code copying and adapting to scis macro system. There is already code for hoplon javelin (a cell calulation tree, what is similar to javelin, what is also similar is javelin heavy use of macros. So I think it can be done.