Boost logo

Boost :

Subject: Re: [boost] [Christian S] Spirit and ANTLR - Request for example
From: Robert Ramey (ramey_at_[hidden])
Date: 2009-06-09 12:42:07


> 3. ok, i can't use this. its too slow to compile and the error
> messages are pointless

The serialization library of xml archives uses spirit to parse
and has so from the beginning. I've been very pleased with
the results. I havn't had to look at the code in the last
6 years. The serialization library has the xml_parser compiled
into it. So, it is recompiled once for each boost release.

There was a learning curve. However, it was an interesting
one rather than a tedious one. Implementation of the xml
archive was greatly helped by the inclusion of an xml
parser example in the spirit documents. I did have
to make some changes in it (wide characters etc)
and slimmed it down. But for me, bottom line
for using a library is that it does the job more or
less once and for all. By that criteria, Spirit has
been very successful in my experience.

And it's true. It IS a very clever an cool idea.

Robert Ramey


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