Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 105609
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T01:27:58+00:00 2026-05-11T01:27:58+00:00

I am looking for template/generator libraries for C++ that are similar to eg. Ruby’s

  • 0

I am looking for template/generator libraries for C++ that are similar to eg. Ruby’s Erb, Haml, PHP’s Smarty, etc.

It would be great if I it would sport some basic features like loops, if/else, int conversion to strings, etc.

Parameter passing to template rendering engine is also important if I could pass all of them in a hash map instead of calling some function for each of parameters.

Do you have any recommendations?

I can see also the possibility of embedding languages like Lua, however I haven’t found a templatizing library for that either.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T01:27:59+00:00Added an answer on May 11, 2026 at 1:27 am

    A quick review of the mentioned project.

    http://rgrz.tumblr.com/post/13808947359/review-of-html-template-engines-in-c-language

    ClearSilver

    • Site: http://www.clearsilver.net
    • Project: https://code.google.com/p/clearsilver/
    • Group: http://tech.groups.yahoo.com/group/ClearSilver
    • License: New BSD License
    • Language: C
    • Last Update: Nov 28, 2011
    • Last Release: 0.10.5 on July 12, 2007
    • Document: Rich
    • Community: Medium (<10 discussion per month)

    Teng

    • Site: http://teng.sourceforge.net
    • Code: http://teng.svn.sourceforge.net/teng/
    • Group: http://sourceforge.net/projects/teng/
    • License: New BSD License
    • Language: C++
    • Binding: php, python
    • Last Update: Mar 8, 2011
    • Last Release: 2.1.1 on Mar 8, 2011
    • Document: Rich
    • Community: Low (rare discussion since 2010)

    Templatizer

    • Site: http://www.lazarusid.com/libtemplate.shtml
    • Project: download only
    • Group: none
    • License: free to use
    • Language: C (low level)/C++ (interface) mixed
    • Last Update: unknown
    • Last Release: unknown
    • Document: none
    • Community: none

    HTML Template C++

    • Site: http://nulidex.com/code/docs/html_template/
    • Project: http://sourceforge.net/projects/htmltemplatec
    • Group: http://sourceforge.net/projects/htmltemplatec
    • License: GPL
    • Language: C++
    • Last Update: Mar 27, 2011
    • Last Release: Beta 0.7.4, Mar 27, 2011
    • Document: Medium
    • Community: none

    ctpp

    • Site: http://ctpp.havoc.ru/en/
    • Project: download only
    • Group: none
    • License: BSD License
    • Language: C++ with C API
    • Last Update: Oct 5, 2011
    • Last Release: Version 2.7.2 on Oct 5, 2011
    • Document: Rich
    • Community: none

    Wt

    • Site: http://www.webtoolkit.eu/wt/
    • Project: http://www.webtoolkit.eu/wt/
    • Group: http://www.webtoolkit.eu/wt/community
    • License: GPL and Commercial
    • Language: C++
    • Last Update: Nov 29, 2011
    • Last Release: 3.2.0 on Nov 29, 2011
    • Document: Rich
    • Community: Low (rare activity)

    Flate

    • Site: http://flate.dead-inside.org/
    • Project: none
    • Group: none
    • License: LGPL v2.1
    • Language: C
    • Last Update: Sep 4, 2010
    • Last Release: 2.0 on Sep 4, 2010
    • Document: Poor
    • Community: none

    Jinja2C++

    • Site: https://jinja2cpp.dev
    • Project: https://github.com/jinja2cpp
    • Group: https://gitter.im/Jinja2Cpp/Lobby
    • Conan packages: https://bintray.com/beta/#/flexferrum/conan-packages/jinja2cpp:flexferrum?tab=overview
    • License: MPL-2.0
    • Language: C++14/17
    • Last Update: Oct 01, 2019
    • Last Release: 1.0.0 on Oct 01, 2019
    • Document: Moderate
    • Community: none
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking at a css template that includes .myClass a.extra{...} and .myClass a.extra:hover{...} What
We use Template Toolkit where I work, and I am looking for similar functionality,
I am looking for a report generator done in ruby or rails which allow
I want to create a VS2010 c# solution template generator and I'm looking for
I'm looking for a good parser generator that I can use to read a
I'm after a tool to generate decent-looking documents from templates, that needs to: be
I'm looking for a template engine like freemarker (with select case directive) for writing
I'm looking for some LaTeX template for creating quality output. On R-bloggers I've bumped
I'm looking for a minimalist template system for javascript, ala John Resig's Javascript Micro
I was looking for a JavaScript template engine, and chose DoT.js (mostly because it's

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.