Skip to content

Code assessment of the recent tslang work (2026-11-22) - #990

Merged
ASDAlexander77 merged 1 commit into
mainfrom
code-assessment
Nov 22, 2026
Merged

ASDAlexander77 merged 1 commit into
mainfrom
code-assessment

Conversation

@ASDAlexander77

Copy link
Copy Markdown
Owner

Adds CODE_ASSESSMENT_2026-11-22.md, an assessment of the code changed in the recent compiler PRs (TSLANG 152-160, #972-#989, DefaultLib #114-#117).

  • What's good: the validation (ctest, wasm and DefaultLib suites, tsc sweep, fuzzer, leak probes), clear -mm=own error messages, and helpers written as TypeScript source.
  • What worries:
    • the -mm=own checker growing as a list of special-case exemptions
    • generated syntax with names that carry meaning (.yd, $fin…)
    • more and more GenContext flags
    • fixes left partial (listed in a table)
    • the size of MLIRGenImpl.h
    • comments full of history
  • Recommendations:
    1. write down the own rules
    2. mark generated nodes with attributes instead of name prefixes
    3. split MLIRGenImpl.h
    4. trim comments to the current rule
    5. clear open TSLANG_ISSUES.md items

Documentation only; no code changes.

🤖 Generated with Claude Code

… what worries, what to do

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ASDAlexander77
ASDAlexander77 merged commit e4aea2e into main Nov 22, 2026
8 checks passed
@ASDAlexander77
ASDAlexander77 deleted the code-assessment branch November 22, 2026 12:07
ASDAlexander77 added a commit that referenced this pull request Nov 22, 2026
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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