Boost logo

Boost Users :

Subject: [Boost-users] boost karma qi: skipper concept
From: Matwey V. Kornilov (matwey.kornilov_at_[hidden])
Date: 2016-03-13 07:48:47


Hello,

I don't fully understand skip parser concepts. I would like to parse
key-value list in bash style, like the following:

KEY1=VAL1 KEY2="V A L 2"

The pairs are separated by one or more space symbols. What is the
supposed way to parse such constructions?

1. -(pair % (+space))

2. *pair with skip=space

3. anything else?


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