[dev] miniyacc

From: Daniel Cegiełka <daniel.cegielka_AT_gmail.com>
Date: Tue, 7 May 2019 16:06:30 +0200

Hi,

I'm going to use Quentin's miniyacc with (for example) bc.y from Plan 9:
https://github.com/9fans/plan9port/blob/master/src/cmd/bc.y

Of course, I had to modify the code (a bit), but unfortunately I still
get an error when using miniyacc - works correctly with yacc from
OpenBSD and Plan 9.

I'm getting a message from this place ("production rule too long"):
https://c9x.me/git/miniyacc.git/tree/yacc.c#n1110

I tried to increase the value of IdntSz and MaxRhs, but it didn't help
in any way.

Is this a problem with miniyacc? Does anyone have any experience with miniyacc?

Best regards,
Daniel
Received on Tue May 07 2019 - 16:06:30 CEST

This archive was generated by hypermail 2.3.0 : Tue May 07 2019 - 16:12:08 CEST