Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2003-01-17 08:53:22


> > my_program ( 0, 1) ( 1, 3) (( 0, 1), 15 ), (( 0,1), (7.8) ) >
> > This is input of 2 points circle and line. Here chain_lookup_policy
could
> > be useful.
>
> What if I want C++ expression specified on the command line? Sure, I don't
> want make C++ parser operate on command line. Rather, I'd write
>
> my_program "f(1, 2) + 10"
>
> I don't need "chain_lookup_policy" where a couple of quote characters will
do.

IT doesn't matter weather or not you are using quotes. To parse out Point,
Point, Circle, Line out of input above you need chain of responsibilities
logic.

> I really can't comment further without seeing the code.

Ok. I put in vault area some snapshot. I take some not testes functionality
out of there. But you should get the feeling. Unfortunately I will be really
busy till the middle of February. So may not be able to work on this further
meanwhile. It's located here:
http://groups.yahoo.com/group/boost/files/cla_framework.zip

> No. Does yours? Getting really picky, does yours allows to validate XML
> against DTD?

In fact yes. My test configuration file look like this:

input_message \
<some XML here> \
<> \
<>

"expected_output after transformation 1" "cxvbxbxb"
"expected_output after transformation 2" "df sdf sdf"

Now my test program read test configuration file and feed value of
"input_message" parameter to the xerces parser.

> - Volodya

Gennadiy.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk