[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Make peg.el a built-in library?
From: |
Eric Abrahamsen |
Subject: |
Re: Make peg.el a built-in library? |
Date: |
Sat, 09 Oct 2021 09:49:43 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Michael Heerdegen <michael_heerdegen@web.de> writes:
> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> Hi all,
>>
>> In my on-again-off-again quest to not have to write text parsers myself,
>> I was pointed towards the PEG library (in ELPA), which does pretty much
>> exactly what I want (Parsing Expression Grammars).
>
> I like the idea, and I have some remarks:
>
> (1) Can we improve the introduction in the file header a bit? I would
> add a link to the wikipedia page:
>
> https://en.wikipedia.org/wiki/Parsing_expression_grammar
>
> it explains some background.
[...]
> (4) How hard would it be to parse regexps (or translate `rx' forms) into
> an equivalent peg?
I had this idea as well -- we've already got "regexps that look like
forms", it seems like it would be a natural to integrate this with rx.
One thing we're not short of here is new ideas for code, but I do think
this would make a lot of sense.
- Re: Make peg.el a built-in library?, (continued)
Re: Make peg.el a built-in library?, Stefan Monnier, 2021/10/09
Re: Make peg.el a built-in library?,
Eric Abrahamsen <=
- Re: Make peg.el a built-in library?, Stefan Monnier, 2021/10/09
- Re: Make peg.el a built-in library?, Michael Heerdegen, 2021/10/10
- Re: Make peg.el a built-in library?, Helmut Eller, 2021/10/10
- Re: Make peg.el a built-in library?, Stefan Monnier, 2021/10/10
- Re: Make peg.el a built-in library?, Michael Heerdegen, 2021/10/22
- Re: Make peg.el a built-in library?, Michael Heerdegen, 2021/10/31