When parsing an IRTG grammar that has extra closing brackets, the IrtgInputCodec does not generate an error message. Instead, it silently skips the next grammar rule, leading to undergeneration in the IRTG that is hard to debug for users.
Instead, the codec should throw an error on extra closing brackets so users can find this problem.
When parsing an IRTG grammar that has extra closing brackets, the IrtgInputCodec does not generate an error message. Instead, it silently skips the next grammar rule, leading to undergeneration in the IRTG that is hard to debug for users.
Instead, the codec should throw an error on extra closing brackets so users can find this problem.
micro-passive.irtg.txt