From d3ac1ab4dc21cd17b25b5d377ea9238699d011d4 Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Fri, 25 Sep 2026 12:20:12 +0700 Subject: [PATCH] Type limits are spelled min-value and max-value, and quick formatting is to use a per-frame temporary allocator --- TODO.org | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/TODO.org b/TODO.org index 48e22e32..346bc424 100644 --- a/TODO.org +++ b/TODO.org @@ -1092,7 +1092,7 @@ An unknown call whose near miss is a value — =(context-allocator)= against =context/allocator=, or a global — says the name is a value written without parentheses, and names no call at all when the call had arguments. -** NEXT (max-of T) and (min-of T) +** NEXT (max-value T) and (min-value T) Decided 2026-09-25: the type-limit constants as a form taking a type, Odin's max(T), valid at any numeric type or a numeric?-bounded variable. For a float, min-of is the most negative finite value. @@ -1279,6 +1279,13 @@ lowering buffer annotates all four sections, the two =llc= ones from a =--debug= copy of the IR. Rules out writing a disassembler, and reading the source off disk at disassembly time. +** NEXT A temporary allocator, wiped each frame +Decided 2026-09-25: Odin's context.temp_allocator. i64->bytes, f64->bytes and +other quick formatting allocate from it, so a number drawn every frame no longer +leaks from the default allocator. A dev build wipes it at each frame boundary; +otherwise the program calls (free-temp) once per frame. Text kept past the frame +is cloned. + * Runtime ** DONE An index out of range is a condition