Repository navigation
Add Phase 2 language-pipeline study documents (tokenizer, parser, AST, semantic analysis, compiler, tiering) - #8
Merged
Conversation
Adds 02.1-tokenizer.md and TOKEN-CATALOG.md (generated by tools/gen_T21.py), CF-LEX-001/002, 19 claims, DEV-LEX-001, backlog VB-002..005, CON-002/003, decisions D-012..D-014; marks Phase 1 done in PROGRESS.md. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HnR7RpZuh9mvNMRTtzxTvk
Adds 02.2-parser.md, GRAMMAR.ebnf.md and ERROR-CATALOG.md (generated parts by tools/gen_T22.py: 157-method production table, 52-operator precedence table, 412 ParserStrings keys), CF-GRM-001, CF-ERR-002, DEV-GRM-010, 17 claims, CON-004..006, VB-006/007, decisions D-015/D-016. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HnR7RpZuh9mvNMRTtzxTvk
Adds 02.3-ast.md and AST-CATALOG.md (tools/gen_T23.py: 76 nodes, visit-order children, creators, consumers, visitor tables, inheritance diagram), DEV-AST-020, 13 claims, CON-007/008, VB-008..012, decision D-017. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HnR7RpZuh9mvNMRTtzxTvk
…ation map, tiering, instruction set, equivalence Adds 02.4-semantic-analysis (133 check sites generated), 02.5-compiler-and-engine, COMPILATION-MAP (63 Visit methods), IR-SPEC, INSTRUCTION-SET (183 classes), TIERING-POLICY (CF-CMP-001/002/003), EQUIVALENCE-SPEC; tools gen_T24/T25/T27 and expand_refs; DEV-SEM-030, DEV-ENG-040, DEV-TIER-060, DEV-EQV-061; CON-009/010; VB-013..016; decisions D-018. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HnR7RpZuh9mvNMRTtzxTvk
FredRavandi
marked this pull request as ready for review
November 3, 2026 11:38
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HnR7RpZuh9mvNMRTtzxTvk
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.
PR Summary
Adds the Phase 2 wave-1 documents of the static PowerShell v7.6.9 architecture study under
docs-out/:02.1-tokenizer.md,TOKEN-CATALOG.md.02.2-parser.md,GRAMMAR.ebnf.md,ERROR-CATALOG.md.02.3-ast.md,AST-CATALOG.md.02.4-semantic-analysis.md(133 check sites, 104 error IDs, generated).02.5-compiler-and-engine.md,COMPILATION-MAP.md(63Visit*methods),IR-SPEC.md.INSTRUCTION-SET.md(183 classes),TIERING-POLICY.md(owns CF-CMP-001/002/003),EQUIVALENCE-SPEC.md.docs-out/tools/(gen_T21,gen_T22,gen_T23,gen_T24,gen_T25,gen_T27,expand_refs) so catalogs are rendered fromdocs-out/data/, not typed.PROGRESS.md.No source, test or build file is changed. All changes are under
docs-out/.PR Context
The study is run static-only (no .NET SDK or
pwsh), so behaviour claims are labelledFACT-SRC/INFERENCE/UNVERIFIED. Remaining tasks (T26 binders and runtime operations, T28 types/operators/conversions, T29 scope, T210/T211, coordinator documents, later phases) follow in later PRs.Checks run:
render-canonical --check,check-claims,lint-terms,check-front-matter,check-links,numbers lintall pass.validate-refspasses (1525 refs, 0 failures) only with its pin gate bypassed in a throwaway interpreter: the gate fails because post-pin dependabot merges changed.github/workflows/*and a root prompt file, whilesrc/andtest/are identical to the pin (decision D-012).PR Checklist
.h,.cpp,.cs,.ps1,.psm1files added)🤖 Generated with Claude Code
https://claude.ai/code/session_01HnR7RpZuh9mvNMRTtzxTvk