core icon indicating copy to clipboard operation
core copied to clipboard

Extract the module system

Open clyfe opened this issue 7 years ago • 6 comments

:duct/module functionality should be :integrant/module and be implemented either in integrant or an intermediary project like integrant-module, as it has a level of generality beyond duct. And have it be in cljc.

clyfe avatar Aug 26 '18 17:08 clyfe

I'm considering it, but I don't want to put anything in Integrant until I have a stable API. You may have noticed that the module system has changed in the 0.11 alpha versions.

weavejester avatar Aug 26 '18 18:08 weavejester

Is the API stable yet? Would be nice to have this available in cljs.

clyfe avatar May 31 '19 08:05 clyfe

No, but we could always add cljs support to duct/core.

weavejester avatar May 31 '19 11:05 weavejester

I have boiled the module system to this duct.core extraction, in cljc form. I'm considering publishing it to clojars, unless there's a more official plan for it. Duct core could piggyback on it adding daemons and servers and whatnot.

clyfe avatar Dec 15 '19 19:12 clyfe

The Duct module system isn't stable yet, and will likely be changed in the next six months. You're free to separate out whatever you want from Duct, however.

weavejester avatar Dec 15 '19 19:12 weavejester

Forked here: https://github.com/tape-framework/module Naming is changed from duct.core to tape.module. It supports both Clojure & ClojureScript, however the functionality is reduced.

clyfe avatar Jan 01 '20 19:01 clyfe