You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried using the backend of web_sys but most of it is private, having some form of AST which represents the code generation would save people from writing this code.
/cc @fitzgen this is the issue we discussed on irc.
The text was updated successfully, but these errors were encountered:
Then I end up code generating set_id in codegen and I'm also getting the generated struct interface name to change HTML to Html.
However already fragile code isn't handling other types that accept other than DOMString and I also need to handle the methods like add_event_handler eventually too.
The parser code I wrote in: https://github.com/jonathanKingston/wurst/blob/master/crates/parser/src/lib.rs reparses webidl when it's basically just trying to wrap the code that web_sys is generating. (both methods
parse
andmethod_calls
are responsible for generating the web_sys method names etc)Currently I am:
set_id
I tried using the backend of web_sys but most of it is private, having some form of AST which represents the code generation would save people from writing this code.
/cc @fitzgen this is the issue we discussed on irc.
The text was updated successfully, but these errors were encountered: