nandi/jolt-nativepublic Fork 0
71cdc877e694ff5acadac0f1dcc3320531bd6f19
Commits
Clone
git clone https://git.rickub.com/nandi/jolt-native.git
git clone ssh://git@rickub.com/nandi/jolt-native.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

glimmer-cosmic: a libcosmic backend for glimmer (spike) 6a3304d · on 71cdc877e694ff5acadac0f1dcc3320531bd6f19 · nandi · 8d ago
deps.edn · 24 lines · 1.1 KBClojure Blame HistoryRaw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{:paths ["src"]

 ;; glimmer-cosmic is a backend for glimmer, beside glimmer-vidya and
 ;; glimmer-tui and against the same reconciler. It binds libjoltcosmic
 ;; (crates/jolt-cosmic), which keeps libvidya's retained-tree ABI and paints it
 ;; with libcosmic. The one difference a caller can feel is that libcosmic owns
 ;; the main thread, so the reconciler runs on a worker.
 :deps {jolt-lang/glimmer {:git/url "https://github.com/jolt-lang/glimmer"
                           :git/tag "v0.1.0"
                           :git/sha "5581c331c51aff989259b9e8e92ec920fe5e6741"}}

 ;; libjoltcosmic, built from ../../crates/jolt-cosmic:
 ;;   cargo build --release -p jolt-cosmic
 ;;   LD_LIBRARY_PATH=../../target/release jolt -M:counter
 :jolt/native [{:name "joltcosmic"
                :linux ["libjoltcosmic.so"]}]

 :aliases {:counter {:extra-paths ["examples"]
                     :main-opts ["-m" "glimmer-cosmic.counter"]}
           :smoke   {:extra-paths ["examples"]
                     :main-opts ["-m" "glimmer-cosmic.smoke"]}}

 :tasks {counter "jolt -M:counter"
         smoke   "jolt -M:smoke"}}