emacs-devel
[Top][All Lists]
Advanced

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

Parsing library recommendation


From: Evgeny Zajcev
Subject: Parsing library recommendation
Date: Tue, 5 Mar 2019 15:48:56 +0300

> Everything now is written with regexps, which can be good for
> skipping over cruft and targeting expected strings, but they
> fall apart fairly easily. It would be nice to have a more
> stable parsing framework that can handle these oddities (though
> I know they're all built on regexps, eventually). It would be
> nice to have something that could be used for IMAP servers,
> etc.

PEG might be what you want, there is implementation for Emacs -
https://github.com/ellerh/peg.el/blob/master/peg.el

--
lg

reply via email to

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