From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Make peg.el a built-in library? Date: Thu, 26 Aug 2021 09:17:24 +0300 Message-ID: <83wno8u3uz.fsf@gnu.org> References: <875yvtbbn3.fsf@ericabrahamsen.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30724"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eric Abrahamsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 26 08:18:19 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mJ8iQ-0007kk-T5 for ged-emacs-devel@m.gmane-mx.org; Thu, 26 Aug 2021 08:18:18 +0200 Original-Received: from localhost ([::1]:36086 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJ8iP-0004TQ-B1 for ged-emacs-devel@m.gmane-mx.org; Thu, 26 Aug 2021 02:18:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48358) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJ8hv-0003n5-1j for emacs-devel@gnu.org; Thu, 26 Aug 2021 02:17:47 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52048) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJ8ht-0004vj-9i; Thu, 26 Aug 2021 02:17:45 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3313 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJ8hs-00017F-SO; Thu, 26 Aug 2021 02:17:45 -0400 In-Reply-To: <875yvtbbn3.fsf@ericabrahamsen.net> (message from Eric Abrahamsen on Wed, 25 Aug 2021 11:52:00 -0700) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:273000 Archived-At: > From: Eric Abrahamsen > Date: Wed, 25 Aug 2021 11:52:00 -0700 > Cc: Stefan Monnier > > 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. > 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.