GNU bug report logs - #73188
PEG parser does not support full PEG grammar

Previous Next

Package: guile;

Reported by: Ekaitz Zarraga <ekaitz <at> elenq.tech>

Date: Wed, 11 Sep 2024 22:05:01 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ekaitz Zarraga <ekaitz <at> elenq.tech>
To: 73188 <at> debbugs.gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>
Subject: bug#73188: PEG: Fix bugs and add complex PEG for testing
Date: Wed, 30 Oct 2024 20:04:02 +0100
[Message part 1 (text/plain, inline)]
Hi,

I decided to improve the tests of the PEG module because I wasn't very 
confident about the [^...] functionality, and I found I had some minor 
bugs in the previous patch.

I attach a new version of the previous commits with an extra one that 
adds an HTML parser and tests against it. That's what made me find some 
of the errors and missing bits.

With the test I feel more confident about the changes.

Thanks,
Ekaitz
[v5-0003-PEG-Add-a-complex-PEG-grammar-test.patch (text/x-patch, attachment)]
[v5-0002-PEG-Add-support-for-not-in-range-and.patch (text/x-patch, attachment)]
[v5-0001-PEG-Add-full-support-for-PEG-some-extensions.patch (text/x-patch, attachment)]

This bug report was last modified 143 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.