Boost logo

Boost :

From: Jeff Garland (jeff_at_[hidden])
Date: 2007-05-06 11:10:17


Joel de Guzman wrote:
> 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.

Interesting...

> 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.

I can hardly wait any longer :-) Is that the Thursday session?

Jeff


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