[Mono-list] Jay error productions
Miguel de Icaza
miguel@ximian.com
18 Jun 2002 20:42:53 -0400
Hello!
> I've recently started using mono as a way to learn C# on my linux box, and
> since I'm interested in parsing I had a look at the parser. There's a
> note in jay/README which suggests that error productions are broken in the
> C# port of jay. I knocked up a minimal lexer/parser which uses jay/c# and
> as far as I can see, the error productions are handled correctly in this
> small example. Can someone describe the 'broken' behaviour of jay, or
> point out an example?
I fixed that some time ago. I will update the README file.
The one bit where Jay is not very good is that there are no
error-recovery facilities, like there are in Bison, so the error
handling is not as good as it could be (ie, `consume all tokens until
you find a close parenthesis' kind of thing).
Miguel