Re:What the heck is a parser-combinator?
by marcosdumay on Wednesday June 21, 2017 @01:57PM
(#14606270)
If you mean big O efficiency, it doesn't make any difference if you are creating a monad, applicative, or an state machine. Complexity comes explicitly in the parser construction, so if you write a monadic parser using only LR(k) combinators, you will get an LR(k) parser. If you write some backtracking, you will get worse complexity.
[ Parent
| on HN ]
There are no comments on this comment yet.