Template Haskell execution mode
Closed this issue · 1 comments
edsko commented
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)