swift-winmd icon indicating copy to clipboard operation
swift-winmd copied to clipboard

Windows Metadata Parser in Swift

Swift/WinMD

An ECMA 335 parser in Swift

Windows Status

Windows Metadata provides the necessary metadata for Windows APIs to enable generating bindings for different languages. In order to generate the bindings, one must be able to process the metadata. Swift/WinMD provides an implementation of such a parser in Swift.

Build Requirements

  • Swift 5.5 or newer

Debugging

Debugging on Windows

For debugging the Swift application code, it is easier to debug using LLDB and DWARF. In such a case, you will need to build the application as follows to enable the debug information:

swift build -Xlinker -debug:dwarf