Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Bundle Size

The shim bundle contains:

ComponentApprox size
Reader~320 lines
Surface compiler (JS)~1,700 lines
Kernel compiler~1,670 lines
Macro expander~950 lines
astring (vendored)~16KB
Shim handler~50 lines

Total bundle: ~73KB. Small enough for development use. Far smaller than most JavaScript frameworks — the entire Lykn compiler is smaller than React’s runtime.

For production, use pre-compiled ESM modules (Ch 27) — no shim needed, no compilation overhead, just clean JavaScript served directly.