From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Re: Make peg.el a built-in library? Date: Tue, 15 Nov 2022 21:39:25 -0800 Message-ID: <87h6yzpieq.fsf@ericabrahamsen.net> References: <875yvtbbn3.fsf@ericabrahamsen.net> <877d07a16u.fsf@localhost> <87tu3asg2r.fsf@ericabrahamsen.net> <87edud25ov.fsf@localhost> <87a6511ku0.fsf@ericabrahamsen.net> <87wn85z0zl.fsf@ericabrahamsen.net> <87leobplpv.fsf_-_@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39696"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: emacs-devel@gnu.org Cancel-Lock: sha1:ygf1nhb2CcDbquOshKrGWS1zf6Q= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Nov 16 11:09:21 2022 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 1ovFM8-000A8m-1f for ged-emacs-devel@m.gmane-mx.org; Wed, 16 Nov 2022 11:09:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovFLH-00017l-79; Wed, 16 Nov 2022 05:08:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovB96-0006B3-HT for emacs-devel@gnu.org; Wed, 16 Nov 2022 00:39:36 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovB94-0002UA-1y for emacs-devel@gnu.org; Wed, 16 Nov 2022 00:39:35 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1ovB91-0003TF-9Q for emacs-devel@gnu.org; Wed, 16 Nov 2022 06:39:31 +0100 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 16 Nov 2022 05:08:10 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:299915 Archived-At: writes: > On Tue, Nov 15, 2022 at 08:27:56PM -0800, Eric Abrahamsen wrote: > > [...] > >> Okay, here's a first stab. I read the paper, and understood about half >> of it, which seemed like enough. It was interesting to see that the >> paper explicitly calls out the exact greedy-matching behavior I'd >> encountered. > > Half of it sounds like double as much as I understood ;-) The second half is all mathematical notation. I only understand mathematics when it's written in plain English :) > Seriously: thanks for your work. And thanks to the original authors! > >> I'm sure I've got some of the conventions wrong, here, and it's >> unfortunate that there's already a manual node called "Expression >> Parsing", but I don't know what to call this except "Expression Parsing >> Grammars"... > > Hm. Perhaps "Parsing Expression Grammars" might be less confusing, > since it is the moniker which has established itself. Admittedly, > it grammars a bit awkwardly, but people having seen it once will > rather recognize that one. I foolishly reversed both of those: the new node *is* called "Parsing Expression Grammars", and the existing node is called "Parsing Expressions". Same issue, just reversed...