An experimental crate for converting rust to javascript
Clone or download
rfm
Latest commit d9af501 Feb 2, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src initial commit Feb 2, 2019
tests/syn initial commit Feb 2, 2019
.gitignore initial commit Feb 2, 2019
Cargo.toml initial commit Feb 2, 2019
README.md add readme Feb 2, 2019

README.md

JSyn

This crate is an attempt to convert the output of syn (a rust parsing library) to the AST defined by ressa. That would allow a user to pass this AST to resw to generate javascript.

But... why?

  1. Wouldn't it be nice to have your rust structs automatically converted into JavaScript classes?
  2. I'm sure there are other reasons...