1.1--- a/core/ffi.org Fri Aug 16 23:53:48 2024 -0400
1.2+++ b/core/ffi.org Sun Aug 18 22:16:12 2024 -0400
1.3@@ -13,40 +13,85 @@
1.4 rust-bindgen and the built-in rustc features.
1.5
1.6 * Libraries
1.7+:PROPERTIES:
1.8+:ID: 1eb797dc-d617-46cc-89e8-7b6103e526d2
1.9+:END:
1.10 The following binding libraries are provided with supporting
1.11 code. There is some cross-over between the Lisp and Rust bindings
1.12 depending on what library features we need and where. Some of the
1.13 bindings are very minimal or for experimental-use only only.
1.14 ** xkb
1.15+:PROPERTIES:
1.16+:ID: 79b3a686-efe9-411e-9d1e-358113622949
1.17+:END:
1.18 These bindings are actually directed at libxkbcommon instead of
1.19 x11/xkb directly.
1.20 *** xkbcommon
1.21+:PROPERTIES:
1.22+:ID: 9b9be592-1314-4926-940a-908ff4844e29
1.23+:END:
1.24 https://xkbcommon.org/doc/current/md_doc_2quick-guide.html
1.25 ** rocksdb
1.26+:PROPERTIES:
1.27+:ID: 5a1fd665-b72a-4d62-af4c-4967825f69c6
1.28+:END:
1.29 [[https://github.com/facebook/rocksdb/wiki][RocksDB Wiki]]
1.30 ** btrfs
1.31+:PROPERTIES:
1.32+:ID: 6b3dc423-0e1c-458d-9f8e-bf7456f9a048
1.33+:END:
1.34 The kernel headers btrfs and btrfs_tree will be wrapped at some point
1.35 in addition to the userspace library (btrfsutil) documented below.
1.36 *** btrfsutil
1.37+:PROPERTIES:
1.38+:ID: 7296995d-2b67-45ec-94d9-8fe23126a602
1.39+:END:
1.40 https://github.com/kdave/btrfs-progs
1.41 ** uring
1.42+:PROPERTIES:
1.43+:ID: c0750228-7ba8-445a-8790-ca0310cf0a7d
1.44+:END:
1.45 https://man.archlinux.org/man/io_uring.7.en
1.46 ** zstd
1.47+:PROPERTIES:
1.48+:ID: 6dbfed55-0d07-4090-bc3b-ea9317d9bfe5
1.49+:END:
1.50 zstd compression bindings: https://github.com/facebook/zstd
1.51 ** tree-sitter
1.52+:PROPERTIES:
1.53+:ID: 8527c382-ae65-4ad9-8f70-9ff5c6b152f0
1.54+:END:
1.55 bindings to tree-sitter parser generator and language libraries: https://github.com/tree-sitter/tree-sitter
1.56 ** COMMENT blake3
1.57+:PROPERTIES:
1.58+:ID: a1807b79-9811-49f0-9524-cbf5e88c1a66
1.59+:END:
1.60 temporary package for CL implementation of Blake3 SHA. Wraps C
1.61 implementation (libblake3).
1.62 ** COMMENT alpm
1.63+:PROPERTIES:
1.64+:ID: cdd1682c-39b0-450e-a979-a5637cd15f43
1.65+:END:
1.66 https://man.archlinux.org/man/core/pacman/libalpm.3.en
1.67 https://github.com/archlinux/alpm.rs/tree/382af70cdbff8e1f65c0bf8df79693786f44429c/alpm/examples
1.68
1.69 ** COMMENT bqn
1.70+:PROPERTIES:
1.71+:ID: 5014f979-5b3a-4dfc-89e3-5a5a23462a29
1.72+:END:
1.73 These bindings are for libcbqn which can be build from CBQN:
1.74 https://github.com/dzaima/CBQN
1.75 ** COMMENT k
1.76+:PROPERTIES:
1.77+:ID: 47a60640-e387-4ac7-ab45-4f7a763e9611
1.78+:END:
1.79 https://codeberg.org/ngn/k
1.80 bindings for ngn/k (libk).
1.81 ** COMMENT nuklear
1.82+:PROPERTIES:
1.83+:ID: e1e942b2-ebe0-48e9-bdd3-f4e27b7fed7c
1.84+:END:
1.85 ** COMMENT ssh2
1.86+:PROPERTIES:
1.87+:ID: 3c9e02d8-2c59-4ef5-8232-8422fd9e8ed3
1.88+:END:
2.1--- a/core/install.org Fri Aug 16 23:53:48 2024 -0400
2.2+++ b/core/install.org Sun Aug 18 22:16:12 2024 -0400
2.3@@ -12,8 +12,23 @@
2.4
2.5 #+end_example
2.6 * TODO Packages
2.7+:PROPERTIES:
2.8+:ID: 6152ea24-3ff8-4d63-b67b-a0dc27554088
2.9+:END:
2.10 - State "TODO" from [2023-11-25 Sat 18:28]
2.11 ** Crates :rust:
2.12+:PROPERTIES:
2.13+:ID: f75312a3-128e-4f1e-b7b9-aeada4aed456
2.14+:END:
2.15 ** ELPA :emacs:
2.16+:PROPERTIES:
2.17+:ID: 21e904b6-d85d-4028-a30e-2abca9f3ee74
2.18+:END:
2.19 ** Quicklisp Dist :lisp:
2.20+:PROPERTIES:
2.21+:ID: 7d04b352-ac48-4198-9e60-920fa2d5ff33
2.22+:END:
2.23 ** PKGBUILDs :pacman:
2.24+:PROPERTIES:
2.25+:ID: 2bcf0ab3-ff04-459c-a34a-c1095c950179
2.26+:END:
3.1--- a/core/lib/cli.org Fri Aug 16 23:53:48 2024 -0400
3.2+++ b/core/lib/cli.org Sun Aug 18 22:16:12 2024 -0400
3.3@@ -1,7 +1,7 @@
3.4 #+title: CLI
3.5 #+author: Richard Westhaver
3.6 #+description: Command-line Interface Library
3.7-#+setupfile: clean.theme
3.8+#+setupfile: ../../../clean.theme
3.9 #+filetags: lisp cli
3.10 #+property: header-args :dir ~/comp/core/ :exports both
3.11 #+setupfile: ../../../clean.theme
4.1--- a/core/readme.org Fri Aug 16 23:53:48 2024 -0400
4.2+++ b/core/readme.org Sun Aug 18 22:16:12 2024 -0400
4.3@@ -10,15 +10,33 @@
4.4 - [[file:stats.org][Stats]] :: Project Statistics
4.5 - [[comp:plan/tasks/core.html][Tasks]] :: Project Tasks
4.6 * [[file:api.org][API]]
4.7+:PROPERTIES:
4.8+:ID: 7a7f4c1c-91d3-44f5-a4c8-ecbe8af8ccf7
4.9+:END:
4.10 API Docs
4.11
4.12 * [[file:app][APP]]
4.13+:PROPERTIES:
4.14+:ID: 65f9b0db-5d7f-4b3e-a6ad-0f18abba83a2
4.15+:END:
4.16 App Docs
4.17 * [[file:lib][LIB]]
4.18+:PROPERTIES:
4.19+:ID: c22675d3-4563-447a-a4a6-7bad2aa5ba04
4.20+:END:
4.21 Library Docs
4.22 * [[file:ffi.org][FFI]]
4.23+:PROPERTIES:
4.24+:ID: a19243db-8b05-4e43-963e-e82bc5a1793c
4.25+:END:
4.26 FFI Docs
4.27 * [[file:ref][REF]]
4.28+:PROPERTIES:
4.29+:ID: e758fcdb-eb07-4549-81cb-103e52eb2023
4.30+:END:
4.31 Reference Manual
4.32 * [[file:man][MAN]]
4.33+:PROPERTIES:
4.34+:ID: 94b7c326-421d-4fa2-9673-52466c846aab
4.35+:END:
4.36 User Manual
5.1--- a/core/stats.org Fri Aug 16 23:53:48 2024 -0400
5.2+++ b/core/stats.org Sun Aug 18 22:16:12 2024 -0400
5.3@@ -7,6 +7,9 @@
5.4 #+infojs_opt: toc:nil home:https://compiler.company up:./ view:content
5.5
5.6 * vc
5.7+:PROPERTIES:
5.8+:ID: c5078cb0-d8bf-4281-a320-a49d258585bc
5.9+:END:
5.10 #+begin_src shell :results pp :exports results
5.11 hg churn -f "%Y-%m" -s
5.12 #+end_src
5.13@@ -27,6 +30,9 @@
5.14 #+end_example
5.15
5.16 * files
5.17+:PROPERTIES:
5.18+:ID: 5fc970df-a6d1-4670-9673-e53ce70354bb
5.19+:END:
5.20 #+begin_src shell :results pp :exports results
5.21 cd rust && cargo clean && cd ..
5.22 tokei -t='rust','lisp','c','c header','makefile','shell'
5.23@@ -51,7 +57,13 @@
5.24 #+end_example
5.25
5.26 * lisp
5.27+:PROPERTIES:
5.28+:ID: 7293eb8c-a5e7-414f-b1eb-33239adf7873
5.29+:END:
5.30 ** systems
5.31+:PROPERTIES:
5.32+:ID: f024eecb-1f44-4780-9aba-8188db1408d9
5.33+:END:
5.34 #+name: core-systems
5.35 #+begin_src lisp :results list replace
5.36 (asdf:load-asd "core.asd")
5.37@@ -72,6 +84,9 @@
5.38 - dat
5.39
5.40 ** files
5.41+:PROPERTIES:
5.42+:ID: b523235d-f9d3-45a5-8c44-8c6999be8e87
5.43+:END:
5.44 #+begin_src lisp :exports both :results list replace
5.45 (let ((r))
5.46 (dolist (s (doc:doc-dependencies (doc:system-documentation :core)) r)
5.47@@ -235,6 +250,9 @@
5.48 - /home/ellis/comp/core/lisp/lib/dat/base64.lisp
5.49
5.50 ** images
5.51+:PROPERTIES:
5.52+:ID: a2c797aa-e7e0-44d7-b02d-261811ab4d71
5.53+:END:
5.54 #+begin_src shell
5.55 for f in .stash/*.core; do
5.56 du -sh $f
5.57@@ -250,7 +268,13 @@
5.58 | 521M | .stash/user.core |
5.59
5.60 * rust
5.61+:PROPERTIES:
5.62+:ID: ae3145d1-6826-4f8a-a026-09f3817f5fbf
5.63+:END:
5.64 ** crates
5.65+:PROPERTIES:
5.66+:ID: 243a971e-8312-4950-ad90-ac5dafceeab4
5.67+:END:
5.68 #+begin_src shell :exports both :results output
5.69 cd rust && cargo tree --workspace --depth 1 --all-features
5.70 #+end_src
6.1--- a/core/tests.org Fri Aug 16 23:53:48 2024 -0400
6.2+++ b/core/tests.org Sun Aug 18 22:16:12 2024 -0400
6.3@@ -9,14 +9,38 @@
6.4 sections below.
6.5
6.6 * rust
6.7+:PROPERTIES:
6.8+:ID: aab59686-a82b-4718-a8ed-93d96c2846fe
6.9+:END:
6.10 ** sys
6.11+:PROPERTIES:
6.12+:ID: 01a2b4f4-f289-49cd-9108-cfd35d591403
6.13+:END:
6.14 These crates contain FFI bindings to foreign libraries, usually in C.
6.15 *** btrfs
6.16+:PROPERTIES:
6.17+:ID: 5fe13144-8651-413f-b2a7-6c57bb780d60
6.18+:END:
6.19 *** btrfsutil
6.20+:PROPERTIES:
6.21+:ID: 0d74253d-634c-4865-afcd-1a2875062ed3
6.22+:END:
6.23 *** rocksdb
6.24+:PROPERTIES:
6.25+:ID: b78abbdb-aeb4-4a7f-8712-f39b4ce14e23
6.26+:END:
6.27 ** lib
6.28+:PROPERTIES:
6.29+:ID: b43b62b5-fad3-4ff0-9d90-ff5d6b60d84a
6.30+:END:
6.31 *** TODO alch
6.32+:PROPERTIES:
6.33+:ID: 8706627d-902d-4943-b775-f72a823d74a8
6.34+:END:
6.35 *** audio
6.36+:PROPERTIES:
6.37+:ID: 7ef2a0b3-4457-4b6f-8aa4-40f1707d6a99
6.38+:END:
6.39 #+begin_src shell :results output replace :exports results
6.40 cd rust/lib/audio
6.41 cargo test
6.42@@ -38,6 +62,9 @@
6.43 #+end_example
6.44
6.45 *** crypto
6.46+:PROPERTIES:
6.47+:ID: 04a1b07d-0a9e-44eb-8791-242d69982867
6.48+:END:
6.49 #+begin_src shell :results output replace :exports results
6.50 cd rust/lib/crypto
6.51 cargo test
6.52@@ -64,6 +91,9 @@
6.53 #+end_example
6.54
6.55 *** TODO db
6.56+:PROPERTIES:
6.57+:ID: 82ef593a-1b9b-4e6d-9975-02634e2aa529
6.58+:END:
6.59 #+begin_src shell :results output replace :exports results :eval no
6.60 cd rust/lib/db
6.61 cargo test
6.62@@ -72,6 +102,9 @@
6.63 #+RESULTS:
6.64
6.65 *** flate
6.66+:PROPERTIES:
6.67+:ID: 23599c41-ffde-4cb9-86de-018fea66de76
6.68+:END:
6.69 #+begin_src shell :results output replace :exports results
6.70 cd rust/lib/flate
6.71 cargo test
6.72@@ -93,6 +126,9 @@
6.73 #+end_example
6.74
6.75 *** hash
6.76+:PROPERTIES:
6.77+:ID: 92cc5cfc-8112-4019-835f-71a437cec034
6.78+:END:
6.79 #+begin_src shell :results output replace :exports results
6.80 cd rust/lib/hash
6.81 cargo test
6.82@@ -118,7 +154,13 @@
6.83 #+end_example
6.84
6.85 *** krypt
6.86+:PROPERTIES:
6.87+:ID: a8bd94aa-61a9-44ed-8b6b-8d0b880da45c
6.88+:END:
6.89 *** logger
6.90+:PROPERTIES:
6.91+:ID: 75607e41-c411-4e20-b00b-1a50c900e556
6.92+:END:
6.93 #+begin_src shell :results output replace :exports results
6.94 cd rust/lib/logger
6.95 cargo test
6.96@@ -140,6 +182,9 @@
6.97 #+end_example
6.98
6.99 *** sxp
6.100+:PROPERTIES:
6.101+:ID: d03bb57a-bb4c-42bb-b121-d398b0ce0815
6.102+:END:
6.103 #+begin_src shell :results output replace :exports results
6.104 cd rust/lib/sxp
6.105 cargo test
6.106@@ -204,7 +249,13 @@
6.107 #+end_example
6.108
6.109 *** tenex
6.110+:PROPERTIES:
6.111+:ID: ebc2e94b-d4ce-4d96-ab02-fa1c6926dde7
6.112+:END:
6.113 *** util
6.114+:PROPERTIES:
6.115+:ID: 5c490df8-7039-4729-bfa3-bfeebfac7533
6.116+:END:
6.117 #+begin_src shell :results output replace :exports results
6.118 cd rust/lib/util
6.119 cargo test
6.120@@ -226,6 +277,9 @@
6.121 #+end_example
6.122
6.123 * lisp
6.124+:PROPERTIES:
6.125+:ID: 6e6c29eb-d206-4f05-9e72-528ba77e373e
6.126+:END:
6.127 #+name: gen-core-coverage-report
6.128 #+begin_src lisp :results silent :exports code
6.129 (ql:quickload :prelude)
6.130@@ -1460,6 +1514,9 @@
6.131 #+end_example
6.132
6.133 ** std
6.134+:PROPERTIES:
6.135+:ID: 46810d6e-6ed8-43b5-942e-84cd5f9660b4
6.136+:END:
6.137 #+begin_src lisp :results output replace :exports both
6.138 (load "lisp/std/tests.lisp")
6.139 (asdf:test-system :std)
6.140@@ -1483,7 +1540,13 @@
6.141 #+end_example
6.142
6.143 ** lib
6.144+:PROPERTIES:
6.145+:ID: e465bc66-1614-4c1e-b5d8-7deff751d15a
6.146+:END:
6.147 *** rdb
6.148+:PROPERTIES:
6.149+:ID: c1e76284-f474-4218-8907-40cfc199b5df
6.150+:END:
6.151 #+begin_src lisp :results output replace :exports results
6.152 (load "lisp/lib/rdb/tests.lisp")
6.153 (asdf:test-system :rdb)
6.154@@ -1497,6 +1560,9 @@
6.155 : #<PASS MINIMAL-TEST200920>
6.156 : No tests failed.
6.157 *** xdb
6.158+:PROPERTIES:
6.159+:ID: c645b172-9efb-4b25-aead-f102b7178cd8
6.160+:END:
6.161 #+begin_src lisp :results output replace :exports results
6.162 (load "lisp/lib/xdb/tests.lisp")
6.163 (asdf:test-system :xdb)
6.164@@ -1530,6 +1596,9 @@
6.165 #+end_example
6.166
6.167 *** organ
6.168+:PROPERTIES:
6.169+:ID: 1910b9a4-39ab-4e6a-a11f-b04c59717fb9
6.170+:END:
6.171 #+begin_src lisp :results output replace :exports results
6.172 (load "lisp/lib/organ/tests.lisp")
6.173 (asdf:test-system :organ)
6.174@@ -1558,6 +1627,9 @@
6.175 #+end_example
6.176
6.177 *** skel
6.178+:PROPERTIES:
6.179+:ID: 2ad33de1-6d24-48c0-acbb-10aaa74537a6
6.180+:END:
6.181 #+begin_src lisp :results output replace :exports results
6.182 (load "lisp/lib/skel/tests.lisp")
6.183 (asdf:test-system :skel)
6.184@@ -1574,6 +1646,9 @@
6.185 : No tests failed.
6.186
6.187 *** packy
6.188+:PROPERTIES:
6.189+:ID: e9cd88d5-fd78-4fb5-ad79-67a34619d45c
6.190+:END:
6.191 #+begin_src lisp :results output replace :exports results
6.192 (load "lisp/lib/packy/tests.lisp")
6.193 (asdf:test-system :packy)
6.194@@ -1585,6 +1660,9 @@
6.195 : No tests failed.
6.196
6.197 *** nlp
6.198+:PROPERTIES:
6.199+:ID: 4d585b8f-aaa8-4779-9a0b-bccebffb8249
6.200+:END:
6.201 #+begin_src lisp :results output replace :exports results
6.202 (load "lisp/lib/nlp/tests.lisp")
6.203 (asdf:test-system :nlp)
6.204@@ -1598,6 +1676,9 @@
6.205 : No tests failed.
6.206
6.207 *** net
6.208+:PROPERTIES:
6.209+:ID: ad77b355-0d20-4d9c-840f-44c884ee6577
6.210+:END:
6.211 #+begin_src lisp :results output replace :exports results
6.212 (ql:quickload :net)
6.213 (load "lisp/lib/net/tests.lisp")
6.214@@ -1622,6 +1703,9 @@
6.215 #+end_example
6.216
6.217 *** log
6.218+:PROPERTIES:
6.219+:ID: e153861a-3303-4c5a-ae8f-0e788d8ae519
6.220+:END:
6.221 #+begin_src lisp :results output replace :exports results
6.222 (ql:quickload :log)
6.223 (load "lisp/lib/log/tests.lisp")
6.224@@ -1639,6 +1723,9 @@
6.225 : No tests failed.
6.226
6.227 *** gui
6.228+:PROPERTIES:
6.229+:ID: e0b24ca7-0fd5-4f2b-9d86-501c7dfcea3e
6.230+:END:
6.231 #+begin_src lisp :results output replace :exports results
6.232 (ql:quickload :gui/tests)
6.233 (load "lisp/lib/gui/tests.lisp")
6.234@@ -1656,6 +1743,9 @@
6.235 : No tests failed.
6.236
6.237 *** cli
6.238+:PROPERTIES:
6.239+:ID: b3f5355c-6897-43bf-8e60-ce593c71c432
6.240+:END:
6.241 #+begin_src lisp :results output replace :exports results
6.242 (ql:quickload :cli)
6.243 (load "lisp/lib/cli/tests.lisp")
6.244@@ -1682,6 +1772,9 @@
6.245 #+end_example
6.246
6.247 *** rt
6.248+:PROPERTIES:
6.249+:ID: e01d5158-140a-4613-abba-2df63f56653e
6.250+:END:
6.251 #+begin_src lisp :results output replace :exports results
6.252 (ql:quickload :rt)
6.253 (load "lisp/lib/rt/tests.lisp")
6.254@@ -1699,6 +1792,9 @@
6.255 : No tests failed.
6.256
6.257 *** obj
6.258+:PROPERTIES:
6.259+:ID: dac3f1c9-9d1f-48c9-9e3e-a8a1c6a591af
6.260+:END:
6.261 #+begin_src lisp :results output replace :exports results
6.262 (ql:quickload :obj)
6.263 (load "lisp/lib/obj/tests.lisp")
6.264@@ -1732,6 +1828,9 @@
6.265 #+end_example
6.266
6.267 *** syn
6.268+:PROPERTIES:
6.269+:ID: 0a15866a-139d-4a13-ba92-6b70251c28d3
6.270+:END:
6.271 #+begin_src lisp :results output replace :exports results
6.272 (ql:quickload :syn)
6.273 (load "lisp/lib/syn/tests.lisp")
6.274@@ -1749,6 +1848,9 @@
6.275 : No tests failed.
6.276
6.277 *** doc
6.278+:PROPERTIES:
6.279+:ID: b1e58fcc-939c-4656-abdd-f9900d52f602
6.280+:END:
6.281 #+begin_src lisp :results output replace :exports results
6.282 (ql:quickload :doc)
6.283 (load "lisp/lib/doc/tests.lisp")
6.284@@ -1771,6 +1873,9 @@
6.285 #+end_example
6.286
6.287 *** vc
6.288+:PROPERTIES:
6.289+:ID: c1797c28-abdc-45f3-88f9-7d74e584bf21
6.290+:END:
6.291 #+begin_src lisp :results output replace :exports results
6.292 (ql:quickload :vc)
6.293 (load "lisp/lib/vc/tests.lisp")
6.294@@ -1789,6 +1894,9 @@
6.295 : No tests failed.
6.296
6.297 *** pod
6.298+:PROPERTIES:
6.299+:ID: 6a518f68-138f-4faf-84ef-e4148d9641f1
6.300+:END:
6.301 #+begin_src emacs-lisp
6.302 (async-shell-command "podman system service --time=10 unix:///run/user/$UID/podman.sock")
6.303 #+end_src
6.304@@ -1813,7 +1921,13 @@
6.305 : No tests failed.
6.306
6.307 ** ffi
6.308+:PROPERTIES:
6.309+:ID: 4646d63e-e4e7-408e-bd44-ac5543dea605
6.310+:END:
6.311 *** btrfs
6.312+:PROPERTIES:
6.313+:ID: a41bcf3f-8e2a-42b5-9e7e-4aba12088710
6.314+:END:
6.315 #+begin_src lisp :results output replace :exports results
6.316 (load "lisp/ffi/btrfs/tests.lisp")
6.317 (asdf:test-system :btrfs)
6.318@@ -1824,6 +1938,9 @@
6.319 : No tests failed.
6.320
6.321 *** rocksdb
6.322+:PROPERTIES:
6.323+:ID: d3d159f1-23a8-4a0e-9403-2f7a0dc21e04
6.324+:END:
6.325 #+begin_src lisp :results output replace :exports results
6.326 (load "lisp/ffi/rocksdb/tests.lisp")
6.327 (asdf:test-system :rocksdb)
6.328@@ -1836,6 +1953,9 @@
6.329 : No tests failed.
6.330
6.331 *** uring
6.332+:PROPERTIES:
6.333+:ID: 8fd3cdfb-0147-4309-899a-9df352975288
6.334+:END:
6.335 #+begin_src lisp :results output replace :exports results
6.336 (ql:quickload :uring)
6.337 (load "lisp/ffi/uring/tests.lisp")
6.338@@ -1852,6 +1972,9 @@
6.339 : No tests failed.
6.340
6.341 *** tree-sitter
6.342+:PROPERTIES:
6.343+:ID: 46e73820-2a0d-4af6-8fdb-34ce34517757
6.344+:END:
6.345 #+begin_src lisp :results output replace :exports results
6.346 (ql:quickload :tree-sitter)
6.347 (load "lisp/ffi/tree-sitter/tests.lisp")
6.348@@ -1870,6 +1993,9 @@
6.349 : No tests failed.
6.350
6.351 *** blake3
6.352+:PROPERTIES:
6.353+:ID: 00ede9c1-25cf-41ca-9eb5-c6daf0a2ae7e
6.354+:END:
6.355 #+begin_src lisp :results output replace :exports results
6.356 (ql:quickload :blake3)
6.357 (load "lisp/ffi/blake3/tests.lisp")
6.358@@ -1947,6 +2073,9 @@
6.359 No tests failed.
6.360 #+end_example
6.361 *** xkb
6.362+:PROPERTIES:
6.363+:ID: e4bc7094-e30f-4c40-b743-ab4b48a3322f
6.364+:END:
6.365 #+begin_src lisp :results output replace :exports results
6.366 (ql:quickload :xkb)
6.367 (load "lisp/ffi/xkb/tests.lisp")
7.1--- a/demo/stats.org Fri Aug 16 23:53:48 2024 -0400
7.2+++ b/demo/stats.org Sun Aug 18 22:16:12 2024 -0400
7.3@@ -5,6 +5,9 @@
7.4 #+OPTIONS: num:nil
7.5 #+INFOJS_OPT: toc:nil view:showall
7.6 * vc
7.7+:PROPERTIES:
7.8+:ID: a652fdcd-8c25-4f30-a23e-87354b906c90
7.9+:END:
7.10 #+begin_src shell :results pp :exports both
7.11 hg churn -f "%Y-%m" -s
7.12 #+end_src
7.13@@ -18,6 +21,9 @@
7.14 : 2024-04 737 *
7.15
7.16 * files
7.17+:PROPERTIES:
7.18+:ID: 5c0b5839-1b93-4354-b4ce-8684bea5e5ac
7.19+:END:
7.20 #+begin_src shell :results pp :exports results
7.21 tokei
7.22 #+end_src
8.1--- a/infra/quickstart.org Fri Aug 16 23:53:48 2024 -0400
8.2+++ b/infra/quickstart.org Sun Aug 18 22:16:12 2024 -0400
8.3@@ -6,6 +6,9 @@
8.4 #+infojs_opt: toc:nil home:https://compiler.company up:./ view:overview
8.5
8.6 * Overview
8.7+:PROPERTIES:
8.8+:ID: bbb86596-4be5-4f5e-8854-9ea28b077879
8.9+:END:
8.10 - *Host Requirements*
8.11 - x86_64 4 core CPU
8.12 - 8G RAM
8.13@@ -18,6 +21,9 @@
8.14
8.15
8.16 * bootstrap.sh
8.17+:PROPERTIES:
8.18+:ID: b906e6ea-71c2-41ae-9c29-c911582f054e
8.19+:END:
8.20 #+begin_src lisp :results none :exports none
8.21 (ql:quickload '(:dat :cli))
8.22 (in-package :dat/dot)
8.23@@ -60,6 +66,9 @@
8.24 =skel --help= for a list of other commands.
8.25
8.26 ** check.sh
8.27+:PROPERTIES:
8.28+:ID: 6a7b9d91-b22b-4534-9ff4-7ef5b71aca5c
8.29+:END:
8.30 This script checks that the current host is qualified. It needs to be
8.31 ran once before the =autogen.lisp= file is loaded, usually via
8.32 =bootstrap.sh=.
8.33@@ -80,6 +89,9 @@
8.34 : zor.sxp
8.35
8.36 ** autogen.lisp
8.37+:PROPERTIES:
8.38+:ID: cd5c94d4-bb53-4b1b-9898-320711e62a85
8.39+:END:
8.40 Once a core and lisp runtime are available, we load =autogen.lisp= and
8.41 call =infra/autogen:autogen=. This will process the host configuration
8.42 (=zor.sxp= in the example above) and the profile (defaults to
8.43@@ -96,6 +108,9 @@
8.44 - quit
8.45
8.46 * TODO deploy.lisp
8.47+:PROPERTIES:
8.48+:ID: 02b3701a-b969-473b-9dbd-ac4815f9d284
8.49+:END:
8.50 Deploy =infra= builds to a remote.
8.51
8.52 Deployment involves 'packing' a target found in =stash=, archiving it,
8.53@@ -108,4 +123,7 @@
8.54 Production deployments end up at https://packy.compiler.company.
8.55
8.56 * TODO install.lisp
8.57+:PROPERTIES:
8.58+:ID: 26107fe5-6f4a-4fe5-9bdf-e35947bc7198
8.59+:END:
8.60 Install core packages locally.
9.1--- a/infra/todo.org Fri Aug 16 23:53:48 2024 -0400
9.2+++ b/infra/todo.org Sun Aug 18 22:16:12 2024 -0400
9.3@@ -7,6 +7,7 @@
9.4 * TODO [#A] deploy [0/4] :lisp:
9.5 :PROPERTIES:
9.6 :Effort: 8h
9.7+:ID: f9b9c56b-90ce-462c-9b50-de88e28b1f15
9.8 :END:
9.9 :LOGBOOK:
9.10 - State "TODO" from [2023-12-30 Sat 19:20]
9.11@@ -22,6 +23,9 @@
9.12 - current user has access to DIST
9.13
9.14 * TODO [#B] publish [0/4] :lisp:emacs:
9.15+:PROPERTIES:
9.16+:ID: e308e4b8-d5eb-4498-8c74-2535895b02ca
9.17+:END:
9.18 :LOGBOOK:
9.19 - State "TODO" from [2024-06-21 Fri 15:00]
9.20 :END:
9.21@@ -31,6 +35,9 @@
9.22 - [ ] eval =publish=
9.23
9.24 * TODO install [0/7]
9.25+:PROPERTIES:
9.26+:ID: 703db83e-758f-45fa-a6d3-13557eaeb162
9.27+:END:
9.28 :LOGBOOK:
9.29 - State "TODO" from [2024-06-21 Fri 15:20]
9.30 :END:
9.31@@ -43,6 +50,9 @@
9.32 - [ ] run install script
9.33 * TBD [#C] demo
9.34 SCHEDULED: <2024-08-01 Thu>
9.35+:PROPERTIES:
9.36+:ID: 15304b4e-c388-45d3-b7b5-a7fbb642e3f9
9.37+:END:
9.38 :LOGBOOK:
9.39 - State "TODO" from [2023-12-30 Sat 19:22]
9.40 - State "TBD" from "TODO" [2024-06-21 Fri 15:04]
9.41@@ -51,6 +61,9 @@
9.42 =infra=.
9.43
9.44 * TODO ci
9.45+:PROPERTIES:
9.46+:ID: c50e8042-dbc2-4bfd-ab85-cef860673351
9.47+:END:
9.48 :LOGBOOK:
9.49 - State "TODO" from [2023-12-30 Sat 19:22]
9.50 :END:
9.51@@ -58,6 +71,9 @@
9.52 - triggers
9.53
9.54 * TODO tree-sitter-pack
9.55+:PROPERTIES:
9.56+:ID: e9d05b58-9812-4e35-8b6d-417f262a113f
9.57+:END:
9.58 :LOGBOOK:
9.59 - State "TODO" from [2024-01-24 Wed 22:59]
9.60 :END:
10.1--- a/nas-t/api.org Fri Aug 16 23:53:48 2024 -0400
10.2+++ b/nas-t/api.org Sun Aug 18 22:16:12 2024 -0400
10.3@@ -4,6 +4,18 @@
10.4 #+description: NAS-T API Documentation
10.5 #+setupfile: ../../clean.theme
10.6 * Overview
10.7+:PROPERTIES:
10.8+:ID: cce8c75c-6093-449c-8981-8e73077c319d
10.9+:END:
10.10 * Protocols
10.11+:PROPERTIES:
10.12+:ID: 11b47198-a6f1-477a-9c1e-016d2dc51122
10.13+:END:
10.14 * Filesystems
10.15+:PROPERTIES:
10.16+:ID: 445c9367-f022-4023-9902-e61f6d5c8043
10.17+:END:
10.18 * Objects
10.19+:PROPERTIES:
10.20+:ID: b6fe0064-e8c2-47ce-b522-c56f2a2acbb6
10.21+:END:
11.1--- a/nas-t/install.org Fri Aug 16 23:53:48 2024 -0400
11.2+++ b/nas-t/install.org Sun Aug 18 22:16:12 2024 -0400
11.3@@ -4,6 +4,9 @@
11.4 #+description: NAS-T Installation
11.5 #+setupfile: ../../clean.theme
11.6 * Overview
11.7+:PROPERTIES:
11.8+:ID: d773c229-026b-43cb-ba1b-5a29c15985e6
11.9+:END:
11.10 #+begin_src sh
11.11 make build
11.12 # make install
12.1--- a/nas-t/quickstart.org Fri Aug 16 23:53:48 2024 -0400
12.2+++ b/nas-t/quickstart.org Sun Aug 18 22:16:12 2024 -0400
12.3@@ -4,5 +4,14 @@
12.4 #+description: NAS-T Quickstart
12.5 #+setupfile: ../../clean.theme
12.6 * Install
12.7+:PROPERTIES:
12.8+:ID: d0cf6915-0a35-49fc-afd5-b06a6d0024e2
12.9+:END:
12.10 * Configure the daemon
12.11+:PROPERTIES:
12.12+:ID: 85a7aefa-fa1e-4e4e-a163-9d731cd6e989
12.13+:END:
12.14 * Connect a client
12.15+:PROPERTIES:
12.16+:ID: 0bf5aedc-9141-42ff-b444-afb7e415604d
12.17+:END:
13.1--- a/nas-t/roadmap.org Fri Aug 16 23:53:48 2024 -0400
13.2+++ b/nas-t/roadmap.org Sun Aug 18 22:16:12 2024 -0400
13.3@@ -4,16 +4,28 @@
13.4 #+description: NAS-T Roadmap
13.5 #+setupfile: ../../clean.theme
13.6 * 0.1.0 [0/3] :current:
13.7+:PROPERTIES:
13.8+:ID: 2f9dce5f-02c9-4115-a558-3ffb20989e59
13.9+:END:
13.10 ** TODO MVP [1/6]
13.11+:PROPERTIES:
13.12+:ID: 17820c6c-495b-461c-8e5e-0c662d73edc5
13.13+:END:
13.14 :LOGBOOK:
13.15 - State "TODO" from [2023-08-01 Tue 19:14]
13.16 :END:
13.17 *** DONE acquire domain
13.18+:PROPERTIES:
13.19+:ID: bbe9d162-9bc4-428f-9a9d-cd7b4407d4f1
13.20+:END:
13.21 :LOGBOOK:
13.22 - State "DONE" from [2023-08-01 Tue 19:16]
13.23 :END:
13.24 - [X] nas-t.net
13.25 *** DRAFT nas-t.net :web:rust:
13.26+:PROPERTIES:
13.27+:ID: 484ea4e4-a4f8-4ade-be18-27a3dd697a20
13.28+:END:
13.29 :LOGBOOK:
13.30 - State "DRAFT" from "TODO" [2023-08-23 Wed 22:21]
13.31 - State "TODO" from [2023-08-01 Tue 19:14]
13.32@@ -24,17 +36,26 @@
13.33 The site should be a web-app and have basic client-side request
13.34 capabilities for submitting inquiries/comments.
13.35 **** TODO client [0/3] :client:
13.36+:PROPERTIES:
13.37+:ID: 0578520e-5ad4-462d-8d26-afc213d2df3b
13.38+:END:
13.39 :LOGBOOK:
13.40 - State "TODO" from [2023-08-01 Tue 19:23]
13.41 :END:
13.42 SPA
13.43 ***** TODO styles :style:
13.44+:PROPERTIES:
13.45+:ID: d461f024-c6f5-40bc-853f-f82526dbe1f1
13.46+:END:
13.47 :LOGBOOK:
13.48 - State "TODO" from [2023-08-01 Tue 19:19]
13.49 :END:
13.50 Put together some color palettes and sass to make our web components
13.51 pretty. Design in modular fashion.
13.52 ***** TODO components
13.53+:PROPERTIES:
13.54+:ID: b15355af-3056-47f3-b15c-50d9cf931208
13.55+:END:
13.56 :LOGBOOK:
13.57 - State "TODO" from [2023-08-01 Tue 19:22]
13.58 :END:
13.59@@ -46,18 +67,30 @@
13.60 - [X] app
13.61 - [ ] err
13.62 ***** TODO hooks
13.63+:PROPERTIES:
13.64+:ID: 3bdd63a4-b8f2-4377-a1d2-b886c43d362a
13.65+:END:
13.66 :LOGBOOK:
13.67 - State "TODO" from [2023-08-01 Tue 19:22]
13.68 :END:
13.69 ****** TODO mailme
13.70+:PROPERTIES:
13.71+:ID: 5d3b44b2-7890-4d20-99de-9bf0325ebe70
13.72+:END:
13.73 :LOGBOOK:
13.74 - State "TODO" from [2023-08-01 Tue 19:30]
13.75 :END:
13.76 **** TODO server [0/2] :server:
13.77+:PROPERTIES:
13.78+:ID: d083ccce-365e-4a0a-8d21-bb8338f0c7df
13.79+:END:
13.80 :LOGBOOK:
13.81 - State "TODO" from [2023-08-01 Tue 19:22]
13.82 :END:
13.83 ***** TODO mailme route
13.84+:PROPERTIES:
13.85+:ID: 9658dc9f-80ef-4776-aa9e-90a3e7f9d980
13.86+:END:
13.87 :LOGBOOK:
13.88 - State "TODO" from [2023-08-01 Tue 19:29]
13.89 :END:
13.90@@ -67,26 +100,41 @@
13.91 - message
13.92 - return status
13.93 ***** TODO errors
13.94+:PROPERTIES:
13.95+:ID: b74d0daf-5374-4a3b-a103-a3e35c628b9d
13.96+:END:
13.97 :LOGBOOK:
13.98 - State "TODO" from [2023-08-01 Tue 19:32]
13.99 :END:
13.100 - basic scaffolding
13.101 - [ ] impl IntoResponse
13.102 *** OUTLINE daemon :design:
13.103+:PROPERTIES:
13.104+:ID: c8793423-02fc-42a9-aa6c-d181a9dc37fe
13.105+:END:
13.106 :LOGBOOK:
13.107 - State "OUTLINE" from "TODO" [2023-08-23 Wed 22:21]
13.108 - State "TODO" from [2023-08-01 Tue 19:33]
13.109 :END:
13.110 *** OUTLINE protocol :design:
13.111+:PROPERTIES:
13.112+:ID: 2da478b3-55e5-4640-b2ad-62c24e59d2aa
13.113+:END:
13.114 :LOGBOOK:
13.115 - State "OUTLINE" from "TODO" [2023-08-23 Wed 22:21]
13.116 - State "TODO" from [2023-08-01 Tue 19:34]
13.117 :END:
13.118 *** TODO nas-t CLI client :design:impl:
13.119+:PROPERTIES:
13.120+:ID: c9b7610b-1d43-4d0a-a82a-4ea4e52ffe00
13.121+:END:
13.122 :LOGBOOK:
13.123 - State "TODO" from [2023-08-01 Tue 19:34]
13.124 :END:
13.125 *** TBD prototype
13.126+:PROPERTIES:
13.127+:ID: f7e6c6bb-84b6-4099-937a-94bb9f2f3b30
13.128+:END:
13.129 :LOGBOOK:
13.130 - State "TBD" from "TODO" [2023-08-23 Wed 22:22]
13.131 - State "TODO" from [2023-08-01 Tue 19:36]
13.132@@ -96,10 +144,16 @@
13.133 - show capabilities and limitations
13.134 - perform basic benchmarks and discuss results
13.135 ** TBD pitch [0/0]
13.136+:PROPERTIES:
13.137+:ID: f70f81d9-1247-4317-acbe-76e84972bef6
13.138+:END:
13.139 - marketing/community approach
13.140 - define rhetoric
13.141 - optimized for variety of audiences
13.142 ** TBD demo [0/0]
13.143+:PROPERTIES:
13.144+:ID: 9cb9ae20-478f-45f1-ad60-d91a5f9c04c3
13.145+:END:
13.146 - assess hardware options
13.147 - soc
13.148 - must run GNU/Linux (for now..)
13.149@@ -112,3 +166,6 @@
13.150 - infra/releng infra/deploy
13.151 - no accessories, ssh access only (or display port based on soc)
13.152 * 0.2.0 [0/1] :next:
13.153+:PROPERTIES:
13.154+:ID: b6ef6210-775d-431f-b457-1b4b3b30747d
13.155+:END:
14.1--- a/nas-t/tutorial.org Fri Aug 16 23:53:48 2024 -0400
14.2+++ b/nas-t/tutorial.org Sun Aug 18 22:16:12 2024 -0400
14.3@@ -4,15 +4,51 @@
14.4 #+description: NAS-T Tutorial
14.5 #+setupfile: ../../clean.theme
14.6 * Overview
14.7+:PROPERTIES:
14.8+:ID: 1b369d03-1e49-4884-8f56-23a2b541e544
14.9+:END:
14.10 ** Introduction
14.11+:PROPERTIES:
14.12+:ID: 5818dd9a-5178-44b8-9d69-47347fd536cd
14.13+:END:
14.14 ** The Cloud
14.15+:PROPERTIES:
14.16+:ID: 804ad3f3-3a85-4c45-87bd-573d992625f0
14.17+:END:
14.18 *** Services
14.19+:PROPERTIES:
14.20+:ID: f18a2ecc-27b4-44d3-91f1-889d1ec926ce
14.21+:END:
14.22 **** Google
14.23+:PROPERTIES:
14.24+:ID: 51e7bbdb-54d4-4f35-b52d-c0d6ccd26637
14.25+:END:
14.26 **** DropBox
14.27+:PROPERTIES:
14.28+:ID: 486a211a-f661-43e2-874d-b00ea76a0451
14.29+:END:
14.30 **** Amazon
14.31+:PROPERTIES:
14.32+:ID: 47ac2edb-df72-40cf-ac7c-44cbaa34ec78
14.33+:END:
14.34 *** Protocols
14.35+:PROPERTIES:
14.36+:ID: bafbef7e-0881-4916-825e-07260171ccb0
14.37+:END:
14.38 **** HTTP
14.39+:PROPERTIES:
14.40+:ID: 5498deb7-396b-4903-a199-2880f2f98636
14.41+:END:
14.42 - gdrive,dropbox,s3
14.43 **** RSYNC
14.44+:PROPERTIES:
14.45+:ID: 125f64c4-e659-4b5a-840d-da9d436735b6
14.46+:END:
14.47 **** FTP
14.48+:PROPERTIES:
14.49+:ID: db5c1d20-4a73-4430-aae1-eb41e1817767
14.50+:END:
14.51 **** WebDAV
14.52+:PROPERTIES:
14.53+:ID: bb82d4c7-2623-4a76-82e4-b2531a960366
14.54+:END: