From bc8e6eb1bfef0c5e9b3c40fc1e4fd5a1659e2b03 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 25 Sep 2026 23:09:07 -0300 Subject: sketchbook: design for editing regions in source docs/regions-in-source.md: named regions that remember where they were written (@src), an overlay to see and drag them, and a host-side patcher that rewrites the literals with std.zig.Ast, so hot reload shows the edit. Also scripts clicking regions by name. Not implemented yet. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 282cc4f..78aee58 100644 --- a/README.md +++ b/README.md @@ -151,6 +151,12 @@ results, aligned for Vulkan. `sb.modules`, `sb.host_exe` and `sb.probe_exe` are exposed for anything else. Add `.sketchbook = .{ .path = "..." }` to your `build.zig.zon`. +## Designs + +- [Regions in source](docs/regions-in-source.md): editing layout from the + running sketch by rewriting the number literals in the source (not + implemented yet). + ## The boundary Host and sketch are built by the same `zig build`, so ordinary Zig types cross -- cgit v1.3