Commit Graph
6 Commits
Author SHA1 Message Date
waozi b97812e34e Add borrowed slice checkpoint, starter Bend laws and phased law plan 2026-09-19 15:59:49 -03:00
waozi effb600862 Parse slice ranges explicitly and prevent unchecked lowering
Represent source and optional range bounds independently, preserving conditional bounds and indexing. Keep slice values rejected in both strict and permissive modes until lifetime analysis and native descriptors are implemented. KIR/range tests, all native syntax suites, 17 generated parity fixtures and runtime/provenance guards pass.
2026-09-19 15:04:42 -03:00
waozi 5199cc03cb Preserve read-only host character buffer signatures 2026-09-19 15:02:50 -03:00
waozi aa07f3f4f8 Implement portable fixed-array function arguments and results
Use shared C/C++ input copies and caller-owned result buffers with equivalent Go value semantics. Normalize imported signatures and reject incomplete returns or unchecked ABI callers. Array, aggregate, record and string execution fixtures pass across all three targets; C/C++ syntax checks pass. Combined runtime generation and latest Go integration remain blocked by concurrent slider source/generated-host changes, recorded in the plan.
2026-09-19 14:50:32 -03:00
waozi 6e4c2a6fd2 Resolve named array bounds across native targets 2026-09-19 14:23:48 -03:00
waozi d5b5931cdc Support portable local array values and borrowed captures 2026-09-19 14:07:43 -03:00