- Notifications
You must be signed in to change notification settings - Fork1
Generate statistics from C++ files using the libclang python binding
License
NotificationsYou must be signed in to change notification settings
akleber/cppstats
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
https://github.com/sztomi/code-generator
https://docs.python.org/3/library/venv.htmlhttp://stackoverflow.com/questions/1783146/where-in-a-virtualenv-does-my-code-go
Commands
mkdir venvscd venvspyvenv cppstatssource cppstats/bin/activatecd ..mkdir cppstats
For Sublimetext 2 integration see cppstats.sublime-project
-see requirements.txt
http://docs.python-guide.org/en/latest/writing/structure/
Seems not to be compatible with python 3.5.1, so I ported the 3.8.0 bindings to Python 3 with 2to3 andhttps://bitbucket.org/Anteru/python3-libclangIt is installed in python3-libclang.
- project setup
- docstring
- reStructuredTexthttp://docutils.sourceforge.net/docs/user/rst/quickref.html#literal-blocks
- Python 3.5 venv
- multiple processes
- unit tests
- libclang python binding-http://eli.thegreenplace.net/2011/07/03/parsing-c-in-python-with-clang-http://szelei.me/code-generator/
- docopt