Re: switching qi::rule while parsing?
Seth Heeren <[email protected]> Mon, 25 Jan 2021 20:54:20 +0100
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <[email protected]> |
On di, 19. jan 19:05, Frank Bergemann wrote:
> Let me change the summary for a new aspect:
> In https://github.com/F-Bergemann/RegexSplitter
> when trying to allow '(' and ')' also _within_ groups here:
This is why you DO need a recursive grammar. That's because the syntax
is recursive. Regexes are parsed, not split. Of course whether or not
you build a recursive AST is fully up to you.