Jooris Hadeler aca0dae7de Feat: add type-state AST and semantic analysis pass
- Update ast.rs with Phase trait (Parsed/Typed), Ty enum, and generic
  AST nodes so the same tree works pre- and post-type-checking
- Add checker/ module implementing the 4-pass semantic analyser from
  SEMANTICS.md: struct/function collection, field resolution + size-cycle
  detection, full expression/statement type checking, and entry-point
  validation
- Wire checker into main; semantic errors are only run when the parse
  succeeds and are rendered with the same diagnostic machinery

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-11 15:12:10 +01:00
Description
No description provided
339 KiB
Languages
Rust 94.7%
Python 5.3%