clojure-toolbox.com icon indicating copy to clipboard operation
clojure-toolbox.com copied to clipboard

ClojureScript self-host compatible libs

Open arichiardi opened this issue 7 years ago • 2 comments

Hello James!

So for me one of the biggest oddities of ClojureScript for novice folks is the difference between JVM vs self-host.

The problem is in the dependencies, where it is not always true that libraries for ClojureScript JVM are compatible with self-host. Actually this is rarely the case.

So my issue is about the platform. We could introduce a cljs-self-host (or shorter name) platform in order to flag the libs that are compatible with it.

The solution seems easy but maybe I am overlooking something in your data model.

arichiardi avatar Mar 06 '18 00:03 arichiardi

I'm not against this in principle, but using a tag to communicate this information has two problems that I can see. Both "clj" and "cljs" are concise and self-explanatory. A tag like "cljs-self-host" is neither of these things. Perhaps we could introduce a key at the top explaining the tags somehow, but that would require more UI work.

weavejester avatar Mar 06 '18 03:03 weavejester

Yeah well the UI can be can be an overlay icon. Not happy about this name and approach either by the way, that is was I was seeking some advice.

arichiardi avatar Mar 06 '18 04:03 arichiardi