From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 22 Jul 2011 15:03:10 +0200 From: Lucio De Re To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20110722130310.GO1803@fangle.proxima.alt.za> References: <201107220536.p6M5agtv019617@freefriends.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: [9fans] Plan 9 Go (Was: GNU/Linux/Plan 9 disto) Topicbox-Message-UUID: 0416411a-ead7-11e9-9d60-3106f5b1d025 On Fri, Jul 22, 2011 at 08:41:49AM -0400, erik quanstrom wrote: > On Fri Jul 22 01:37:35 EDT 2011, arnold@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