I am currently playing with the happy parser generator.

Other parser generators can give nice messages like "unexpected endline, expected 'then'". With happy I just get the current Tokens and the position of the error.

Can you give me an example of how to get error messages like above?

没有正确的解决方案

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top