From mboxrd@z Thu Jan 1 00:00:00 1970 From: bruce.ellis@gmail.com (Bruce Ellis) Date: Sun, 13 Nov 2011 21:30:57 +1100 Subject: [9fans] all you yacc experts In-Reply-To: References: Message-ID: Topicbox-Message-UUID: 4036133c-ead7-11e9-9d60-3106f5b1d025 that's what i said ... If all the information is available in y.output then surely modifying yacc will cut out the middle man. brucee On 13 November 2011 21:08, Steve Simon wrote: > Perhaps I'am way off base but surely the neatest solution would be to > modify yacc to produce a nice clean message format, modify the gc > to use that format. > > The reason for not using just the same format blindly is it was designed > with the structure of gc in mind rather than a clean output format. > > Who knows, by delving into yacc perhaps more or even better error > status can be extracted. > > Then we just need to convince russ/the go authors to include plan9's yacc > as part of the go distribution, it wouldn't be unprecendented as go already > includes 8c, 8l and friends. > > -Steve > > -- Don't meddle in the mouth -- MVS (0416935147, +1-513-3BRUCEE)