On Fri, Jul 22, 2011 at 08:41:49AM -0400, erik quanstrom wrote: > On Fri Jul 22 01:37:35 EDT 2011, arn...@skeeve.com wrote: > > Does Go use things that are bison-specific? If not, maybe Berkeley Yacc > > (there are various versions around) would be easier to port. > > if it does, that is something new. plan 9 yacc had no troubles > at all with the grammar when i did it. > It does, the Go syntax has changed a lot: you may have missed the efforts that went into dropping trailing semicolons and much other syntactic "candy" that has made Go quite unusual.
I think that is where the yacc changes come from, but I must confess I'm only guessing. So far, as Bakul pointed out, only %error-verbose (from memory) stands out in my most recent changes, but there are other reasons and, unfortunately, GNU Bison uses its own extensions to bootstrap, which is where I may well be getting even more muddled up. I will report back in a little while. ++L