cz*****@czajsoft.pl (Przemyslaw Wegrzyn) wrote in message news:<c1*************************@posting.google.c om>...
Does anybody know any good, open-source library similar to Perl's
Template or Jakarta Velocity ?
You can try CodeWorker, a parsing tool and a source code generator,
freely available at "http://www.codeworker.org". A template-based
script expresses the code generation patterns.
The interpreter is written in C++, and you can link your C++
application with the CodeWorker's library or translate your
CodeWorker's scripts to C++, via the command-line switch '-c++'.
As for Velocity (but in the C++ world), you can populate your CW's
templates with the data coming from your C++ application. To do that,
you just have to build a 'CodeWorker::CppParsingTree' data structure
(header file = "CppParsingTree.h").
Tell me if you need more details.