bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#73188: PEG parser does not support full PEG grammar


From: Ekaitz Zarraga
Subject: bug#73188: PEG parser does not support full PEG grammar
Date: Thu, 12 Sep 2024 00:03:57 +0200

Hi,

I noticed the PEG parser does not support the full PEG grammar, this includes comments, double quotes, escaping and underscores.

The attached patch adds support for those (I sent it to guile-devel but I guess it's better to do it here).

I'm trying to test it with Zig's grammar but I'm having some issues and the way this is generated it's really hard to test. As is, this patch passes all the current tests in Guile which includes being able to parse peg-as-peg, which now has comments and features that were not implemented before.

Thank you,
Ekaitz

Attachment: 0001-PEG-Add-full-support-for-PEG-some-extensions.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]