Re: [Qi] Phrase parsed but iterator did not reach end
Michael Powell <[email protected]>
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <CAMEoF_GqfJNjU-La+W_OYCs-8nn7qA33ZWtAbEGprztM5hXNUQ@mail.gmail.com> |
On Wed, Nov 29, 2017 at 4:09 PM, Michael Powell <[email protected]> wrote: > On Wed, Nov 29, 2017 at 11:46 AM, Seth <[email protected]> wrote: >> On 29-11-17 17:28, Michael Powell wrote: >>> I'm trying to pull together a Coliru (or similar) web compiler >>> demonstrating the grammar's inability to properly parse an IPv4 >>> address, however, that's not cooperating either. >> >> Try wandbox. Or just send the code because it should be small. Sorry if >> I didn't understand the issue. Code talks :) > > It is difficult to explain, I agree. > > Here is a starting example: > > https://wandbox.org/permlink/wktfnv3HRCMaE5Y6 > > Initially the grammar is parsing as expected with this use case, but I > half expected that given what I know about Spirit Qi behavior to date. > > I will try adding a couple of illustrative use cases. Here's the same, with a couple of additional use cases. The last use case you can start to see some issues with the parser not parsing. Success is claimed, but the attributes are obviously incorrect. https://wandbox.org/permlink/ItjQUfBiR109Zwpe > Thanks! ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot