nandi/jolt-nativepublic Fork 0
42dabb0835e3d1aded9830f8dda2fb4ecf550ca0
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.

Bring vidya in cfd3e36 · on 42dabb0835e3d1aded9830f8dda2fb4ecf550ca0 · nandi · 19d ago
deps.edn · 33 lines · 1.6 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
25
26
27
28
29
30
31
32
33
{:paths ["src"]

 ;; glimmer-vidya is a backend for glimmer: glimmer owns the reactive core
 ;; (ratom, component model, reconciler) and knows nothing about any toolkit;
 ;; this project supplies the widgets, painting and the frame loop by way of
 ;; Vidya's retained-tree C ABI, and registers them through glimmer.backend.
 :deps {jolt-lang/glimmer {:git/url "https://github.com/jolt-lang/glimmer"
                           :git/tag "v0.1.0"
                           :git/sha "5581c331c51aff989259b9e8e92ec920fe5e6741"}}

 ;; libvidya, built from ../ffi (the Rust/egui implementation). Only that
 ;; backend implements the tree ABI this project binds — the C/raylib build of
 ;; libvidya exports vidya.h alone, so it is deliberately NOT interchangeable
 ;; here, unlike for ../jolt. Put the built library on the search path:
 ;;   just ffi
 ;;   LD_LIBRARY_PATH=../build jolt counter
 :jolt/native [{:name "vidya"
                :darwin ["libvidya.dylib"]
                :linux ["libvidya.so"]}]

 :aliases {:test     {:extra-paths ["test"]
                      :main-opts ["-m" "glimmer-vidya.test-runner"]}
           :counter  {:extra-paths ["examples"]
                      :main-opts ["-m" "glimmer-vidya.counter"]}
           :showcase {:extra-paths ["examples"]
                      :main-opts ["-m" "glimmer-vidya.showcase"]}
           :smoke    {:extra-paths ["examples"]
                      :main-opts ["-m" "glimmer-vidya.smoke"]}}

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