Cpptools is a set of C/C++ development tools. This package contains a C++ scanning class coded both in C++ and Python. CppFSMDoc.py is the Finite State Machine diagrammer which uses @FSM comment tags inside sourcefiles. CppClassHierarchy.py parses C/C++ sourcefiles and generates a graphical dependency tree using Graphviz, and CppColorize.py scans sourcefiles and generates a highlighted HTML version.
| Tags | Software Development Interpreters Documentation Code Generators |
|---|---|
| Licenses | LGPL GPL |
| Operating Systems | POSIX |
| Implementation | C++ Python |
Recent releases


Changes: This version was completely rewritten, and now correctly identifies float numbers beginning with ".". A CppTokenizer.py script was created which shows how the compiler's lexical analyzer breaks a program into pieces (tokens).


Changes: This release introduces two new tools. CppBinHierarchy scans library files (both .so and .a), object files, and executable files to generate a graphic showing dependencies among them. CppComment scans source files and translates C comments to C++, C++ comments to C, or replaces them with a single space (strip).


Changes: This release features cpptools' manual in PDF and CppText which generates a C++ program to output textfiles. It is very useful to implement generators, CGIs, and filters. Some new minor features were added.


Changes: This release features CppRename, the project's first refactoring tool. It renames identifiers (classes, functions, variables) while preserving comments and strings from changing. CppGprof2Dot, which generates execution call-tree for profiled executables, was added, along with some minor new features.


Changes: This release introduces CppFSMDoc.py, the Finite State Machine diagrammer which uses @FSM comment tags inside sourcefiles, and CppClassHierarchy.py, which parses source-code and generates a graphical dependency tree. Both tools use Graphviz to render image files. A minor bug in CppScanner.py was also fixed.