From 99f5b10eccd95aa0066ea6fe6bb75f367ab56a47 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 18 Nov 2026 22:03:14 -0300 Subject: core: src/ becomes core/, pardes.zig its root.zig (the reorganisation's tree, step 2d), and every mention of a src/ path follows: the build's paths, the core's imports of its root, the tests that read the repository's files by path (lspbench's, look.zig's spans over core/look.zig), the comments that cite files, the documents and the manual (the typst corpus reads core/tutor.txt and core/plumbing); left as they were: the /src tree's served names (src/pardes.zig and the rest are the 9P tree's, not the repository's), the CHANGELOG's history, fixtures that are only strings; fs-unit-test runs from the core's root (a module of the core rooted at fs.zig had the runtime's and the devices' `core` be fs.zig); nothing else changes: the ledger (pardes.test.* now root.test.*), frames byte-identical, replicas and process-test the base's Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T --- build/library.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build/library.zig') diff --git a/build/library.zig b/build/library.zig index 049b4323..ebfd8596 100644 --- a/build/library.zig +++ b/build/library.zig @@ -4,7 +4,7 @@ const core = @import("core.zig"); const patches = @import("patches.zig"); /// pardes as a library, all a package that depends on it is given: the -/// `pardes-syntax` module (src/lib_syntax.zig), the grammars, highlighting +/// `pardes-syntax` module (core/lib_syntax.zig), the grammars, highlighting /// and themes for a program that draws source text itself. It takes /// tree-sitter and the grammars of its `tree-sitter` option and no other /// dependency, so nothing else is fetched (build.zig.zon). test/lib is such @@ -19,7 +19,7 @@ pub fn build(b: *std.Build) void { const mod = b.addModule("pardes-syntax", .{ .target = target, .optimize = optimize, - .root_source_file = b.path("src/lib_syntax.zig"), + .root_source_file = b.path("core/lib_syntax.zig"), .link_libc = true, }); // A library's options: its grammars, nothing stamped, no window. @@ -29,7 +29,7 @@ pub fn build(b: *std.Build) void { const themes = core.generatedThemes(b, io, target, optimize); mod.addImport("generated_themes", themes); ts.wire(mod); - mod.addImport("c_heap", b.createModule(.{ .target = target, .optimize = optimize, .root_source_file = b.path("src/c_heap.zig") })); + mod.addImport("c_heap", b.createModule(.{ .target = target, .optimize = optimize, .root_source_file = b.path("core/c_heap.zig") })); // The editor, `pardes-editor`, to a package that asks for it: uucode, // mvzr and vaxis (with what its build names) are fetched then and only // then. Of vaxis it takes the grapheme width, which uucode alone feeds. -- cgit v1.3