[Top][All Lists]

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

Re: Make peg.el a built-in library?

From: Eric Abrahamsen
Subject: Re: Make peg.el a built-in library?
Date: Thu, 26 Aug 2021 08:34:16 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Eric Abrahamsen <eric@ericabrahamsen.net>
>> Date: Wed, 25 Aug 2021 11:52:00 -0700
>> Cc: Stefan Monnier <monnier@iro.umontreal.ca>
>> In my on-again-off-again quest to not have to write text parsers myself,
>> I was pointed towards the PEG library (in ELPA), which does pretty much
>> exactly what I want (Parsing Expression Grammars).
>> Would the maintainers consider moving this into Emacs proper? I ask
>> mostly because this would be very useful to have in Gnus, both to
>> replace the home-made parser in gnus-search.el, and I would hope to
>> parse eg IMAP server responses more fully and reliably.
> Fine with me, but please update the (outdated) Wiki page to say where
> the latest peg.el is, when it is imported.

Will do. Stefan also asked me to make sure the library actually does
what I expect it to do, before making this move, so I'll write the code

>> I understand it might be redundant with bovine/wisent, but TBH I've
>> never been able to make them work at all.
> That should at least warrant a bug report, IMO.

I'll take another look and remind myself of where I got lost.


reply via email to

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