| Bring vidya in cfd3e36 nandi 19d ago | 1 | {:paths ["src"] |
| 2 | |
| 3 | ;; glimmer-vidya is a backend for glimmer: glimmer owns the reactive core |
| 4 | ;; (ratom, component model, reconciler) and knows nothing about any toolkit; |
| 5 | ;; this project supplies the widgets, painting and the frame loop by way of |
| 6 | ;; Vidya's retained-tree C ABI, and registers them through glimmer.backend. |
| 7 | :deps {jolt-lang/glimmer {:git/url "https://github.com/jolt-lang/glimmer" |
| 8 | :git/tag "v0.1.0" |
| 9 | :git/sha "5581c331c51aff989259b9e8e92ec920fe5e6741"}} |
| 10 | |
| 11 | ;; libvidya, built from ../ffi (the Rust/egui implementation). Only that |
| 12 | ;; backend implements the tree ABI this project binds — the C/raylib build of |
| 13 | ;; libvidya exports vidya.h alone, so it is deliberately NOT interchangeable |
| 14 | ;; here, unlike for ../jolt. Put the built library on the search path: |
| 15 | ;; just ffi |
| 16 | ;; LD_LIBRARY_PATH=../build jolt counter |
| 17 | :jolt/native [{:name "vidya" |
| 18 | :darwin ["libvidya.dylib"] |
| 19 | :linux ["libvidya.so"]}] |
| 20 | |
| 21 | :aliases {:test {:extra-paths ["test"] |
| 22 | :main-opts ["-m" "glimmer-vidya.test-runner"]} |
| 23 | :counter {:extra-paths ["examples"] |
| 24 | :main-opts ["-m" "glimmer-vidya.counter"]} |
| 25 | :showcase {:extra-paths ["examples"] |
| 26 | :main-opts ["-m" "glimmer-vidya.showcase"]} |
| 27 | :smoke {:extra-paths ["examples"] |
| Hand the window to a REPL, so the UI is something to poke at 757d8e7 nandi 17d ago | 28 | :main-opts ["-m" "glimmer-vidya.smoke"]} |
| 29 | :repl-ui {:extra-paths ["examples"] |
| 30 | :main-opts ["-m" "glimmer-vidya.repl"]}} |
| Bring vidya in cfd3e36 nandi 19d ago | 31 | |
| 32 | :tasks {test "jolt -M:test" |
| 33 | counter "jolt -M:counter" |
| 34 | showcase "jolt -M:showcase" |
| Hand the window to a REPL, so the UI is something to poke at 757d8e7 nandi 17d ago | 35 | smoke "jolt -M:smoke" |
| 36 | repl-ui "jolt -M:repl-ui"}} |