From: Nat Goodspeed (nat_at_[hidden])
Date: 2007-10-25 08:46:34


Damien Hocking wrote:
>
> If your expression is constructed at run-time, it's more difficult and
> you get into things like expression tree traversal and bytecode
> generation. Some of the serious C++ template experts might be able to
> offer some further advice.

Alternatively, you might consider embedding the Python interpreter?
http://boost.org/libs/python/doc/tutorial/doc/html/python/embedding.html