libclang-bindings

July 15, 2026 ยท View on GitHub

Build Status License: BSD-3-Clause

libclang-bindings is a Haskell library that provides bindings for the LLVM/Clang libclang C API. It supports the hs-bindgen project but can be used independently.

Note

This is an early release. C (and C preprocessor) code varies widely, so we welcome feedback. If something breaks, please check the issues to see if it is already known, and open an issue if not.

Documentation

Packages in this repository

  • libclang-bootstrap, a program used to generate C wrapper functions and Haskell foreign import declarations for a subset of the libclang C API
  • libclang-bindings, a library that provides bindings for the LLVM/Clang libclang C API

Contribution

Our thanks go to those who have contributed to this project with development, bug reports, feature requests, blog posts, etc. We list contributors in the hs-bindgen README.

Please see CONTRIBUTING.md for information about contributing to this project.