πŸ‘€ Why

Very interest in svelte, and i want to know how svelte works,i found that svelte is just a compiler, so i write this tiny svelte to learn it.

🌈 Features

WIP!!!

  • parse
    • parseFragments
    • parseScript
    • parseElement
    • parseAttributeList
    • parseAttribute
    • parseExpression
    • parseText
    • parseJavaScript
    • match
    • eat
  • analyse
  • generate

πŸ“¦ How to use

  • cd src dir && node index.js to compile svelte to js
  • then you will get app.js which is compiled by index.js
  • serve index.html then you can see the result

πŸ‘¦ Author

sudongyuer email:976499226@qq.com

πŸ“„ License

MIT License Β© 2022 SuDongYu

Top categories

svelte logo

Want a Svelte site built?

Hire a Svelte developer
Loading Svelte Themes