Files
scriptc/packages/runtime/src
Malte UblandClaude Opus 5.5 fd7be9993d Add the primitive wrapper unit and its gated runtime feature
scr_js_wrapper.c constructs `new String/Number/Boolean` wrappers and
ToObject of a primitive as ordinary dictionary-mode objects whose
prototype is the unit's String, Number or Boolean prototype, with the
[[PrimitiveValue]] slot on the object's source identity. The unit also
answers instanceof, Object.prototype.toString, the util.types brands,
the String method receiver, and the guard of the graph-walking consumers
that cannot read the slot yet. A new `primitiveWrapper` runtime feature
(any `wrapper.` libCall) links it, so a program that never creates a
wrapper links no byte of the unit and the zero-cost gate keeps fully
typed programs clean. The `wrapper.*` signatures, symbols and dispatch
case are registered here; no frontend emits them yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 05:38:47 -07:00
..
2026-10-26 06:45:43 -05:00
2026-10-22 18:05:53 -05:00
2026-10-27 18:53:59 -05:00
2026-10-23 19:31:34 -05:00
2026-10-24 16:49:25 -05:00
2026-10-07 19:07:02 -05:00
2026-10-24 16:49:25 -05:00
2026-10-25 02:28:32 -05:00
2026-10-26 23:13:34 -05:00
2026-10-19 07:55:06 -05:00
2026-10-26 06:45:43 -05:00
2026-10-20 21:52:19 -05:00
2026-10-14 17:27:02 -05:00
2026-10-26 06:45:43 -05:00
2026-10-22 06:59:47 -05:00
2026-10-22 03:33:29 -05:00