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: Make peg.el a built-in library? Date: Tue, 8 Nov 2022 19:59:04 +0100 Message-ID: References: <875yvtbbn3.fsf@ericabrahamsen.net> <877d07a16u.fsf@localhost> <87tu3asg2r.fsf@ericabrahamsen.net> <87edud1l68.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="57ox5D87ROIQsp40" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34184"; 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 Tue Nov 08 20:00:03 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 1osTpK-0008ie-VW for ged-emacs-devel@m.gmane-mx.org; Tue, 08 Nov 2022 20:00:03 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1osToZ-0006Dj-SS; Tue, 08 Nov 2022 13:59:15 -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 1osToV-0006C0-3Y for emacs-devel@gnu.org; Tue, 08 Nov 2022 13:59:13 -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 1osToR-0000cj-HG for emacs-devel@gnu.org; Tue, 08 Nov 2022 13:59:09 -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=PUfKmW7pW4qB/6wNCjHYmzNnKcxgGLu8hW+dmpWkctQ=; b=pCvVWCs87jvk/4jc6170dlsswd Gsuhq2JdAG1LVig4ERSTfxXb9Wdbs0xatrWu30XYLI9OcdSZmNZ4wcpBQzj0yW+qnrC+Bt6B1c1Zr 9MGmJbIPaQDNe5emSdcslQvLBpVhSFpyDMmp+z88CaE76KoCRvINtPkEZtrXXTVR22PkG6/hsDinM EshG5s7+nTqGM3dIg5CuoF0vI7ZaXg/NQ5e8lmJF1s6ONHpJQ1sSB2DfaMDsVplPdHGJRRUoFXTNI 1ENdGag3MQ6ylY1Bgb/hZdgPJBRiBHAxBrpe5qg81eGymvBqc7IgURIj/ygGD0XGNqKKw0zgub42C 8WOAW7fw==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.94.2) (envelope-from ) id 1osToO-0008II-FZ for emacs-devel@gnu.org; Tue, 08 Nov 2022 19:59:04 +0100 Content-Disposition: inline In-Reply-To: <87edud1l68.fsf@ericabrahamsen.net> 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:299359 Archived-At: --57ox5D87ROIQsp40 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 08, 2022 at 08:10:55AM -0800, Eric Abrahamsen wrote: > Stefan Monnier writes: >=20 > >> And that's about the only hint you get. I was trying to parse a > >> multiword name like > >> > >> Eric Edwin Abrahamsen > > > > Side note: the division between "given name" a "family name" is not > > a universal property [...] > Oh, I've gone down all the rabbit holes... ;-D And this all because a small bunch of PEGs.., > EBDB doesn't force this, it > distinguishes between "complex" and "simple" names, and also allows > "complex" names that only have a given name, or a list of given names, > etc. Input can be done explicitly, field by field, or you can just chunk > a string in there and see what happens. This peg.el adventure is only > about "seeing what happens" with complex names. I think we all got that. Still... ;-) Cheers --=20 t --57ox5D87ROIQsp40 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCY2qm8gAKCRAFyCz1etHa Rr8BAJ9rjWBbp3oFc/dJAHrvAAYHbXCNhgCeIwOf519pb4YW3eK/QUtXRqQF4Zo= =T9jg -----END PGP SIGNATURE----- --57ox5D87ROIQsp40--