| 1.1 | Int width and range | Settled | 64-bit, MIN = -(2^63-1), LLONG_MIN is the ?Int niche | | plan/00-vision.md G9 |
| 1.2 | Range types pick storage width | Settled | 0..=1e9 stores in 4 bytes; Packed<...> only when explicit | | plan/13-abstraction.md M7b |
| 1.3 | Optionals and niches | Revised 2026-11-20 (v2.2) | ?T, niche when the type has a spare value, else a flag; ?T does NOT implement Ord (==/!= auto-lift T to ?T). Tropical Optional Rule: min/max/min=/max= skip none (mixed (T, ?T) -> T); binary +/- and unary - on ?Int/?F64 absorb none (*///%/sum/+=/-= never lift); diverging RHS (return/break/continue) supported on ??; unparenthesized ?? mixed with arithmetic is an error; explicit poison-failure check required when none means failure inside min= | 1.1, 1.5 | §16.9, §18.1, §19.5, §19.10 |
| 1.4 | Structs, records, enums | Revised 2026-11-20 (v2) | auto constructors, payload enums, exhaustive match; with struct update deleted (use var copy + field assign); Ord derived only when all fields are Ord | | §16, research/archive/architecture/language-architecture-v2.md |
| 1.5 | Float semantics | Locked v2 (2026-11-20) | F64 (8-B IEEE double, no long double); quiet-NaN niche (?F64 is 8 B; NaN & Inf trap locally, making < total in checked runs); 1e18 stays Int, . marks F64; integer literals unify, Int vars need F64(x); Int(x) refused on F64 (use floor/ceil/round/trunc); bare print(x) of F64 is an error (use "{x:.6f}", never -0.00); ==/!= lint toward close(a, b, eps)/sign(x, eps) (exempting == 0.0); intrinsics sqrt/sin/cos/tan/atan2/exp/ln/hypot/PI | 1.3 | §16.1, research/archive/frictions/friction-backlog-batch-21.md |
| 1.6 | Strings | Revised 2026-11-20 (v2) | ASCII only (Char = 1 byte, zero UTF-8, non-ASCII literal is an error). Default Str is a flat 0..len-indexed ASCII byte sequence (s[i], s[l..r], s.push, s + t, s * k, s.starts_with(x, at: i), s.split_once, s.parse_int). Opt-in [domain S]Char = read() stays for multi-string nominal-domain DP | 2.14 | §16, research/archive/architecture/syntax-bakeoff-1.md Fork 4 |
| 1.7 | Numeric types (Int, U64, I128, F64) | Revised 2026-11-20 (v2) | 4 numeric types only: Int (symmetric 64-bit; range types pack to 1/2/4 B), U64 (wrapping 64-bit), I128 (explicit 128-bit), F64. I32, I64, U8, U32 deleted | 1.1, 1.2 | §16, research/archive/audits/subtraction-audit-1.md Cut 8 |
| 1.8 | Bit operations & power | Locked v2 (2026-11-20) | &, |, ^ (XOR), ~, <<, >>, plus &=, |=, ^=, <<=, >>=; ** is power (never ^); popcount, ctz, clz, bit_len; shifts reaching bit 63 on Int suggest U64 | 1.7 | §16, docs/one-page-cheat-sheet.md |
| 1.9 | Integer division and modulo | Settled 2026-11-20 | Euclidean everywhere: a / b and a % b satisfy a == (a / b) * b + a % b with 0 <= a % b < abs(b), so a % b is never negative, for negative a and for negative b. (// is not an operator: it starts a comment.) When the range checker proves a >= 0 and b > 0, both lower to the native C++ / and % with no extra code; otherwise to the two-instruction fix-up (cp_ediv / cp_emod). Int is symmetric (1.1), so Int.MIN / -1 == Int.MAX and only b == 0 stops the program | 1.1 | plan/11-values-and-types.md |
| 1.10 | ??= null-coalescing assignment | Locked v2 (2026-11-20) | place ??= expr evaluates expr lazily only when place is none, stores it, and lends the value ((m[k] ??= []).push(x)). No silent auto-vivification on method calls | 1.3 | §16, research/archive/architecture/language-architecture-v2.md |