Re: X3 employee example with semantic actions
Larry Evans <[email protected]> Sat, 2 Jun 2018 14:28:15 -0500
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <[email protected]> |
On 06/02/2018 11:46 AM, Maarten Verhage wrote: [snip] > > For my application where I would like to 1) Parse a file 2) Modify a few > things and 3) write it back. I still think it is valueable to have the > option to get the two iterators of a rule match. So I can just std::copy a > portion (described by a rule) of the file representation in memory, rather > than having Spirit to interpret it. That will be higher performance does it? > Would the code here: http://coliru.stacked-crooked.com/a/13c0d2050494a4d1 be close to what you want? -regards, Larry ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot