Add Source-Generator-Architecture docs and update index
Add comprehensive Standard Library documentation - all built-in types with method implementation status
Add BigInt, WeakCollections, Iterator Protocol wiki pages
Add Execution-Tiers.md - documents AST/IR/bytecode/IL roadmap
Add Error-Signaling.md wiki page
Documents the dual error handling mechanism:
- ICompletionSignal for fast internal control flow (throw, return, break, continue, yield, await)
- ThrowSignal exception for boundary crossing
- CompletionState save/restore for try-finally
- When to use each mechanism and conversion patterns
Add Advanced Topics wiki pages
- Proxy-and-Reflect.md: 13 trap handlers, revocable proxies, Reflect operations
- RegExp-Implementation.md: JS-to-.NET pattern translation, Unicode mode, surrogates
- Symbol-System.md: JsSymbol vs Symbol atoms, global registry, well-known symbols
- Temporal-API.md: TC39 Temporal proposal, nanosecond precision, timezone support
- Pooling-Deep-Dive.md: BucketedArrayPool, IsCaptured pattern, lock-free algorithms
- Update Home.md with Advanced Topics section in Quick Links
Add 6 new wiki pages with Mermaid diagrams
New pages:
- Host-Integration-API: Embedding guide, SetGlobalValue, module loaders, .NET/JS bridging
- Standard-Library-Architecture: Attribute-based prototypes, constructor patterns, RealmState
- Promise-and-Microtasks: Promise states, microtask queue, handler processing, await
- ES-Modules: Import/export, module loading, live bindings, async modules
- JsObject-and-Properties: Property descriptors, prototype chains, extensibility control
- Scope-Analysis: Hoisting, TDZ, slot assignment, HoistPlan
Updated Home.md with reorganized Quick Links table (Core Concepts, Execution, Integration)
Add Mermaid.js diagrams to wiki pages
- Architecture-Overview: execution flow, lowering pipeline, function variants
- IR-Execution: dispatch loop, exception handling, generator state machine
- JsEnvironment-and-Slots: access levels, flat slot mapping
- Generators-and-Async: overview flow, await handling
- JsValue-System: type hierarchy
- Performance-Patterns: pooling lifecycle, fast/slow path
- Home: simplified execution and lowering diagrams
- Testing: AST traversal helpers
Add Testing page with IR logging, AST access, and test helpers
- ExecutionPlanPrinter usage for printing IR plans
- ExecutionPlanDiagnostics for tracking plan build success/failure
- AstTestHelpers for finding and walking AST nodes
- IAstCacheable pattern for accessing cached plans (ExecutionPlanCache, HoistPlan, LoopPlan)
- TestLogger for capturing and asserting on log messages
- __debug() function for capturing execution context
- Compile-time debug features (TRACE_IR_EXECUTION, DISABLE_POOLING)
- Complete test workflow example
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add comprehensive Table of Contents
- Core concepts: execution model, key types, variable access
- IR system: lowering, emitters, dispatch table
- Function variants: sync, generator, async, async generator
- Performance patterns: pooling, fast/slow split, signals
- Debugging: pool guards, AST-free assertions
- Links to agent how-to guides and docs
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>