TPT is a template scripting language implemented in C++. The LibTPT parser transforms TPT templates into text. The parser, which integrates with your C++ code through a simple class API, is small and fast, focusing on functionality instead of rich feature sets. Uses include on-the-fly HTML and source code generation.
| Tags | Text Processing Software Development Libraries |
|---|---|
| Licenses | BSD Original BSD Revised |
| Operating Systems | Windows Windows Windows POSIX |
| Implementation | C++ |
Recent releases


Changes: This version adds an improved interface to the Object class for easy creation of complex hashes and arrays in C++.


Changes: The Object C++ API has been improved. Some documentation has been cleaned up.


Changes: This version features an improved interface to the internal TPT Object structures, along with several build and test system fixes. It also synchronizes the Windows project files.


Changes: This version fixes a compile error on some 64-bit platforms, cleans up compiler warnings, and includes minor improvements to the configure script.


Changes: This version includes all the stable features and optimizations added since version 1.10.
- All comments
Recent commentsAPI Feedback
I am getting ready to freeze the LibTPT C++ API for a version 1.0 release. If I do no receive any suggestions in the next week, I will assume everything is working. Please let me know if there's something you want to see make it into 1.0.
Namespace change
As of release 0.61, the namespace has changed from TPTLib to TPT.
API Change
Version 0.53 and above include a change to the API which requires Symbols to be passed to the Parser constructor by reference instead of by pointer.