Robert Griesemer
30e5ed249d
remove reference to "basic literal" since it's never defined
...
R=rsc, r
CC=golang-dev
https://golang.org/cl/183113
2010-01-04 17:28:02 -08:00
Rob Pike
c05f86a46a
fix up YB and add ZB, EB in example
...
R=rsc
CC=golang-dev
https://golang.org/cl/183107
2010-01-04 07:36:39 +11:00
Ian Lance Taylor
1d5e1f578c
Document how to build gccgo to use gold.
...
This provides full support for discontiguous stacks.
R=r
CC=golang-dev
https://golang.org/cl/183088
2009-12-29 14:59:08 -08:00
Robert Griesemer
eb109a765d
Clarify section on tokens.
...
Fixes #457 .
R=r
CC=golang-dev
https://golang.org/cl/181083
2009-12-28 14:40:42 -08:00
Rob Pike
316cb50db1
add exceptions to the road map. i think this just was an oversight.
...
also a way to run code when object is deleted.
both of these are possibilities, not certainties.
R=rsc, iant
CC=golang-dev
https://golang.org/cl/181057
2009-12-27 07:57:57 +11:00
Rob Pike
77f6f16660
fix naked < and > as reported by Peter Williams <>
...
(i thought these were legal in <pre> blocks)
R=rsc
CC=golang-dev, pwil3058
https://golang.org/cl/181055
2009-12-25 07:13:14 +11:00
Russ Cox
c1045db1d8
go_spec: use PrimaryExpr as type switch expression
...
Without this change, the spec parses <-c.(type) as (<-c).(type)
but parses <-c.(int) as <-(c.(int)).
With this change, the former parses as <-(c.(type)).
All three parsers already implement this rule, because
they look for the "type" word during parsing of a standard
type assertion. This change merely brings the
spec in line with the implementations.
http://code.google.com/p/go/source/browse/src/cmd/gc/go.y#801
http://code.google.com/p/go/source/browse/src/pkg/go/parser/parser.go#900
http://gcc.gnu.org/viewcvs/branches/gccgo/gcc/go/parse.cc?revision=155389&view=markup#l2469
Pointed out by Brett Kail on golang-nuts.
R=gri
CC=golang-dev
https://golang.org/cl/182044
2009-12-23 13:48:44 -08:00
Rob Pike
617a6a519f
fix documentation bug in example
...
Fixes #452 .
R=gri
CC=golang-dev, dougfelt
https://golang.org/cl/181043
2009-12-23 13:47:58 +11:00
Rob Pike
96ee38bfc2
make it more explicit that design discussions should happen before code reviews
...
R=rsc
CC=golang-dev
https://golang.org/cl/180075
2009-12-17 12:12:47 +11:00
Ian Lance Taylor
2e5a720647
Add roadmap document.
...
Also adds Development heading on navbar, with Roadmap being
the only current entry.
R=r
CC=golang-dev
https://golang.org/cl/180069
2009-12-16 15:30:39 -08:00
Russ Cox
3269647502
doc/install.html: how to update to a new release
...
Fixes #422 .
R=r
CC=golang-dev
https://golang.org/cl/180057
2009-12-15 19:16:56 -08:00
Rob Pike
163ecdac1a
new semicolon rule in effective_go.html.
...
eliminate all tab characters while we're here.
R=rsc
CC=golang-dev
https://golang.org/cl/180055
2009-12-16 12:31:18 +11:00
Rob Pike
34356e9a6a
update tutorial.
...
R=rsc
CC=golang-dev
https://golang.org/cl/179063
2009-12-16 10:29:53 +11:00
Rob Pike
bbd4cb382a
fix naked < as reported by pwil3058@gmail.com
...
R=rsc
CC=pwil3058
https://golang.org/cl/174087
2009-12-14 13:30:11 +11:00
Devon H. O'Dell
857d4cf1a9
Remove GOBIN in PATH dependency; don't assume cwd is $GOROOT/src
...
This change removes the necessity to have GOBIN in $PATH,
and also doesn't assume that the build is being run from
$GOROOT/src. This is a minimal set of necessary changes
to get Go to build happily from the FreeBSD ports
collection.
R=rsc
CC=golang-dev
https://golang.org/cl/171044
2009-12-11 15:14:09 -08:00
Devon H. O'Dell
ddde7f6625
Add a Makefile in place of all.bash. Update docs to reflect
...
this change.
R=rsc
CC=golang-dev
https://golang.org/cl/171048
2009-12-11 12:48:55 -08:00
Robert Griesemer
130ac74010
Spec modified to reflect new semicolon rules.
...
R=rsc, r, iant, ken2
CC=golang-dev
https://golang.org/cl/166066
2009-12-10 16:43:01 -08:00
Russ Cox
5facb84770
doc/contribute: try to make it clearer that you send a review with hg mail, not hg submit.
...
R=r
https://golang.org/cl/171046
2009-12-09 14:39:41 -08:00
Russ Cox
d55abfd2c9
doc: split contribute.html into code.html and contribute.html
...
R=r
https://golang.org/cl/170042
2009-12-09 14:05:12 -08:00
Russ Cox
2a5f0c67ca
spec: document that built-ins cannot be used as func values
...
R=gri
CC=golang-dev
https://golang.org/cl/164088
2009-12-04 10:23:12 -08:00
Russ Cox
6301fb4134
faq: add question about translation
...
R=jini, r
https://golang.org/cl/163092
2009-12-03 17:23:33 -08:00
Rob Pike
acf4dd4d56
change the naming example from Vector to Ring due to loss of vector.New()
...
R=rsc
CC=golang-dev
https://golang.org/cl/164082
2009-12-02 13:46:02 -08:00
Ian Lance Taylor
ccd026486a
Add copy to the list of predeclared functions.
...
R=gri
https://golang.org/cl/164081
2009-12-02 13:26:39 -08:00
Robert Griesemer
e919275825
Integrated feedback by Ken.
...
Easy stuff in this round, more to come.
R=iant, rsc, r, ken2
https://golang.org/cl/163058
2009-12-01 16:15:53 -08:00
Robert Griesemer
9e450880e9
some godoc cleanup:
...
- simplified dealing with parse errors: no need to intersperse them in the source
- improve visibility of highlighted identifiers by showing them in bold
R=rsc
https://golang.org/cl/163051
2009-12-01 09:15:05 -08:00
Fazlul Shahriar
330139e3f2
Fix typo in spec
...
R=golang-dev, rsc
https://golang.org/cl/164052
2009-11-30 21:23:58 -08:00
Fumitoshi Ukai
65112628dc
Fix example Makefile to avoid $GOROOT in case it has spaces.
...
R=rsc, sergio
https://golang.org/cl/162058
2009-11-29 21:22:05 -08:00
Rob Pike
53ab6a0ad1
add freebsd to the list of os'es.
...
make the GOOS/GOARCH pair a table to avoid the confusion caused when it was of the form linux/386.
R=rsc
CC=golang-dev
https://golang.org/cl/160061
2009-11-24 16:00:19 -08:00
Rob Pike
2cbeb1dbb1
change the rules for maintaining AUTHORS and CONTRIBUTORS files.
...
the current system is too painful, so instead let's just have the coders tell us the details.
we can update the files ourselves.
R=rsc, r1
CC=golang-dev
https://golang.org/cl/157158
2009-11-24 14:04:43 -08:00
Ian Lance Taylor
568465a931
Mention golang-dev as a default code review destination.
...
R=rsc
CC=r
https://golang.org/cl/160056
2009-11-24 13:36:54 -08:00
Rob Pike
bdecae9e00
add an FAQ entry about the logo and mascot
...
R=rsc
CC=golang-dev, reneefrench
https://golang.org/cl/157144
2009-11-23 17:34:23 -08:00
Sergio Luis O. B. Correia
6fc820729e
go: makes it build for the case $GOROOT has whitespaces
...
the bash scripts and makefiles for building go didn't take into account
the fact $GOROOT / $GOBIN could both be directories containing whitespaces,
and was not possible to build it in such a situation.
this commit adjusts the various makefiles/scripts to make it aware of that
possibility, and now it builds successfully when using a path with whitespaces
as well.
Fixes #115 .
R=rsc, dsymonds1
https://golang.org/cl/157067
2009-11-23 17:32:51 -08:00
Rob Pike
ff6a8fd779
mention arrays of arrays and slices of slices
...
Fixes #113 .
R=gri, rsc
CC=golang-dev
https://golang.org/cl/159049
2009-11-20 15:47:15 -08:00
Russ Cox
69039e5a5a
build Make.deps during make.bash instead
...
of keeping a checked-in copy. doesn't
slow down make.bash appreciably.
R=r
https://golang.org/cl/156099
2009-11-19 16:27:13 -08:00
Robert Griesemer
1a8ebcc4b8
Allow optional second expression in slice expressions.
...
Built-in function copy.
Addresses issue 203.
R=rsc, r, iant
https://golang.org/cl/156089
2009-11-18 19:15:25 -08:00
Ian Lance Taylor
9e8d136888
On 32-bit x86, one should configure with --with-arch=.
...
R=r
https://golang.org/cl/156080
2009-11-18 12:48:48 -08:00
Russ Cox
43bcf47912
make all.bash finish on FreeBSD
...
R=dho
CC=golang-dev
https://golang.org/cl/156067
2009-11-18 09:11:17 -08:00
Rob Pike
33d10e4d32
explain the situation with unicode and identifiers
...
R=rsc
CC=golang-dev
https://golang.org/cl/156044
2009-11-17 14:40:07 -08:00
Rob Pike
bcb46c8560
fix typo in Append return type
...
R=rsc
https://golang.org/cl/155058
2009-11-16 21:56:38 -08:00
Adam Langley
4085364a20
doc: fix typo.
...
Fixes #218
R=r
CC=golang-dev
https://golang.org/cl/155067
2009-11-16 11:56:18 -08:00
Robert Griesemer
d3b1565716
- Clarify that struct composite literal keys are field names not selectors.
...
- Slight re-phrasing of struct type section since "field name" was not
properly introduced.
Fixes #164 .
R=r, rsc, iant
https://golang.org/cl/155061
2009-11-16 08:58:55 -08:00
Robert Griesemer
0660d243b1
Use ElementType consistently.
...
Fixes #173 .
R=r, rsc, r1
https://golang.org/cl/154156
2009-11-15 17:42:27 -08:00
Rob Pike
dc3b4932d8
add a paragraph about GOMAXPROCS
...
R=rsc
CC=golang-dev
https://golang.org/cl/154153
2009-11-15 13:09:43 -08:00
Russ Cox
dee5ad5c24
godocs.js: fix bad variable name
...
Thanks to anno.langen.
Fixes #103 .
R=r
https://golang.org/cl/155050
2009-11-15 12:57:33 -08:00
Rob Pike
029c39f45a
fix some typos in the documentation
...
Fixes #196 .
R=rsc
https://golang.org/cl/154152
2009-11-15 12:09:59 -08:00
Robert Griesemer
13ad5d40c4
Use // to start comment instead of #.
...
Fixes #189 .
R=r
CC=rsc
https://golang.org/cl/155055
2009-11-15 11:33:20 -08:00
Rob Pike
8f47890135
fix typo
...
R=rsc
https://golang.org/cl/152128
2009-11-13 16:00:55 -08:00
Rob Pike
9549eeecd1
add a paragraph about semicolons to the tutorial.
...
fix a typo caught by kakugawa@gmail.com
Fixes #92 .
R=rsc
CC=golang-dev
https://golang.org/cl/152105
2009-11-12 14:10:16 -08:00
Rob Pike
cf16443c69
fix a couple of typos.
...
add a mention of range to the tutorial.
change tutorial's title.
R=rsc
CC=golang-dev
https://golang.org/cl/152098
2009-11-12 11:05:20 -08:00
Rob Pike
0c83f23d44
fix typo in ByteSize example
...
R=rsc, agl1
CC=golang-dev
https://golang.org/cl/154076
2009-11-11 19:39:57 -08:00