This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-11-09
Channels
- # announcements (14)
- # architecture (42)
- # babashka (23)
- # beginners (37)
- # biff (8)
- # calva (2)
- # cider (3)
- # clara (42)
- # clerk (14)
- # clojure (55)
- # clojure-brasil (3)
- # clojure-dev (5)
- # clojure-europe (18)
- # clojure-hungary (88)
- # clojure-losangeles (3)
- # clojure-nl (1)
- # clojure-norway (66)
- # clojure-uk (9)
- # clojurescript (16)
- # core-logic (16)
- # datomic (6)
- # fulcro (32)
- # hyperfiddle (25)
- # instaparse (12)
- # joyride (2)
- # lsp (13)
- # malli (15)
- # off-topic (50)
- # polylith (11)
- # portal (3)
- # re-frame (2)
- # reitit (2)
- # sci (8)
- # shadow-cljs (16)
- # tools-deps (13)
- # xtdb (5)
I'm planning to distribute a Babashka script to semi-technical businesspeople. Is it possible to “compile” a Babashka script to a fully self-contained and self-executing program, similar to how a C# console app can be compiled to a .dll
or .exe
on different platforms that can be run with ./myscript
via the terminal? Without requiring the user to manually install Babashka on their system first.
Wow, I can't believe I missed that. Out walking the dog in the rain and typing on my phone with frozen fingers 😅
@U04V15CAJ this question comes up quite often. Any plans to create something like linqpad or autoit where users install a bb ui and can share scripts?
Linqpad queries are self-contained, but not self-contained executables. I love the idea though, I use Linqpad every day.
bb has an http server making a UI element with clojure-syntax support is easy (view source of https://squint-cljs.github.io/squint/) so it should be relatively easy to whip something like linqpad together for bb scripts
you could even do the gist thing like is done here: https://babashka.org/sci.configs/?gist=e83da19df3d2739861334171779f79d5
Probably taking a look at how portal launches a dedicated webview would be the easy way
For the people who like Linqpad I'm not sure it is a good alternative because the purpose and focus is different. But I'm not sure if there are enough Clojure Linqpad enjoyers to warrant a serious effort.
@U08JKUHA9 my sentiments exactly! djblue portal and rebl seemed like options but they don’t have the same focus. i would use a clj-pad or bb-pad
my point was that you can launch a webview like portal does, not that portal does a similar thing to linqpad