emacs-devel
[Top][All Lists]
Advanced

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

Make peg.el a built-in library?


From: Eric Abrahamsen
Subject: Make peg.el a built-in library?
Date: Wed, 25 Aug 2021 11:52:00 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Hi all,

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.

I pinged the original author Helmut Eller, and he said the library
pretty much belongs to Stefan now, though he'd be happy to have it in
core. He also said he didn't think it was the most ergonomic or
efficient thing out there. It looks fine to me, but I haven't
benchmarked it.

I understand it might be redundant with bovine/wisent, but TBH I've
never been able to make them work at all.

Anyway, plenty of reasons to say no, but I thought I'd check!

Thanks,
Eric




reply via email to

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