tobogganSe connecter

louise

The Louise language: compiler, runtime, std, tooling

Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.

M2 step 1: HIR — item collection, imports, name resolution, desugaring

- tilc_hir: dense DefIds with stable (module, namespace, name) identity
  (ADR 0006), module scopes and exports, imports with privacy,
  conflict and cycle checks, prelude lookup.
- Signature resolution: type paths, lowercase type variables, effect
  rows, where clauses; pub/extern/trait/op signatures must be complete.
- Body lowering into arenas with a source map: lexical scopes, `use`
  as callback, `|>` as first-argument call, qualified names vs field
  access, literal range/escape checks, or-pattern binding consistency,
  handler clauses with `resume`, HTML holes (warned: unchecked until M8).
- std/prelude.til: built-in types, Bool/List/Option/Result/Order, and
  operator traits Eq/Ord/Num/Show with built-in impls.
- Parser: opaque `type T` without a body.
- docs: ADR 0006 (incremental model), diagnostic codes E0101-E0112.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

olivier · il y a 1 mois · 1d70fc246cf76fcbd4012202298b7baf17f6b7ae

Parents fc5037d

18 fichiers modifiés, 2889 ajouts, 6 suppressions

Mcrates/tilc_syntax/src/grammar/mod.rs+3−3
Mcrates/tilc_syntax/tests/data/ok/items.til+5−0
Mcrates/tilc_syntax/tests/snapshots/parser__ok_corpus_parses_cleanly@items.til.snap+40−2
Adocs/adr/0006-incremental-model.md+55−0