Experimental: Rewriting Svelte compiler in Rust with AI assistance (WIP) #18175
MrWaip
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
Over the past two months, I’ve been running an experiment on what can be done using AI like Claude Code. For the experiment, I decided to revive one of my projects from last year — a Rust implementation of the Svelte compiler. Last time, I abandoned it because I came to the conclusion that I just wouldn't be able to keep up with the Svelte team and would always fall behind.
Now, with the help of AI, I was able to write a compiler for Svelte's client-side code from scratch. I’ve supported most of Svelte’s syntax. And this has been incredibly inspiring to me.
Objectively, there’s still a lot of work to do: SSR, finishing source maps, optimizations, bugs — but this now feels feasible to me.
Ultimately, I hope to achieve full parity with the original and use this version in my enterprise project.
Here are the links:
Beta Was this translation helpful? Give feedback.
All reactions