BNFC / bnfc

BNF Converter
http://bnfc.digitalgrammars.com/
583 stars 162 forks source link

Restore Haskell GLR mode #340

Closed andreasabel closed 3 years ago

andreasabel commented 3 years ago

With the hint in https://github.com/simonmar/happy/issues/173#issuecomment-778661448, the --glr mode can be tested again.

rachelambda commented 2 years ago

Sorry for commenting on this dead issue, but I'm rather confused. The output of bnfc --help (version 2.9.3) states that GLR parsing is deprecated

                --glr                   Output Happy GLR parser [deprecated]

Yet, this issue is closed. Is GLR parsing supported? I was unable to find any mention of this elsewhere.

andreasabel commented 2 years ago

Sorry for the confusion, @depsterr. It is still supported, but deprecated, because it is not supported well upstream (by happy).
In the future, the --glr option might be removed. So far, I am supporting it.