Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
IDL binding generator #18
Should be possible to take IDL:
And convert it to Roy type aliases:
Then with externs:
I'd be happy to have a look at this one, if you had some pointers on where to start. I found an IDL grammar for antlr but haven't really got a good idea on how to convert this to something usable in JS land...
Compilers and parsers definitely aren't my strength, but I think this has some value and is reasonably self contained so would love to help out :)
@DamonOehlman a better way to do this has come up since I filed it. Roy now outputs a
It looks something like:
Not sure if that will work since I haven't tested anything that complicated.