Re: X3: Alternative operator doesn't reduce?
Joel de Guzman <[email protected]> Sat, 11 Jul 2020 14:44:13 +0800
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <[email protected]> |
On 7/11/20 11:16 AM, Michael Powell wrote: > > > On Fri, Jul 10, 2020 at 11:12 PM sehe <[email protected] <mailto:[email protected]>> wrote: > > > > On Fri, Jul 10, 2020 at 5:38 PM Aaron Graham <[email protected] > <mailto:[email protected]>> > > > wrote: > > > > I've written a lot of very complicated qi parsers and I don't remember ever > > running across this problem. It's possible it just never came up, but I > > doubt it. > > I've written a ton of parsers, and yeah this never came up before X3. > > I think it didn't use to come up with X3 until some of the fixes > related to single-element sequence handling but I can't prove it. And > yeah, it's obnoxious because simple string productions often don't work. > > I don't have many examples handy because I basically stopped caring, I > have learned to work around things, but it is one of the reasons I > stick with Qi in production. > > > Sounds legit to me. I concur. Have never had a problem with Qi. Tried, true, proven. > > Although, it does beggar the question, will X3 ever be ready for prime time? Very good question. I suggest filing a github issue, at the very least. Hopefully Nikita can pick it up. He's the one doing the single-element sequence "fixes". Alas, I do not have enough bandwidth :( Regards, -- Joel