Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
If anybody wants to check the project out here it is: https://github.com/pintariching/rustle For now I just copied the general structure and I'm mainly working on the utilities.
Did you decide what parsing library you want to use? I found a good parsing library https://github.com/zesterer/chumsky
Maybe a bit off topic, but I have an idea,I also thought about rewriting the svelte compiler in rust, but I quickly gave up because I wanted to be able to use my favorite cargo to manage frontend projects, not npm/rollup/yarn and other tools, And I don't want to write a boring transcompile. If we can directly express html/css and manipulate dom in rust, we can write the front end without using other languages other than rust. Based on the above thinking, I tried to write rtml. Sorry that the documentation has not been translated into English yet, but there are some examples in the project and an online demo-counter
the online demo is done by following code lib.rs
Perhaps if you want to look into rewriting the utilities into rust. A big list of utilities is here: https://github.com/sveltejs/svelte/tree/master/src/compiler/utils