Boost logo

Boost :

From: Joel de Guzman (joel_at_[hidden])
Date: 2007-05-06 04:02:24


Jeff Garland wrote:
> Steven Siloti wrote:
>> After reading the paper referenced in
>> http://lists.boost.org/Archives/boost/2007/04/120230.php I decided to
>> set about implementing something similar to it in C++.
>>
>> You can see the current results here:
>> http://magila.googlepages.com/template.zip
>>
>> It uses Spirit for parsing and AST generation and Property Tree for
>> storing the dynamic data. Still on my todo list is making the character
>> type a template parameter, currently everything just uses char. Also
>> expand() should probably be made a free function.

FWIW, the QuickBook template engine was inspired by Terrence
Parr's template engine. It's a bit more flexible, though, in
the sense that the the template declarations and definitions
are both part of the language. It is, in theory, turing complete.
Rene Rivera is using it to target different backends.

Also, the current development on Spirit2 named Karma is
also inspired by it. Karma is a fully static, expression
template rendition of it using a syntax almost similar to
Spirit's. It will debut on BoostCon.

Regards,

-- 
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk