Crates.io | svelters |
lib.rs | svelters |
version | 0.0.1 |
source | src |
created_at | 2023-04-19 10:38:49.126613 |
updated_at | 2023-04-19 10:38:49.126613 |
description | Svelte parser written in Rust with error recovery and handling in mind |
homepage | |
repository | https://github.com/jamesbirtles/svelters |
max_upload_size | |
id | 843409 |
size | 43,014 |
A WIP parser for svelte files that is designed with error recovery and reporting in mind. This is mostly a toy project for now, with some vague intention of improving editor tooling if I ever get around to it. I am not intending to rewrite the svelte compiler in rust, though a project attempting to do that might want to use this parser as a starting point.
This is very work-in-progress and can't parse most svelte code right now (it can't event parse elements yet!).