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: Ihor Radchenko
Subject: Re: [PATCH] Re: Make peg.el a built-in library?
Date: Sun, 05 Feb 2023 12:10:05 +0000

Michael Heerdegen <michael_heerdegen@web.de> writes:

> 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.

Sure. But if we make Emacs regexp a valid PEG construct, they will work.
It is the whole point.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

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