
9 Dec
2011
9 Dec
'11
7:11 p.m.
On 12/09/2011 06:50 PM, Steven Watanabe wrote:
AMDG
On 12/08/2011 11:52 AM, paul Fultz wrote:
Hi, Is there a way using Phoenix to do quoting? I would like to do something like this:
quote x("x"); string s = (x< 3 and x> 0)(); //s = "x< 3 and x> 0"
Is there some kind of quote class in Phoenix or a way to create a quote class?
I suspect that you'd do better with raw Proto, since the evaluation has nothing to do with normal C++ semantics.
I suppose you could also want to generate code for Phoenix-specific nodes.