https://mrwaip.github.io/svelte-rs-2/
https://excalidraw.com/#json=tPR4IJ3ZQmfRfF0xW1fif,Qw3c1g41YuyCLz1XmRcujw
See ROADMAP.md for the full feature checklist.
This project uses Claude Code with a set of specialized commands and agents.
/status — project overview: active specs, ignored tests, next ROADMAP item, known debt
/audit <feature> — gap analysis, create a spec and tests/port specs/<file>.md — implement the next slice from the spec/qa — review for material quality issues/sync-docs — sync ROADMAP and CODEBASE_MAP/explain-test <name> (optional — understand what the test covers)/triage-test <name> — classify the work as local-fix, slice-gap, or spec-gap/qa (optional)/add-diagnostic-test <name> — create a focused diagnostic parity case under tasks/diagnostic_tests//diagnose-diagnostics <component|case> — isolate a false positive, false negative, or span mismatch against npm svelte/compiler/port specs/<file>.md — implement the owning fix after the mismatch is reduced to one durable case/improve <description> — diagnosis, fix, and tests/qa/diagnose <component> — run the repro through the pipeline, isolate the root cause, add focused tests, and record follow-up work in a spec or ROADMAP.md/audit <feature> — gap analysis vs the reference compiler/explain-test <name> — what the test does and why it fails/bench — Rust vs JS performance/sync-docs — synchronize documentation with the code/add-test <name> — test-first: create a test before implementation/add-diagnostic-test <name> — test-first: create a diagnostic parity case before implementationjust generate — regenerate reference snapshots for both tasks/compiler_tests/ and tasks/diagnostic_tests/wasm-pack build --target web ./crates/wasm_compiler -d ../../docs/compiler
Or just playground to build WASM and serve the playground locally.
A native addon for Node.js consumers lives in crates/napi_compiler and is published as svelte-rs2 from packages/.
just npm-smoke — debug build + local link + smoke testjust npm-build — release build + tarballs for platform packagesjust quick-check path/to/component.svelte — compile a single component and diff against svelte/compiler output.
just test-compiler — run all compiler integration testsjust test-case <name> / just test-case-verbose <name> — single test casejust test-diagnostics / just test-diagnostic-case <name> — diagnostic parity testsjust clippy-strict — clippy with -D warningsjust generate — regenerate reference snapshotsjust dump-ast '<expr>' — dump OXC ESTree JSON for a JS expression