Skip to content

Add a tree diagram to the syntax paths grimoire section#811

Merged
jackfirth merged 2 commits into
masterfrom
syntax-path-tree-diagram
Jul 11, 2026
Merged

Add a tree diagram to the syntax paths grimoire section#811
jackfirth merged 2 commits into
masterfrom
syntax-path-tree-diagram

Conversation

@jackfirth

Copy link
Copy Markdown
Owner

Adds a pict-generated tree diagram to the grimoire's syntax paths introduction, showing how the path /2/0 addresses a node in a syntax tree. Rendered inline from pict code in the scribble file rather than a checked-in image, so it's easy to tweak. Adds pict-lib to the build deps.

🤖 Generated with Claude Code

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resyntax analyzed 1 file in this pull request and found no issues.

@github-actions

Copy link
Copy Markdown
Contributor

Docs preview: https://resyntax.notjack.space/preview/811/

@coveralls

coveralls commented Jul 11, 2026

Copy link
Copy Markdown

Coverage Status

coverage: 95.329% (+0.01%) from 95.319% — syntax-path-tree-diagram into master

The manual layout pinned edges to the tops and bottoms of nodes, which
looked odd. Tree layouts draw edges between node centers, so the nodes
now have opaque fills to mask the lines, and the child-index labels are
pinned onto the edges after layout since tree layouts can't label edges
themselves.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resyntax analyzed 1 file in this pull request and found no issues.

@jackfirth
jackfirth merged commit 88dbec8 into master Jul 11, 2026
12 checks passed
@jackfirth
jackfirth deleted the syntax-path-tree-diagram branch July 11, 2026 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants