Skip to content
/ lux Public

Svelte compiler implemented in Rust. Aims for 100% compatibility with the official Svelte compiler.

License

Notifications You must be signed in to change notification settings

levish0/lux

Repository files navigation

lux

Svelte compiler implemented in Rust. Aims for 100% compatibility with the official Svelte compiler.

Architecture

Pipeline: Parse → Analyze → Transform

  • svelte-ast: AST type definitions, ESTree serialization
  • svelte-parser: Zero-copy parsing with OXC allocator, winnow-based template/CSS parser, OXC for JS/TS expressions
  • svelte-analyzer: Semantic analysis (scope, bindings, validation)
  • svelte-transformer: Code generation (JS/CSS output)

License

MIT

About

Svelte compiler implemented in Rust. Aims for 100% compatibility with the official Svelte compiler.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published