On Fri, 22 Jul 2011 21:00:53 +0200 Lucio De Re <lu...@proxima.alt.za> 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" <st...@quintile.net> 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.