-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: use syn-file-expand instead of cargo and add Wit type #25
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks great and very promising ! If you need help let me know !
Also add new `Wit` type and refactor to use Display and remove old temporary file logic.
5a14a15
to
b8d928f
Compare
@bnjjj Ready for a review! I think this is enough for this PR. I think that the next PR should switch to generating the official But this is already a big step forward. Adding the From traits made it super clean! And now the output order is deterministic! |
Will take a look when I'm on my computer but definitely when I started this project I knew that in the future we had to use the AST. We could use this one https://github.com/bytecodealliance/wit-bindgen/blob/main/crates/parser/src/lib.rs and develop an encoder over it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good overall ! Just some nits and we are ready to merge ! Could you add an entry in the changelog and bump the version of each crates please ? It will be faster to release
Co-authored-by: Coenen Benjamin <benjamin.coenen@hotmail.com>
@bnjjj Ready for final review! Thanks for the help! |
Will make a new release on Monday ! Feel free to ping me if I forgot or if you need it before |
fixes #23
And add new
Wit
type and refactor to use Display and remove old temporary file logic.