D guest bindings generator#1561
D guest bindings generator#1561QuantumSegfault wants to merge 14 commits intobytecodealliance:mainfrom
Conversation
|
This PR is not yet finished. Just opening a draft early to help interested parties keep track. |
|
Thanks! One thing I'd also recommend as you're implementing things is to add Happy to help answer questions about anything in specific if you have them, and if you have any questions about Rust/idioms/etc feel free to leave a comment here and I can dig in. Otherwise I'll leave this be until you're ready, in which case feel free to ping me and I can take a closer look. |
[skip ci]
[skip ci]
[skip ci]
|
Things are coming along nicely, but there's one question I have so far. The Problems arise with the testing of the export wrappers. The way I've implemented exports is using D templates, which are not and cannot be semantically analyzed at all until they have been instantiated. Until an implementation is provided, the wrappers can't be tested. Is this a problem? This gap in the testing? Or are the |
|
A good question! If I understand the problem right I believe you're looking for this. The |
|
Yeah! That's pretty much the answer I'm looking for. Something that can create a very basic stub (no impl; just declarations of functions and types) that I can pump into the exports wrapper soley for tests. Thanks! |
Implements a
dsubcrate to support generating bindings for the D programming language.