This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-04-22
Channels
- # announcements (8)
- # babashka (4)
- # beginners (164)
- # calva (17)
- # cider (30)
- # cljdoc (4)
- # cljs-dev (6)
- # clojure (103)
- # clojure-europe (63)
- # clojure-nl (1)
- # clojure-norway (1)
- # clojure-portugal (1)
- # clojure-uk (3)
- # clojured (10)
- # clojuredesign-podcast (2)
- # clojurescript (16)
- # conjure (2)
- # core-async (9)
- # cursive (26)
- # datalevin (4)
- # datomic (155)
- # gratitude (1)
- # holy-lambda (8)
- # honeysql (9)
- # hoplon (6)
- # off-topic (55)
- # polylith (14)
- # portal (21)
- # reagent (5)
- # reitit (16)
- # releases (3)
- # shadow-cljs (87)
- # spacemacs (3)
- # tools-deps (25)
- # xtdb (9)
@pez Note sure if this is useful or not, but I got nbb working in a VS Code extension.

@pez so this is different from Calva's existing arch in that it doesn't require a compilation step right? Also what's the difference between sci and nbb? Forgive the ignorance pls
@U037TPXKBGS good question. SCI is the Small Clojure Interpreter which powers multiple projects: babashka, nbb, 4everclojure, etc. So it is the library that enables interpretation (clojure evaluation) but each environment requires its own stuff, e.g. nbb is SCI + node.js specific stuff

For a VSCode extension you might be better off using SCI + VSCode specific stuff rather than using nbb directly, although it's worth a try.
Nbb is set up as an ES6 project using shadow-cljs target esm and this may not play so well with VSCode / electron, although I have gotten it to work using webpack.
@pez was trying to build an extension using CLJS with nbb as a dependency. For this to work you must also start with the shadow-cljs config that nbb has, I'd say (target esm for sure)
I'm curious then why @pez is exploring nbb vs sci+<something vscode specific>, or rather why one might be better off either way. Thanks!
Not related to portal. It's something we've been discussing a while here and there and now both @U04V15CAJ and I had started to experiment with it almost at the same time. I see it as a sign. 😃