By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,383 Members | 2,067 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,383 IT Pros & Developers. It's quick & easy.

Text template engine?

P: n/a
Hi,
Does anyone know a good template engine for generating text dynamically.
(I.e. HTML, SQL statements, code generation, etc.) I'm looking for
something similar to Velocity or Freemarker(both Java libraries).
Thanks
-Laurens
Aug 5 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On Fri, 05 Aug 2005 20:28:11 +0200, Laurens <sp**@block.com> wrote:

Does anyone know a good template engine for generating text dynamically.
(I.e. HTML, SQL statements, code generation, etc.) I'm looking for
something similar to Velocity or Freemarker(both Java libraries).


Since you post in comp.lang.c++ I assume you want a template engine
written in C/C++. C++ gurus usually don't address 'mundane' code/text
generation tasks. But some libraries are available:

http://teng.sourceforge.net/ (seems to be nice)
http://tazthecat.net/~isaac/libtpt/
http://cttl.sourceforge.net/ (Warning: heavy, Boost-like, and GPL)

Codegeneration in general:
http://www.codegeneration.net/

Best wishes,
Roland Pibinger
Aug 6 '05 #2

P: n/a
Roland Pibinger wrote:
Since you post in comp.lang.c++ I assume you want a template engine
written in C/C++.


Thanks for your reply Roland. Yes, I was looking for a C++ library. Teng
seems to be most suitable for my purposes. Will try it out.
Thanks
-Laurens
Aug 7 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.