|
From: | Matt Wette |
Subject: | Re: Questions about PEG parsing |
Date: | Tue, 2 Nov 2021 05:44:06 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.2 |
Dear guile users, There are two ways to make a parser with guile: the undocumented LALR(1) parser generator, for which I don’t know how to reuse grammar elements, and the PEG parser.
I'm not sure what your needs are but in my case being not keen on the lalr parser in Guile I ended up writing my own (for Guile). https://savannah.nongnu.org/projects/nyacc If you go to the "Project Homepage" there are some manuals. And the distribution includes several examples. Matt
[Prev in Thread] | Current Thread | [Next in Thread] |