PyClangLite

This Python Interface to Clang provides a relatively small API that exposes facilities for parsing source code into an abstract syntax tree (AST):

  • loading already-parsed ASTs,
  • traversing the AST,
  • associating physical source locations with elements within the AST,
  • and other facilities that support Clang-based development tools.

The intent is to propose an Python API highly similar to the C++ API (contrarily to libclang) for each release of Clang, providing only the basic functionality needed to support development tools.

For more information refers to AutoWIG documentation.

License

PyClangLite is distributed under the |LICENSELINK|_.

Note

CeCILL-C license is a LGPL compatible license.