Boost logo

Boost Users :

From: Vincent Finn (yg-boost-users_at_[hidden])
Date: 2003-06-12 11:59:07


Hi,

I am thinking of using spirit for C++ style expressions and am wondering
if it is the way to go

What I have will be something like
( (A != 192) AND ( (V > 0) AND (V < "89") ) )

What I need is to be able to parse this replace the AND, > etc... with
operations, replace string numbers with real numbers and then apply the
operation to a large number of A and V.

I would have thought this would be quite a common usage but I haven't
seem any samples doing it
of partictuar importance is the delayed evaluation

Anyone have an example of this?

        Vin


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net