Hello!
I'd like to use the peg.search vocab, and for that I need to pass it a parser.
Most of the parsing words in peg.ebnf produce either a quotation that is
immediately called inline (EBNF[[), or produce a word that calls a parser
hidden inside it (EBNF:).
There are only two ways to
What you are describing reminds me of the built-in nesting of parsers with
the ebnf tokenizer :
https://docs.factorcode.org/content/article-peg.ebnf.tokenizers.html
Not sure if it's really applicable to your use case though.
As for streams, aren't packrat parsers backtracking (with
I have another question to follow this up. I want to create a multilayer parser.The first layer would read a bunch of textual log files (with date-time in their names) and search for various types of events using PEG patterns per line and skipping noise. This would produce a stream of interesting