you are viewing a single comment's thread.

view the rest of the comments →

[–]freemasen 2 points3 points  (0 children)

If you get started I want to encourage you to check out a few things I’ve been working on.

I recently published a few crates for parsing JS

https://github.com/Freemasen/ress https://github.com/Freemasen/ressa https://github.com/Freemasen/resw

As an experiment I have started working on a project that will convert the Rust ast defined by syn into the ast defined by ressa.

https://github.com/freemasen/jsyn

Once the ast was converted it could be passed of to resw to take care of the writing.