llvm
llvm copied to clipboard
Documentation?
What are the plans for documenting this library? It's not easy to grok by just reading through the comments alone. Following something like this guide, it's hard for me to understand what the translation to these bindings would be. It would be great to have a quickstart tutorial that's a little more expansive than augustss's blog post, and maybe something that explains the new types that are introduced in the code.
The high level bindings here aren't entirely appropriate for dynamic code generation such as demonstrated in the official LLVM tutorials. See my pull request for a direct interface to the C API, which permits that and maps much more closely to the official LLVM documentation and tutorials.
The C API wrapper is now available in the current release, along with a more haskelly interface that still follows the C API's contours in LLVM.ST.