Does anyone know how the .hx files are generated from WebIDL. Specifically, I’d like to know about the ones in the js standard libs. There are a bunch of browser features supported in Haxe V4 that weren’t supported (or fully supported) in V3. I’d like to be able to generate V3 style .hx files from the current revs of the WebIDLs. [Of course, there’s the option of converting to V4, but that has it’s own pitfalls for us.]
It’s generated using this python script
However, sadly it’s rough breaks often :(, so updating the externs will take some time and focus
We need to move to a better system - I think forking the typescript html types generator is the best route but it’s a serious chunk of work
1 Like
Thank you so much. I’ll go have a look
Let me know if you get stuck and feel free to add issues to that repo, I’ll try to help if I can!