Commit Graph
3 Commits
Author SHA1 Message Date
waozi 39954bd692 Match native borrowed text to pointer-sized string ABI 2026-09-27 12:07:17 -03:00
waozi aa79675155 Run explicit portable global initializers in .zib
Portable globals now initialize before the first statement of every
BundleRun: integer and boolean literals, compile-time constant
expressions over defines, float literals, string literals, and flat
Type.{.field = value} record literals fold into the global's value,
so mutable initialized globals carry across calls with byte-identical
source and saved-IR bundles. The verifier accepts exactly that subset
and still rejects procedure-call and nested-record initializers; C
emits designated initializers, C++ positional initializers, and Go
struct literals for the same programs. The stale portable_globals
rejection now covers a call initializer.
2026-09-25 20:16:43 -03:00
waozi 78d46d26a8 Add native Ziran data and HTTP modules 2026-09-25 15:32:13 -03:00