well-typed/hs-bindgen

Template Haskell execution mode

Closed this issue · 1 comments

It should be possible to run the tool in TH mode, offering something like

module MyModule

generateBindingsFor "path/to/foo.h"

...

Things to consider here are

  • How does this work with cross-compilation? (Perhaps we can have the TH splice query some environment variables?)
  • We need to ensure that paths are resolved correctly (#71)
edsko commented

Closing; #71 and #342 cover the remaining specifics.