Hacker News new | ask | show | jobs
by jgalt212 3134 days ago
a parser that is 97% correct is broken.
2 comments

A parser (assuming you are talking about a programming language parser) has the luxury of having highly structured and deterministic inputs, and to be able to refuse giving an "answer" if they are not.
> highly structured and deterministic inputs

not all parsers deal with such inputs, and parsers that don't can and often do produce multiple interpretations of the input data.

Tell me of some parsers that do not deal with deterministic inputs and have 100% accuracy, then.
It's like Intel's floating point math used to be about 97% correct. Good enough, right?

https://en.wikipedia.org/wiki/Pentium_FDIV_bug