Re: General concepts of grammar and file-parsing
Seth <[email protected]>
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <[email protected]> |
On 16-11-16 14:25, Sebastian Gsänger wrote: > Or is it preferable to utilize a modified iterator as in > http://boost-spirit.com/home/2010/01/05/stream-based-parsing-made-easy/ ? Yes. If you're just curious how that can work, here's a peek behind the curtains https://stackoverflow.com/questions/40504267/boost-spirit-memory-leak/40515812#40515812 > And - somewhat unrelated - is it possible to embed rules with a > skipper inside rules or a grammar without a skipper? Respectively, > utilize skipping rules inside the context of qi::parse? Yes. Use `qi::skip(expr) [ parser_expression ]` - see also http://stackoverflow.com/questions/17072987/boost-spirit-skipper-issues/17073965#17073965 Seth ------------------------------------------------------------------------------