we (web engine): Experimental web browser project to understand the limits of Claude

Implement JS closures, const immutability, and method-call this binding master

Add upvalue-based closure system using GC-allocated cells: - New bytecode ops: NewCell, CellLoad, CellStore, LoadUpvalue, StoreUpvalue - UpvalueDef metadata on Function for closure capture resolution - HeapObject::Cell variant for mutable captured variable storage - Free variable analysis with transitive capture support - Captured parameters are boxed into cells at function entry - const declarations enforce immutability at compile time - Method calls (obj.method()) set this before invocation Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>


+1340 -68
3 changed files