in reply to Re: Parse::RecDescent: access "skipped" text?
in thread Parse::RecDescent: access "skipped" text?
Without some way to parse text that is notionally “skipped” (that is, as far as the “real” grammar—that of the programming language—is concerned), I realize I'm looking at injecting comments into the programming language grammar as additional productions. But since comments can occur anywhere that whitespace can, this is going to get verbose. So I was looking for a Better Way.
|
|---|