Update README.md
This commit is contained in:
parent
7eed246333
commit
2d36545e40
1 changed files with 3 additions and 1 deletions
|
|
@ -7,12 +7,14 @@ Library interface to the C++ AST - parse source files, synthesize entities, get
|
|||
## Motivation
|
||||
|
||||
If you're writing a tool that needs access to C++ AST (i.e. documentation generator, reflection library, …), you're only option apart from writing your own parser is to use [clang](https://clang.llvm.org).
|
||||
It offers [three interfaces for tools](https://clang.llvm.org/docs/Tooling.html), but the only one that is designed for standalone applications is [libclang](http://clang.llvm.org/doxygen/group__CINDEX.html).
|
||||
It offers [three interfaces for tools](https://clang.llvm.org/docs/Tooling.html), but the only one that really works for standalone applications is [libclang](http://clang.llvm.org/doxygen/group__CINDEX.html).
|
||||
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](http://standardese.foonathan.net), but has been extracted into an independent library.
|
||||
|
||||
See [this blog post](http://foonathan.net/blog/2017/04/20/cppast.html) for more information about the motiviation and design.
|
||||
|
||||
## Features
|
||||
|
||||
* Exposes (almost) all C++ entities: Supports everything from functions to classes, templates to friend declarations, macros to enums.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue