sx-http: fix homepage (bare symbol → fn call) + auto-quote slugs + resilient SSR
Homepage fix: path_expr "home" was evaluated as a symbol lookup (returning the Lambda) instead of a function call. Now wraps bare symbols in a list: home → (home) → calls the page function → returns component call. Slug routing: auto_quote converts unknown symbols to strings before eval. (etc (plan sx-host)) → (etc (plan "sx-host")) — resolves nested slug URLs. Resilient SSR: render_to_buf catches Eval_error per-element and continues rendering. Partial SSR output preserved even when some elements fail. WASM kernel rebuilt (define shorthand + island placeholder changes). Remaining: WASM kernel "Undefined symbol: let" — pre-existing bug in client-side component-defs parsing. (list let ...) triggers symbol lookup instead of special form recognition. Affects island hydration on all pages. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user