Typelib is a fileformat used for COM interfaces. It is the compiled form that Microsoft ships IDL files in.
What are rough milestones of this project?
Able to parse Typelib files via WinAPI
Able to generate from the parsed files AST
Ship our own TypeLib files on Windows (compile the IDL files provided by Microsoft).
While this should be identical to the ones Microsoft provided, it may be best to be able to say when shipping that we didn't just copy them.
How does this project help the D community?
It gives the D community first class support for using COM classes inside of D and doesn't require massive binding files (and growing) to support it.
Recommended skills
COM
Basic understanding of the compiler, parse tree vs AST ext.
GSoC and SAoC are good targets for this project. If there is time over the project can be extended to generate IDL files so other languages can call into D code equally as well.
What can students expect to get out of doing this project?
Familiarization of "modern" Windows API's structure and a basic level of knowledge of how to generate AST inside the compiler frontend.
Description
Typelib is a fileformat used for COM interfaces. It is the compiled form that Microsoft ships IDL files in.
What are rough milestones of this project?
How does this project help the D community?
It gives the D community first class support for using COM classes inside of D and doesn't require massive binding files (and growing) to support it.
Recommended skills
GSoC and SAoC are good targets for this project. If there is time over the project can be extended to generate IDL files so other languages can call into D code equally as well.
What can students expect to get out of doing this project?
Familiarization of "modern" Windows API's structure and a basic level of knowledge of how to generate AST inside the compiler frontend.
Point of Contact