Re:What the heck is a parser-combinator?
by RodgerTheGreat on Wednesday June 21, 2017 @09:46AM
(#14603718)
I implemented a basic set of primitive parsers and combinators here in K, along with a usage example- a complete parser for the bittorrent "Bencode" data interchange format:
https://github.com/JohnEarnest/ok/blob/gh-pages/examples/par...
Not particularly efficient, but fairly concise.