Artifact b1b57510c976f87247df8ab57525588a8759faf9e5101221f846cbb6ec00438b:
- File typeparse/tests_tclsh/t99_produits_ouverts.out — part of check-in [9107e09d45] at 2026-11-14 21:03:39 on branch tip-764_tcl90 — 1° normalisation : 'int' and 'double' values are stored like expr does (first part of 'canonic type'). 2° Notes are now kept by constructors of variables -> 4 meta-types of values exist : bare (shimmering value), typed (with a type), noted (with a note), typednoted (with a type and a note). This is done through a new C Enum : typedef enum { TCL_META_BARE, /* nue : aucun type, aucune note ; elle scintille */ TCL_META_TYPED, /* typée : un type résolu, fixé */ TCL_META_NOTED, /* notée : des notes, pas de type (proto-type) */ TCL_META_TYPED_NOTED /* typée et notée */ } TclMeta; (user: Florentis, size: 938) [annotate] [blame] [check-ins using]
--- produit : la vue liste de ses champs llength : 2 2 lindex : 1.0 double lassign : 1.0 2.0 foreach x y : 1.0 2.0 {*} : 2 concat : 1.0 2.0 1.0 2.0 / 1 2 1 2 join : 1.0,2.0 lmap : 2.0 4.0 même structure après la chaîne : 2 2 2 --- écritures par la vue liste (sous contrat) lset : 5.0 2.0 point lappend : 1 point needs 2 values but got 3 P : 5.0 2.0 --- chaînes atomiques list.string : <hello world> 1 string list.string : <coucou> 1 string imbriquée : <hello world> 1 imbriquée : <a> 1 imbriquée : <b> 1 imbriquée : <c> 1 string : 1 --- champ chaîne d'un produit llength : 2 1 string champ : <hello world> 1 champ : <3> 1 --- sommes, listes de produits somme : 2 1 list.point : 2 point 2 concat {*} : 1.0 2.0 3.0 4.0 produit mixte: 2 3 1 --- retour typé vers un appelant non typé lassign : 3.0 4.0