Boost logo

Boost :

Subject: Re: [boost] compile time parser generator
From: Simonson, Lucanus J (lucanus.j.simonson_at_[hidden])
Date: 2012-01-09 15:15:12


From: Dave Abrahams
>> Full implementation: https://github.com/sabel83/mpllibs
>> Documentation: http://abel.web.elte.hu/mpllibs/
>> Examples:
>> https://github.com/sabel83/mpllibs/tree/master/libs/metaparse/example
>
>I stand corrected! The evil magic is in the _S macro. Very nice; I
>suppose we're off to the races, then!

There are a lot of tasks in TMP that are very tedious due to the verbose nature of the language. Instead of macros, could we define a language for scripting template metaprogramming that we use in string arguments to template parameters that expand at compile time into complex metaprogramming behaviors? Could this really make our lives better?

Regards,
Luke


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