dlang / project-ideas

Collection of impactful projects in the D ecosystem
36 stars 12 forks source link

Typelib support inside dmd-fe #57

Open rikkimax opened 4 years ago

rikkimax commented 4 years ago

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?

  1. Able to parse Typelib files via WinAPI
  2. Able to generate from the parsed files AST
  3. 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

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

## References