Artifact 4cab09cf6f41a3b7b76427f765df98a25ffc458687326d5f946faec3e3237b28:
- File typeparse/tests_tclsh/t98_depliage.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: 773) [annotate] [blame] [check-ins using]
{*} liste: {0 5.0} 2 {} {} 0 5.0 {**} dict: {x 0.0 y 5.0} 5.0 {} sans dépliage: {0.0 5.0} 2 point rect {*}: {{0.0 0.0} {10.0 10.0}} 10.0 {} rect {**}: {nw {x 0.0 y 0.0} se {x 10.0 y 10.0}} 10.0 list.point: {{1.0 2.0} {3.0 4.0}} {{x 1.0 y 2.0} {x 3.0 y 4.0}} 2 somme {*}: {en {1.0 2.0}} aucune somme {**}: {en {x 1.0 y 2.0}} aucune mauvais retour: ERREUR return value {point}: expected floating-point number but got "a" type {{*}T}: {1.0 2.0} 2 {x 1.0 y 2.0} {} type {{*}T} liste: {{1.0 2.0} {3.0 4.0}} {nw {x 1.0 y 2.0} se {x 3.0 y 4.0}} type {{*}T} erreur: ERREUR expected floating-point number but got "a" type proc: {{*}point} {{**}point} type inconnu: ERREUR bad return type {zz}: unknown type "zz" compact: {1.0 2.0 3.0} {} {1.0 2.0 3.0} déjà typé: {3.0 4.0} 2 {}