diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-19 20:40:15 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-19 20:55:07 -0300 |
| commit | 4aca3f749e7105cdd67d0c445ae280adc3b53310 (patch) | |
| tree | 8114f4d1c42ec8f1d7aeba54af53fc5009576cba /docs/typ/reference.typ | |
| parent | b24f6a3ba68442259d28eb7de6e9debbc4607d58 (diff) | |
| download | pardes-4aca3f749e7105cdd67d0c445ae280adc3b53310.tar.gz pardes-4aca3f749e7105cdd67d0c445ae280adc3b53310.zip | |
docs: how pardes runs, as built on this tree: running.typ's source comments cite this tree (84 citations: every path from the repository root, every line range found again and read, the far client's now in runtime/client.zig, nothing left that the code contradicts), its client section says what a client applies at once and what waits for the session, whose machine a client's words read (~, the shell, the directory) and whose its view acts on (a yank, ClipPaste, a link: the client's), that the picture and the PDF run in a client as the games do, and its words name the two loops; the reference's addons say a plain kind runs in the client from its own addons, the session sending no pictures (it said a client runs no addon's code and shows the session's frames), and that a load is marked with its process, another pardes's load under way being no crash; the cheatsheet, the book and the site build (zig build cheatsheet, book, site, -Dplatform=tui, to a scratch prefix), core-test's drift test (docs/typ names only words, keys and default tags that exist) passes, and every path, identifier and line cited in the added lines exists on pardes-merge22 (the checker in .scratch/sketch/reorg/pardes-docs-arch/check.py: 454 ok, 0 bad); no code changed, so the suites and the corpus were not run
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'docs/typ/reference.typ')
| -rw-r--r-- | docs/typ/reference.typ | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/docs/typ/reference.typ b/docs/typ/reference.typ index 2562c91b..4c193e0f 100644 --- a/docs/typ/reference.typ +++ b/docs/typ/reference.typ @@ -1179,8 +1179,12 @@ of it is laid out by `view` and drawn by `paint`. handed (the last allocation the answer); one asked before an #word("Addon") `reload` answers into nothing, and the old library stays until its last such job has answered. -- A client of the session runs no addon's code: a pane of a kind it lacks - shows the session's frames of it, and its keys go to the session. +- A client of the session runs a kind whose state is plain (`PA_PLAIN`: + the games, the picture, the PDF) from its own addons, as the session + does, and draws its pictures itself. A pane of a plain kind it lacks, or + one that broke its promise there, shows a line saying so; a kind whose + state is not plain runs in the session alone, and its pane in a client + shows a line saying that. The session sends no pictures to a client. - #word("Addon") `load <path>` (relative to the pane's directory) loads one; `unload <name>` lets one go, refused while a pane of its kind is @@ -1230,8 +1234,10 @@ of it is laid out by `view` and drawn by `paint`. pane whose file changes on disk opens again from it, its record kept for its `load` (a PDF stays on its page). - An addon runs in pardes's process. A load is marked on disk while it - runs; a start that finds the mark of one that never finished skips that - library, listed so, until #word("Addon") `load` asks for it again. A + runs, with the loading process's pid; a start that finds the mark of a + load whose process is gone (it never finished) skips that library, + listed so, until #word("Addon") `load` asks for it again. Another + pardes's load still under way is no crash. A crash inside one says `in addon <file>, <call>` in the crash record. - `pardes --addon-test <lib> <script>` runs a script of keys, clicks, words and ticks (its clock starts at 1 s), `focus` and `blur`, `size C |
