From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Re: Make peg.el a built-in library? Date: Wed, 11 Jan 2023 12:32:52 +0100 Message-ID: References: <877d07a16u.fsf@localhost> <87tu3asg2r.fsf@ericabrahamsen.net> <87edud25ov.fsf@localhost> <87a6511ku0.fsf@ericabrahamsen.net> <87wn85z0zl.fsf@ericabrahamsen.net> <87leobplpv.fsf_-_@ericabrahamsen.net> <87o7r5ikpm.fsf@web.de> <87bkn5wl7o.fsf@localhost> <87a62p2v3c.fsf@web.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="umm8sHMXzokyVjDo" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36826"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 11 12:33:42 2023 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 1pFZMT-0009Pj-RV for ged-emacs-devel@m.gmane-mx.org; Wed, 11 Jan 2023 12:33:41 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pFZLp-0006Nj-QX; Wed, 11 Jan 2023 06:33:01 -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 1pFZLm-0006NH-Ol for emacs-devel@gnu.org; Wed, 11 Jan 2023 06:33:00 -0500 Original-Received: from mail.tuxteam.de ([5.199.139.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pFZLl-0007KW-4D for emacs-devel@gnu.org; Wed, 11 Jan 2023 06:32:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Kgy24xUO2bRqUaCF1aHtKYlwfAD89UZG0fHX2e0rOOU=; b=qxSbygEetR6+b2n+N/oYO7gRf8 lrOFJcBY6bqZHfKJzBb8idlMpAIDtsM4jSOa1NuiKqjQny8NHsDll0/65khLzeU/JCtdviX1c86PL ayKUVp32b4ms3bEJ3qCpru5p2xZcVswpr4YPs/0Ibm6fnsX2UlB/EnRbLr1LnJkMQWA6cmylGDZla h8ontXXwgwDKkq+ZjA78q8OzR4jIj6s1m4yKRxue9zTtJwR75duycoJCxezZo7P83eH/QJ9pkGzsr GtqG7Ww4rkd8Cdhtdh1Fkp6A5NPxJFG/XqDmHkcx1echFEEOVrqkEknqRFK36vE+NEkheAWSrxpoG wYSmcTPw==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.94.2) (envelope-from ) id 1pFZLg-0003AA-Uy for emacs-devel@gnu.org; Wed, 11 Jan 2023 12:32:52 +0100 Content-Disposition: inline In-Reply-To: <87a62p2v3c.fsf@web.de> Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:302334 Archived-At: --umm8sHMXzokyVjDo Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 11, 2023 at 12:01:43PM +0100, Michael Heerdegen wrote: > Ihor Radchenko writes: >=20 > > I am wondering if we may instead just support traditional regexps as an > > extra PEG construct. Considering that regexp support is anyway built-in, > > why not? >=20 > Dunno. I wrote the translator for academic interest and for > learning. >=20 > AFAIR not all Emacs regexp features work in PEGs - backrefs for example. > Or match data handling. Plus, I don't think a PEG packrat parser is always as efficient as we know and love our regexps. Cheers --=20 t --umm8sHMXzokyVjDo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCY76eXQAKCRAFyCz1etHa RsfMAJ9rAzYHosP7YFtuEJuJB0mBhKtd0QCfVg6qnZhx7tmZV8q7WuGASkMax+8= =PFhO -----END PGP SIGNATURE----- --umm8sHMXzokyVjDo--