Feat/oxabl semantic phase7 docs#53
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.