emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Re: Make peg.el a built-in library?


From: tomas
Subject: Re: [PATCH] Re: Make peg.el a built-in library?
Date: Wed, 11 Jan 2023 12:32:52 +0100

On Wed, Jan 11, 2023 at 12:01:43PM +0100, Michael Heerdegen wrote:
> Ihor Radchenko <yantar92@posteo.net> writes:
> 
> > 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?
> 
> Dunno.  I wrote the translator for academic interest and for
> learning.
> 
> 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
-- 
t

Attachment: signature.asc
Description: PGP signature


reply via email to

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