3 ms·
What's an example of something that can be recognized with parser combinator but not PEGs? Do parser combinators have the notion of arbitrary lookahead or back
by chubot 9y ago
What's an example of something that can be recognized with parser combinator but not PEGs?
Do parser combinators have the notion of arbitrary lookahead or backtracking?
- louthy 9y agoParser combinators can do look-ahead and backtracking, yes. You definitely pay for it in efficiency however (especially look-ahead).