-
Notifications
You must be signed in to change notification settings - Fork 3
A generation mode for -sys crates #24
Comments
To be clear, has any progress toward this goal been made so far? |
There is an old branch, 'codegen', with some preliminary groundwork in Python reusing the parser and AST from gobject-introspection. |
Some observations after playing with GIR...
I'm sure there's more. So even this smaller goal requires kludges, possibly some manual overlay definitions. |
@gkoz GIR XML has none of those issues, and that is what I intend to use as the source format. |
Interesting. I've been making the XMLs out of typelibs assuming they're equivalent. I'll have to try generating them from sources then. |
You're right, the GIR definitions generated from source files are much more comprehensive, they should be workable. |
Development of the generator is underway in https://github.com/gi-rust/grust-gen. |
A smaller goal than #1 is to implement the generation mode to produce just the sys crates, to stop manually editing the currently maintained -sys crates and enable generation of many more linkage crates from GIR.
A list of existing -sys crates that could benefit from this:
The text was updated successfully, but these errors were encountered: