Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by knuthsat

6 years ago

Parser combinators allow elegant implementations of parsing but are ridiculously slow compared to some Knuth-optimized parsers.

2 comments

knuthsat

Reply

mafribe  6 years ago

As elegant as parser combinators are, it is not so easy to work out exactly what grammar they are implementing.

ibains  6 years ago

packrat parsers are fast (at expense of some memory)

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities