Commit Graph

42 Commits

Author SHA1 Message Date
hl-valdemar 32a7a1de24 feat: materialize readonly typed compile-time slices 2026-10-30 18:03:36 +01:00
hl-valdemar cc39c96fc0 feat: materialize address-free compile-time untagged unions
Snapshot full union storage rather than choosing an overlapping field. Preserve structural union source syntax independently of nominal identity so direct literal arguments materialize and share normalized specialization keys. Reject uninitialized bytes and address-bearing member layouts.
2026-10-30 16:35:11 +01:00
hl-valdemar 6748b38eac feat: materialize computed compile-time callbacks 2026-10-30 14:23:12 +01:00
hl-valdemar e90d4f0829 feat: execute existing hash maps through Honey 2026-10-30 12:17:57 +01:00
hl-valdemar 31a1bf1995 refactor: remove enum-map lookup wrappers 2026-10-30 11:33:03 +01:00
hl-valdemar 30a98db379 refactor: precompute compiler enum mappings 2026-10-30 11:16:35 +01:00
hl-valdemar d7e637dc3b feat: support compound updates and bitwise operators 2026-10-30 09:59:44 +01:00
hl-valdemar 670ba8f756 feat: support yielding value blocks 2026-10-29 23:45:08 +01:00
hl-valdemar 9838b253ee feat: support optional-capture conditional expressions
Reuse canonical matches for optional presence and exact by-value payload captures across checking, lowering and compile-time selection.

Snapshot the optional-match flag before selector construction: AST additions can reallocate storage and invalidate the borrowed tree until refresh.

Verified 268 bootstrap tests and 908 interpreter/native programs at -O0 and -O2, plus native allocator, LLVM and CLI checks.
2026-10-29 22:53:59 +01:00
hl-valdemar 73684f856a feat: run existing ArrayList with imported C allocator 2026-10-29 20:51:59 +01:00
hl-valdemar 026fe36325 feat: support existing enum map initialization and lookup 2026-10-29 16:33:35 +01:00
hl-valdemar 5cf9e15661 feat: expand nominal inline match arms 2026-10-28 13:08:17 +01:00
hl-valdemar ca53dab86b feat: construct uninitialized compile-time type arrays 2026-10-27 18:24:12 +01:00
hl-valdemar e00a2abe27 feat: implement compile-time field selection reflection 2026-10-27 16:51:55 +01:00
hl-valdemar 0aca64a77e feat: execute collection and index iteration 2026-10-27 15:24:19 +01:00
hl-valdemar 8d1a98f982 style: compact inner groups and simple guard bodies 2026-10-27 12:50:30 +01:00
hl-valdemar 84e3ed0cc8 style: align layout and ownership documentation 2026-10-27 11:15:36 +01:00
hl-valdemar bf65f3c2c3 feat: materialize tagged-union and fallible constants 2026-10-27 01:41:06 +01:00
hl-valdemar 4de7c8bfc3 feat: evaluate compile-time aggregates and explicit expressions 2026-10-26 16:14:05 +01:00
hl-valdemar ecd20675ea feat: evaluate compile-time scalar procedure calls 2026-10-26 15:34:38 +01:00
hl-valdemar 6886d743b5 feat: specialize generic type and value parameters 2026-10-26 14:45:14 +01:00
hl-valdemar 9058135326 feat: support fallible results and scoped cleanup 2026-10-26 13:01:55 +01:00
hl-valdemar cd64afbb40 feat: complete memory representation gate 2026-10-26 12:37:03 +01:00
hl-valdemar 7856f4f963 feat: support callback signatures and many-pointer addition 2026-10-26 11:46:40 +01:00
hl-valdemar 676f3666b4 feat: support source pointers and references 2026-10-26 11:32:22 +01:00
hl-valdemar 9966a1f523 feat: support enums, distinct types, unions and matching 2026-10-26 10:36:32 +01:00
hl-valdemar 280059d83d feat: add records and tuples across execution paths 2026-10-25 23:14:32 +01:00
hl-valdemar 3e93c6f000 feat: add integer widths and checked numeric conversions 2026-10-25 22:28:38 +01:00
hl-valdemar d834ff9587 feat: resolve file-local import namespaces 2026-10-25 19:31:04 +01:00
hl-valdemar 69eb3ecba2 feat: load canonical directory packages 2026-10-25 17:54:50 +01:00
hl-valdemar c01d935a7b refactor: centralize IR construction invariants 2026-10-25 02:24:06 +02:00
hl-valdemar 2c11772931 refactor: expose checked function fallthrough obligations 2026-10-25 02:02:44 +02:00
hl-valdemar 0593786553 feat: parse floating-point text through the standard library 2026-10-24 04:08:58 +02:00
hl-valdemar 5fd8d9eb89 fix: reject inexact integer literals in float context 2026-10-24 03:55:53 +02:00
hl-valdemar c6a56b7e79 feat: execute fixed arrays and indexed access 2026-10-24 03:39:25 +02:00
hl-valdemar cf39481bfc feat: execute Bro-compatible integer range loops 2026-10-24 03:27:52 +02:00
hl-valdemar d51ca57c9e feat: execute break and continue in while loops 2026-10-24 03:22:05 +02:00
hl-valdemar 5f845b9520 feat: execute short-circuit boolean expressions 2026-10-24 03:01:47 +02:00
hl-valdemar b35a68dff8 feat: execute local assignments and while loops 2026-10-24 02:34:58 +02:00
hl-valdemar 021cbecac8 refactor: name recovery boundaries and compact IR strings 2026-10-24 02:15:50 +02:00
hl-valdemar 9932750e21 feat: execute conditionals through typed IR
Use typed singleton arrays for braceless arm blocks: &[statement] compiled but trapped under the Bro bootstrap.
2026-10-24 01:47:13 +02:00
hl-valdemar 98f3a04daf feat: lower typed programs and interpret IR 2026-10-22 22:20:50 +02:00