multiple errors with different positions using megaparsec
问题 I'm going to use megaparsec for parsing a programming language for university project. However, I searched for finding a way to report multiple errors. I know about withRecovery and I saw this issue but I didn't find about the case where errors happen on different positions. for example in this java code : class A { public get() // line 3 column 10 { return x // line 5 column 22 } } There are error1 "expected type at line 3 column 10" and error2 "missing semicolon at line 5 column 22" I know