From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 22 Jul 2011 21:10:20 +0100 From: Ethan Grammatikidis To: 9fans@9fans.net Message-ID: <20110722211020.0cc4ed51@kolari.ethans.dre.am> In-Reply-To: <20110722190053.GH2065@fangle.proxima.alt.za> References: <2fb2c31fa3cb67d0f3fe70f628f24bf6@ladd.quanstro.net> <8e8648e7029cff027f2fbfc4920762ae@quintile.net> <20110722193047.45addae9@kolari.ethans.dre.am> <20110722190053.GH2065@fangle.proxima.alt.za> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: lucio@proxima.alt.za Subject: Re: [9fans] Plan 9 Go (Was: GNU/Linux/Plan 9 disto) Topicbox-Message-UUID: 059b9652-ead7-11e9-9d60-3106f5b1d025 On Fri, 22 Jul 2011 21:00:53 +0200 Lucio De Re wrote: > On Fri, Jul 22, 2011 at 07:30:47PM +0100, Ethan Grammatikidis wrote: > > > > On Fri, 22 Jul 2011 17:35:24 +0100 > > "Steve Simon" wrote: > > > > > My understanding is that bison can be convinced to output some static > > > tables which the Go authors munge into some C source (with awk). > > > > I wonder what it would take to add that feature to Plan 9's yacc. I'm > > not normally one to suggest adding features, but if the authors of Go > > found it useful I'm a bit inclined to think about it. > > Now that's a suggestion that makes some sense. I'll see if I can > figure out how Bison does it and if it is not too tightly coupled to > bison-specific internals, I may be able to enhance yacc. Don't hold > your breath. Not holding my breath. :) After reading Erik's reply I decided to look at it from the other end; the go internals to see if there was another way of doing it, but yeah, no-one should hold their breath on my account either.