3 ms·
For a really nice solution to the error message problem, see this recent strangeloop talk: https://www.youtube.com/watch?v=Jes3bD6P0To https://www.youtube.com/w
by lemming 8y ago
For a really nice solution to the error message problem, see this recent strangeloop talk: https://www.youtube.com/watch?v=Jes3bD6P0To https://www.youtube.com/watch?v=Jes3bD6P0To
Basically it uses the parse tree disambiguation from the GLR parser to look for the most likely mistake the user made - it's very clever.