zspitz / ts-activex-gen

Library + UI for generating Typescript definitions / DefinitelyTyped packages from COM type libraries / LibreOffice Doxygen XML
MIT License
12 stars 4 forks source link

Restructure and retarget parts of core for use in generating definitions from LibreOffice IDL #42

Closed zspitz closed 7 years ago

zspitz commented 7 years ago

In order to further the goal of generating Typescript definitions for the LibreOffice API, the core project should be split into two projects:

  1. writer- takes a TSNamespaceSet and produces a single Typescript string, formatted and split into lines This project should target .NET Standard
  2. tlibuilder - generates a TSNamespaceSet from one or more ActiveX type libraries This project should target .NET Desktop, because it reads information from the registry, and uses TLBINF32 to get type library information In addition, there should be a third project:
  3. idlbuilder - generates a TSNamespaceSet from the LibreOffice IDL files (and hopefully from other variants). This should target .NET Standard.
zspitz commented 7 years ago

We can't target 4.7 because we're depending on MoreLINQ (https://github.com/morelinq/MoreLINQ/issues/280), which is currently incompatible with 4.7.