diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-20 04:16:41 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-20 04:16:41 -0300 |
| commit | 5b7124d10f9b2db8d1c5e99eacb9b6d2fffff0cc (patch) | |
| tree | dc50936490ad8636f5431da30ec3aaa38339c936 /core/root.zig | |
| parent | 6e8735895d04c0073eb28cc1a2f431a2ba587e9d (diff) | |
| parent | 8fb080c6208bccf9ef12eca630b0534312ae5fe7 (diff) | |
| download | pardes-5b7124d10f9b2db8d1c5e99eacb9b6d2fffff0cc.tar.gz pardes-5b7124d10f9b2db8d1c5e99eacb9b6d2fffff0cc.zip | |
integration: the core's calls out to the host go through the tape's handle, on the devices once and the attach that is always a client: pardes-handle-6 (6a, 6b, 6c, 8a: p.tape.host(p, .name, .{ args }) derived from the Host table; Wrap, hostOf and wrap deleted; no line of core/ outside the tape names the host's table, held by root.zig's scan; the tape's bytes unmoved) and pardes-merge30, merged without a textual conflict; tui core-test 857/1008 (151 skipped), shell-test 1048/1051, the window builds; the coordinator's gate in the ledger (reorg/merge31)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/root.zig')
| -rw-r--r-- | core/root.zig | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/core/root.zig b/core/root.zig index a57934a6..45948189 100644 --- a/core/root.zig +++ b/core/root.zig @@ -600,10 +600,13 @@ test "nothing of a core is a process global: every container-level var in core/ /// The lines of each file of core/ that name the machine outside a test: /// `std.c.`, `libc.`, `std.posix.`, `getenv`, std.Io's File, Dir, net and -/// Threaded (a path's text, `Dir.path`, and `max_path_bytes` are none), and -/// `@import("dev")` and `@import("runtime")`, by file, how many and why. A -/// step's read of its own machine with no tape diverges a far client, and -/// the soak (one machine) never sees it: a new line here makes someone look. +/// Threaded (a path's text, `Dir.path`, and `max_path_bytes` are none), +/// `@import("dev")` and `@import("runtime")`, and the host's table +/// (`host.vtable`, `host.ctx`: only the tape's own lines call the host, a +/// call made past it is no call a replica replays), by file, how many and +/// why. A step's read of its own machine with no tape diverges a far +/// client, and the soak (one machine) never sees it: a new line here makes +/// someone look. /// The count is a file's, so it cannot tell a step's read from its host /// half's; the reason says which the file's are. const machine_lines = [_]struct { []const u8, usize, []const u8 }{ @@ -633,7 +636,7 @@ const machine_lines = [_]struct { []const u8, usize, []const u8 }{ .{ "rollback.zig", 1, "a test helper's directory" }, .{ "root.zig", 4, "dev's modules re-exported (host_io, file_watch, glide, fonts)" }, .{ "selection_pipe.zig", 14, "a pipe's child processes and their files: the host's `pipe` entry" }, - .{ "tape.zig", 11, "the tape's own files and host_io's types: a recording, a replay; the `io` a tape hands a site's body" }, + .{ "tape.zig", 12, "the tape's own files and host_io's types: a recording, a replay; the `io` a tape hands a site's body; which host the core holds (noteHost), the one file that names the host's table" }, .{ "lsp/lsp.zig", 1, "the language server's client (dev): the host's `lsp` entry" }, .{ "ninep/ctl.zig", 1, "the session's pid in a 9P read: the session's server" }, .{ "ninep/events.zig", 2, "the 9P event log's clock: the session's server" }, @@ -645,7 +648,7 @@ const machine_lines = [_]struct { []const u8, usize, []const u8 }{ /// The lines of `src` that name the machine (`machine_lines`'s rules). fn machineLines(src: []const u8, gpa: std.mem.Allocator, out: *std.ArrayList(usize)) !void { - const names = [_][]const u8{ "std.c.", "libc.", "std.posix.", "getenv", "std.Io.File", "std.Io.Dir", "std.Io.net", "std.Io.Threaded", "Io.File", "Io.Dir", "Io.net", "Io.Threaded" }; + const names = [_][]const u8{ "std.c.", "libc.", "std.posix.", "getenv", "std.Io.File", "std.Io.Dir", "std.Io.net", "std.Io.Threaded", "Io.File", "Io.Dir", "Io.net", "Io.Threaded", "host.vtable", "host.ctx" }; const pure = [_][]const u8{ "std.Io.Dir.path.", "Io.Dir.path.", "std.Io.Dir.max_path_bytes", "Io.Dir.max_path_bytes" }; var open: std.ArrayList(u8) = .empty; defer open.deinit(gpa); |
