tobogganSe connecter

louise

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

M8 (part 1): typed HTML literals, components, std/html rendering

- HIR: structured HTML nodes (tag, attributes, ordered children) with
  JSX whitespace rules; Uppercase/qualified tags are component calls
  (`<PostList x={y}>` -> `post_list(x: y, children: [...])`); `on*`
  attributes reserved for the client target.
- Types: a literal is `Element<msg>` (shared msg); children are
  Element, List<Element> or String (escaped); attribute values are
  String, Int or Bool.
- Core: literals become std/html constructors; children/attributes
  converted by their checked types.
- std/html: Element<msg>, Attribute, `type Html = Element<Never>`,
  text/raw, render (escaping, void elements, single join); interpreter
  extern tl_html_escape.
- The README example is now complete and runs (tests/run/readme.til);
  tests/run/html.til; tests/ui/html.til; ADR 0009; codes E0601-E0604
  (W0101 retired).

Part of #10 (TCP and HTTP remain, after M5).

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

olivier · il y a 1 mois · e3bacbbf07115fb2c50e4bce4a070aa7f9bb41f3

Parents 0c9487b

20 fichiers modifiés, 746 ajouts, 50 suppressions