3 ms·
IIRC OCaml compilation was super fast and the errors were useful and pointed to the correct line. What is/was the problem with the current parser?
by swah 8y ago
IIRC OCaml compilation was super fast and the errors were useful and pointed to the correct line.
What is/was the problem with the current parser?
- seanmcdirmid 8y agoGenerally auto generated parsers have huge problems with error recovery (bailing out quickly) and reporting. They usually exceed in performance however. I’m not sure where OCaml stands.
- WallWextra 8y agoAs the blog post says: "Error: Syntax Error". Helpful error messages have not been my experience.
- a0 8y agoSyntax errors are suboptimal. They are usually reported at correct location and it's relatively easy to spot them. On the other hand type error messages are simply awesome.
- chubot 8y agoOne issue is mentioned in the blog post: The days of Error: Syntax error. may be numbered
- prosses 8y agoThey do not want to change the parser but the parser generator.