commit | 9e2f8fdb6f54d539bafc9e2bef4b266def1e3e74 | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Wed Jan 21 11:36:15 2015 -0500 |
committer | Russ Cox <rsc@golang.org> | Wed Jan 21 19:42:48 2015 +0000 |
tree | 8c7e7aa1b5f4c4d6ced98d6eeb769109a1117f63 | |
parent | 24dfaba6d1dafffe55987ded672c73a9b6087e79 [diff] |
[dev.cc] cmd/new5a etc, cmd/internal/asm: initial C → Go conversion This is the raw output of c2go. It needs fixes to make it compile. Rather than make c2go do a 100% conversion (like we're doing for liblink and the Go compilers), since this is so trivial I'm going to make the remaining changes by hand in a followup CL. This CL makes the next CL's diffs useful. Also copy unmodified .y files (5a/a.y → new5a/a.y and so on) The converted 6a/lex.c has been written to new6a/lex.go but also to internal/asm/asm.go, because I'm going to factor out some common code rather than convert it four times. Change-Id: I01d5dfd6a9be3ef6191581560bdddd0ac0e8bc58 Reviewed-on: https://go-review.googlesource.com/3142 Reviewed-by: Rob Pike <r@golang.org>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
For documentation about how to install and use Go, visit https://golang.org/ or load doc/install-source.html in your web browser.
Our canonical Git repository is located at https://go.googlesource.com/go. (There is a mirror of the repository at https://github.com/golang/go.)
Please report issues here: https://golang.org/issue/new
Go is the work of hundreds of contributors. We appreciate your help!
To contribute, please read the contribution guidelines: https://golang.org/doc/contribute.html
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
If you have just untarred a binary Go distribution, you need to set the environment variable $GOROOT to the full path of the go directory (the one containing this file). You can omit the variable if you unpack it into /usr/local/go, or if you rebuild from sources by running all.bash (see doc/install-source.html). You should also add the Go binary directory $GOROOT/bin to your shell's path.
For example, if you extracted the tar file into $HOME/go, you might put the following in your .profile:
export GOROOT=$HOME/go export PATH=$PATH:$GOROOT/bin
See https://golang.org/doc/install or doc/install.html for more details.