This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-07-08
Channels
- # announcements (2)
- # babashka (100)
- # beginners (25)
- # biff (7)
- # calva (13)
- # cider (24)
- # clj-kondo (39)
- # cljsrn (2)
- # clojure (22)
- # clojure-dev (13)
- # clojure-europe (12)
- # clojure-gamedev (3)
- # clojure-losangeles (2)
- # clojure-nl (1)
- # clojure-norway (3)
- # clojure-spec (11)
- # clojure-uk (2)
- # clojurescript (20)
- # core-async (8)
- # cursive (7)
- # data-science (2)
- # datomic (14)
- # emacs (6)
- # events (7)
- # fulcro (9)
- # honeysql (1)
- # kaocha (24)
- # lambdaisland (3)
- # leiningen (6)
- # lsp (30)
- # membrane (7)
- # missionary (10)
- # nbb (48)
- # nextjournal (13)
- # off-topic (6)
- # parinfer (4)
- # pathom (1)
- # polylith (1)
- # reagent (7)
- # rewrite-clj (6)
- # ring (11)
- # sci (7)
- # shadow-cljs (8)
- # sql (13)
I'm real curious about Unreal.js https://github.com/ncsoft/Unreal.js It's a plugin for Unreal that looks to embed a V8 runtime that integrates with Unreal's API in an Unreal Blueprint. Many examples of using typescript exist, I wonder if CLJS would work as well? I wonder if even having a repl would be possible since it's a whole V8 runtime. Would love to hear if someone has tried this and if it worked out!
Well, I'm very late to the party here, but I tried to use unreal.js with CLJS. You have the ability to simply call into / execute js files, so compiling CLJS to JS and then using it in Unreal is certainly possible, but in the end it just wasn't wort it.
I also tried to embed a jvm into an unreal executable and host clj there, which worked too, but again, the experience was rather meh.
You can use libpython-clj
though to script the unreal editor.
So, long story short. It's always an uphill battle against the engine and you're way better off just writing C/Unreal C++ to get stuff done.
There's a ton of work to do to make something like CLJ a viable scripting language.
But maybe embedding a lisp like https://janet-lang.org/ would be nice.
FWIW I stick to CLJ for the backend and tools and write C for Unreal