The Windows version of sdf2table differs from the version provided for Unix. In particular, for the attached grammar the windows version produces a table that requires support for multiple lookahead, and hence leads to an exception in ParseTable.parseCharRanges of jsglr.

throw new InvalidParseTableException("Multiple lookahead not fully supported");

The Unix version of sdf2table seems to produce a table that does not require multiple lookahead: jsglr loads the resulting parse table without complaint.

Submitted by Sebastian Erdweg on 2 May 2012 at 13:58
Haskell.def2 May 2012 at 13:58

On 6 May 2012 at 16:20 Lennart Kats tagged windows

On 13 November 2012 at 13:35 Maartje tagged sdf

On 13 December 2012 at 16:14 Gabriël Konat commented:

Also occurs on OSX in stable and unstable.


On 13 December 2012 at 16:14 Gabriël Konat tagged osx

On 10 January 2013 at 10:07 Sebastian Erdweg commented:

To what extend is multiple lookahead not supported anyway? What is missing here?


On 10 January 2013 at 11:10 Gabriël Konat commented:

The JSGLR parser does not support it here.

Log in to post comments