Re: [PATCH v2 5/5] peg: Add fall-back parsing.

2024-10-18 Thread Ekaitz Zarraga
Hi On 2024-10-16 08:44, Rutger van Beusekom wrote: *Subject:* Re: [PATCH v2 5/5] peg: Add fall-back parsing. Hi Ekaitz, > I think this change is not compatible with the PEG syntax. In PEG # is a > line comment: I am not attached to # as the PEG expect operator.  At the same time the

Re: [PATCH v2 5/5] peg: Add fall-back parsing.

2024-10-15 Thread Rutger van Beusekom
From: Ekaitz Zarraga Sent: Monday, 14 October 2024 17:58 To: Janneke Nieuwenhuizen ; guile-devel@gnu.org Cc: Rutger van Beusekom Subject: Re: [PATCH v2 5/5] peg: Add fall-back parsing. Hi Ekaitz, > I think this change is not compatible with the PEG syn

Re: [PATCH v2 5/5] peg: Add fall-back parsing.

2024-10-14 Thread Ekaitz Zarraga
On 2024-10-14 09:36, Janneke Nieuwenhuizen wrote: Janneke Nieuwenhuizen writes: From: Rutger van Beusekom This allows production of incomplete parse trees, without errors, e.g., for code completion. * module/ice-9/peg/codegen.scm (%peg:fall-back?): New exported parameter. (%enable-expect, %c

Re: [PATCH v2 5/5] peg: Add fall-back parsing.

2024-10-14 Thread Janneke Nieuwenhuizen
Janneke Nieuwenhuizen writes: > From: Rutger van Beusekom > > This allows production of incomplete parse trees, without errors, e.g., > for code completion. > > * module/ice-9/peg/codegen.scm (%peg:fall-back?): New exported > parameter. > (%enable-expect, %continuation, %final-continuation): New