[Mono-list] Jay error productions

Andrew Birkett adb@tardis.ed.ac.uk
Tue, 18 Jun 2002 18:23:52 +0100 (BST)


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?

My simple lexer/parser is at:

(Uncomment out the error productions to see how they affect the parse)

BTW, I'm impressed by how much mono can do already!


- www.tardis.ed.ac.uk/~adb -