2 ms·
Yeah, parser combinators are basically magic, and not in an “overly clever code that you’ll regret later” sense. And, while a Haskell-style type system makes t
by fiddlerwoaroof 8y ago
Yeah, parser combinators are basically magic, and not in an “overly clever code that you’ll regret later” sense.
And, while a Haskell-style type system makes them nicer, they work really well in dynamically typed languages too. (e.g. https://github.com/drewc/smug https://github.com/drewc/smug )