tobogganSe connecter

louise

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

Docs: the reference, tutorial and README teach the new syntax (ADR 0061, issue #314)

Phase 7: the prose catches up with the migrated code samples.

- grammar.md: `fn name :: params`, the `param` forms (`a`, `a: T`,
  `~n`, `~n: T`, `~n:(p: T)`), paren-free attributes, application by
  juxtaposition with `~` labels, puns and `_`, construction keeping its
  hugging `(`, bare handler-clause heads, lambdas without `::`, and the
  fifth line-break rule (application and parameters continue on
  more-indented lines; the call-parenthesis rule dies). The case
  convention is relied on in two places now: patterns and construction
  heads.
- language.md: a definition's `::`, currying, `~` labels declared at the
  definition, `fn() -> T` is `fn(()) -> T` and `f ()`, the new pipe /
  capture / `use` shapes, paren-free attributes; the component bullet
  notes props fill parameters by name.
- diagnostics.md: E0205 is too-many / constructor-field-count / missing
  `~` label (too few is a partial application); E0125 (the wrong label
  sigil) and E0216 (a constructor called like a function) are listed.
- runtime-abi.md: entry functions and every parameterless callable take
  the unit argument; a zero-parameter extern's C shim does not.
- README's demo is the migrated one; the ergonomics bullet names
  currying and `~` labels.
- ADR 0061's open-for-review records the tree-sitter scanner's
  approximations (the indent rule inside parentheses; `F (x)` spaced
  reads as construction; a dotted lowercase head with a parenthesised
  first argument reads as construction).

`doc_samples_parse` stays green: every ```louise block parses.

olivier · il y a 1 mois · 68abf60f723a2bc20eb79080fa369ace06e3a6f2

Parents 2afbf04

7 fichiers modifiés, 73 ajouts, 62 suppressions