|
Boost : |
From: James Curran (jamescurran_at_[hidden])
Date: 2003-11-17 15:56:18
Eric Niebler wrote:
>
> // dynamically bound
> rx = p.parse( "(hello )+world" );
>
> // statically bound
> rx = +(_1 = "hello ") >> "world";
>
Would it be possible to have the dynamically bound syntax the same as
the statically bound? (I'm assuming that the S-bound syntax in limited by
externals -- notably which C++ operators can be overloaded -- but the
D-bound syntax could be anything. I also assume that the difference was so
at least one could match other RE syntaxes, but if I'm going to have to
learn another syntax, it might as well be consistent throughout the domain.)
-- Truth, James Curran Home: www.noveltheory.com Work: www.njtheater.com Blog: www.honestillusion.com Day Job: www.aurora-inc.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk