Skip to content

Feat/oxabl semantic phase7 docs#53

Merged
evanbrobertson merged 3 commits into
masterfrom
feat/oxabl-semantic-phase7-docs
May 1, 2026
Merged

Feat/oxabl semantic phase7 docs#53
evanbrobertson merged 3 commits into
masterfrom
feat/oxabl-semantic-phase7-docs

Conversation

@evanbrobertson
Copy link
Copy Markdown
Contributor

No description provided.

evanbrobertson and others added 3 commits April 17, 2026 23:55
Two short written sketches that prove R10 (cross-file resolution) and
R11 (flow analysis) remain reachable after the v1 ship, without any
changes to the v1 public API of `oxabl_semantic::Semantic`.

- `docs/design/semantic-v1-cross-file-sketch.md` (R10): shows how
  `Resolution::Unresolved { reason: External }` entries become
  `Resolved` via a workspace-level `CrossFileResolutions` side table,
  walked for USING / NEW / RUN entry points. No v1 shape changes
  required; existing lint rules consult the new map through a thin
  wrapper.
- `docs/design/semantic-v1-flow-analysis-sketch.md` (R11): shows how a
  CFG attaches to the AST via the parser-assigned NodeIds and the
  source-order block bodies. Definite-assignment is a forward dataflow
  over `(Cfg, Semantic)`. Exception-sensitive flow and alias analysis
  are called out as future work that the v1 shape accommodates.

Non-blocking for the v1 merge — the side-table + NodeId architecture
*is* the contract; these docs are its written commentary.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@evanbrobertson evanbrobertson merged commit a4b6dfa into master May 1, 2026
6 checks passed
@evanbrobertson evanbrobertson deleted the feat/oxabl-semantic-phase7-docs branch May 1, 2026 02:04
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.

1 participant