Re: [boost] [ANN] Phoenix-2 prerelease

Joel de Guzman <joel@boost-consulting.com> writes:
Hi,
Here's a pre-release package of Phoenix-2. Jaakko and I agreed that it will be the basis of the Phoenix and Boost Lambda merger. This version is Phoenix 1 + Lambda + a lot more.
Take note though that this is not a drop-in replacement of Phoenix-1 for Spirit users. In particular, there is no closure support. Phoenix-2 has true local variables. The plan for Spirit-2 is to replace closures with local variables.
Docs: http://tinyurl.com/77pz5
The pre-release package is here: http://spirit.sourceforge.net/dl_more/phoenix_v2.zip
Just drop it where Phoenix-1 is and run the examples/tests. Comments, feedback very welcome!
arg1 // evaluates to a unary function arg2 // evaluates to a binary function arg3 // evaluates to a ternary function I am surprised. Shouldn't arg1 be a one-or-more argument function that returns its first argument, and arg3 be a three-or-more argument function that returns its third argument? Also, I think you can drop "evaluates to" and put something more descriptive in the comments. -- Dave Abrahams Boost Consulting www.boost-consulting.com
participants (1)
-
David Abrahams