
Thank you Michael for your pointer. I did knew spirit before but not much. It seemed like a canon or much more while what I need is a gun. Its power and elegance seems worth a try, even though the learning curve is a little bit steep. (To play with a simple toy program closely resembling those samples presented in the tutorial is not difficult, but having a full grasp, or nearly, is far from a easy task, especially when one comes across compile errors - the scenario that I believe everyone here can imagine, which is probably the biggest drawback of the powerful high order programming) B/Rgds Max
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Michael Caisse Sent: Wednesday, February 09, 2011 1:47 AM To: boost@lists.boost.org Subject: Re: [boost] [Tokenizer]Usage and documentation
On 2/8/2011 5:13 AM, Max wrote:
Hello,
I'm using boost::tokenizer to do some simple parsing of data file in a format specified by the following rules:
- One record of several fields in a single line
- Adjacent data fields in a record separated by space char's(space or tab), with or without ","
- String without space(s), with or without quotation marks
- String with space(s), with quotation marks
Hi Max -
I would use Spirit Qi for this task. You can find the documentation here:
<http://www.boost.org/doc/libs/1_45_0/libs/spirit/doc/html/index.html>
michael
--
---------------------------------- Michael Caisse Object Modeling Designs www.objectmodelingdesigns.com
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost