From mboxrd@z Thu Jan 1 00:00:00 1970 From: lucio@proxima.alt.za (Lucio De Re) Date: Sun, 3 Apr 2011 22:57:01 +0200 Subject: [9fans] Go Plan 9 In-Reply-To: References: <20110403050717.GB1805@fangle.proxima.alt.za> Message-ID: <20110403205701.GJ1805@fangle.proxima.alt.za> Topicbox-Message-UUID: c6f45894-ead6-11e9-9d60-3106f5b1d025 On Sun, Apr 03, 2011 at 07:50:20PM +0100, Steve Simon wrote: > > A month or so ago I got the go compiler chain to build on plan9, > port is too grand a term, it was just fixing a few nits. > That makes a third version. I seem to remember Erik's version compiled clean and I have to ask Steve now whether his version actually generates Plna 9 executables. And, for that matter, how far the Go portion reached. The version I have restricts itself to C, but has libraries generated using the Go toolchain and has produced one non-trivial object code that ran successfully. Regarding the Go compiler and runtime, I seem to remember that gc.a was created, but nothing else. > I wrote mkfiles and fixed a few minor bugs. The bigest problem was my knowledge > of yacc was not sufficent to rework the error generation magic go uses from > the bison based code to plan9 yacc code. perhaps there is a yacc expert out there > who would be interested in helping? > When I looked at the Go sources, no such magic stood out, but it's a long time ago and I may have ignored the problem intentionally. > I am happy to push back my changes, but without either getting yacc to work, or, > abandoning yacc and porting bison, I didn't feel it was ready. > Maybe Erik, Steve and I should consolidate our changes into a single batch and submit it as a unit, knowing that it will have received at least some competent code review. Anybody else who may want to contribute would, in my view, be welcome. Reviewing code intended for Plan 9 cannot be terribly high within the Google framework at this point in time. ++L