cppast
Library interface to the C++ AST
Library interface to the C++ AST
To install this package, run one of the following:
If you're writing a tool that needs access to the C++ AST (i.e. documentation generator, reflection library, …), your only option apart from writing your own parser is to use clang. It offers three interfaces for tools, but the only one that really works for standalone applications is libclang. However, libclang has various limitations and does not expose the entire AST. So there is no feasible option — except for this library. It was originally a part of the standardese documentation generator, but has been extracted into an independent library.
Summary
Library interface to the C++ AST
Last Updated
Oct 6, 2022 at 16:29
License
MIT
Total Downloads
3.7K
Version Downloads
3.7K
Supported Platforms
GitHub Repository
https://github.com/foonathan/cppast