[plt-scheme] Getting good shift/reduce error messages using parser-tools?
>> Is there something in the tool that I have to turn on to get extended
>> diagnostic information? I'm thinking I could just dump it to yacc format
>> and ask yacc to give me better information, but that seems slightly silly.
>>
> The `parser' syntax has a debug option which prints to a specified
> file the generated LALR table and conflicting transitions:
>
> (parse
> (debug "some-file")
> (tokens tokens)
> (start expr)
> ...)
>
> This output can be kind of hard to read, if you're not familiar with it,
> but it might at least get you in the ballpark.
Hi Casey,
Excellent, that helps a lot! That's embarassing... I don't know how I
missed that in the parser-tools documentation; I need to learn how to read
more carefully.
Thank you again!