summaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2009-03-16instead of unlabeled statements, have a single labeled statementRobert Griesemer1-14/+20
- no syntactic or semantic change R=r DELTA=45 (24 added, 18 deleted, 3 changed) OCL=26349 CL=26368
2009-03-12mem.html: nitRuss Cox1-3/+2
go_spec.html: document const type propagation R=ken OCL=26223 CL=26225
2009-03-12s/expressios/expressions/Rob Pike1-1/+1
OCL=26222 CL=26222
2009-03-12weasel words about types in shift expressions suggested by rscRob Pike1-1/+1
R=rsc OCL=26220 CL=26220
2009-03-12fix language regarding type of numeric literalsRob Pike1-4/+2
R=rsc DELTA=4 (0 added, 2 deleted, 2 changed) OCL=26208 CL=26212
2009-03-12what is the name for "&^". let's go with bit clear (and not)Rob Pike1-12/+12
R=rsc DELTA=14 (0 added, 0 deleted, 14 changed) OCL=26159 CL=26206
2009-03-11fix unqouted &Rob Pike1-1/+1
R=gri OCL=26158 CL=26158
2009-03-11bit clear: &^ and &^=Rob Pike1-2/+5
R=gri DELTA=5 (3 added, 0 deleted, 2 changed) OCL=26155 CL=26157
2009-03-09conversions are mostly cleaned up; bring the spec in line.Rob Pike1-19/+13
R=gri DELTA=31 (12 added, 18 deleted, 1 changed) OCL=25974 CL=25976
2009-03-05revert QualifiedIdent to old productionRobert Griesemer1-1/+1
R=r DELTA=1 (0 added, 0 deleted, 1 changed) OCL=25732 CL=25777
2009-03-04fix an HTML glitch.Rob Pike1-3/+7
say a little more about package main. R=rsc DELTA=7 (4 added, 0 deleted, 3 changed) OCL=25725 CL=25725
2009-03-04Suggested tweaks up to package section.Russ Cox1-105/+125
Major ones: * Be consistent: "numeric type" and "arithmetic operator". * if/swtch take "simple statement" not "short variable declaration". * There was a comment that implied for x,y := range z() might evaluate z() multiple times. I deleted it. R=r,gri DELTA=124 (24 added, 4 deleted, 96 changed) OCL=25706 CL=25715
2009-03-04change Go logo to link to home pageRuss Cox1-121/+129
fix grammar for forward declaration of interface, struct. move array down next to slice. fix type equal example for structs. R=r,gri DELTA=247 (122 added, 114 deleted, 11 changed) OCL=25694 CL=25704
2009-03-03rephrase redundancy.Rob Pike1-1/+1
R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=25652 CL=25656
2009-03-03The final piece of the alternative to my parens proposalRuss Cox1-4/+20
(i.e., the status quo with braces in composite literals). DELTA=20 (16 added, 0 deleted, 4 changed) OCL=25640 CL=25646
2009-03-03Automated g4 rollback of changelist 25024,Russ Cox7-18/+18
plus significant hand editing. Back to T{x} for composite literals. R=r OCL=25612 CL=25632
2009-03-03clarify conversions vs type guards.Russ Cox1-11/+11
allow conversions between equal types. R=r DELTA=15 (4 added, 4 deleted, 7 changed) OCL=25618 CL=25630
2009-03-02redo poor example of slices.Rob Pike1-2/+4
R=rsc OCL=25614 CL=25614
2009-03-02address most of the editorial comments through "types"Rob Pike1-28/+33
R=rsc DELTA=41 (9 added, 4 deleted, 28 changed) OCL=25611 CL=25611
2009-03-02delete paragraph about unimplemented select-on-type feature.Rob Pike1-20/+13
change () to {} in all composite literals DELTA=20 (0 added, 7 deleted, 13 changed) OCL=25604 CL=25606
2009-03-02Packages.Rob Pike1-66/+118
DELTA=170 (73 added, 21 deleted, 76 changed) OCL=25556 CL=25594
2009-02-27most of the rest.Rob Pike1-286/+402
only the package section is untouched. R=gri DELTA=542 (186 added, 70 deleted, 286 changed) OCL=25485 CL=25532
2009-02-26finish types.Rob Pike1-357/+486
expressions. (they were in pretty good shape; mostly cosmetic and HTML edits) R=gri DELTA=655 (226 added, 97 deleted, 332 changed) OCL=25459 CL=25481
2009-02-25fixed a typoRobert Griesemer1-1/+1
R=r DELTA=1 (0 added, 0 deleted, 1 changed) OCL=25449 CL=25449
2009-02-25Continue editing types section.Rob Pike1-300/+309
Do a little work polishing the "zero value" discussion. R=gri DELTA=486 (129 added, 120 deleted, 237 changed) OCL=25392 CL=25444
2009-02-24complete typesRob Pike1-27/+15
R=gri DELTA=29 (0 added, 12 deleted, 17 changed) OCL=25388 CL=25391
2009-02-24text and formatting are now folded into go_spec; deleteRob Pike1-265/+0
OCL=25292 CL=25383
2009-02-24Updated the section on Types.Rob Pike1-239/+242
Moved assignment compatibility to its own small section. Although most rules are type-specific, some are not and it reduces redundancy to combine them. Also, more experimentally, wrote a section on comparison compatibility. R=gri DELTA=382 (125 added, 122 deleted, 135 changed) OCL=25355 CL=25382
2009-02-23Move Types before Declarations and Scopes.Rob Pike1-467/+468
This is the only change in this CL: only rearrangement, no content change, so subsequent edits will be easier to understand. R=gri OCL=25353 CL=25353
2009-02-23Work on declarations, unsafe, alignment.Rob Pike1-389/+422
Change <tt> to <code> R=gri DELTA=664 (222 added, 189 deleted, 253 changed) OCL=25294 CL=25352
2009-02-22add logo to documentation directory.Rob Pike1-0/+0
R=rsc OCL=25293 CL=25293
2009-02-20draft of memory model.Russ Cox1-0/+457
R=tgs DELTA=545 (545 added, 0 deleted, 0 changed) OCL=25212 CL=25268
2009-02-20Rewrite lexical section.Rob Pike1-243/+320
Put grammar productions into a box with a separate background color. R=gri DELTA=397 (132 added, 49 deleted, 216 changed) OCL=25235 CL=25258
2009-02-19autogenerate the table of contentsRob Pike1-146/+2
R=rsc DELTA=149 (1 added, 145 deleted, 3 changed) OCL=25231 CL=25234
2009-02-19Fix most HTML errors.Rob Pike1-166/+67
Cut introduction. Start rewrite. R=gri DELTA=201 (20 added, 118 deleted, 63 changed) OCL=25226 CL=25229
2009-02-19go_spec.txt formatted in html.Robert Griesemer1-1416/+1844
No textual changes except for html formatting. Seems like a fine intermediate step. R=r DELTA=7638 (4079 added, 3559 deleted, 0 changed) OCL=25211 CL=25224
2009-02-19Finish the lexical section.Rob Pike1-1/+173
DELTA=176 (172 added, 0 deleted, 4 changed) OCL=25182 CL=25222
2009-02-18First piece of Go reference manual.Rob Pike1-0/+93
R=ken,gri,rsc DELTA=185 (185 added, 0 deleted, 0 changed) OCL=25133 CL=25169
2009-02-13convert composite literals from { } to ( ).Russ Cox7-18/+18
only non-trivial changes are in convlit1.go golden.out R=gri OCL=25019 CL=25024
2009-02-11- syntax for composite literals use () instead of {}Robert Griesemer1-33/+29
- do not permit + for array concatenation anymore (not implemented and not a good idea) - document that unsafe function results are compile time constants - fixed minor typos DELTA=41 (7 added, 11 deleted, 23 changed) OCL=24899 CL=24927
2009-02-11- language for embedded interfaces (as discussed this morning)Robert Griesemer1-2/+17
- fixed a syntax error R=r DELTA=17 (15 added, 0 deleted, 2 changed) OCL=24876 CL=24889
2009-02-11Added section on package unsafe:Robert Griesemer1-3/+96
- contains a (proposed) constant Maxalign - contains some text re" alignment guarantees R=ken,r DELTA=97 (94 added, 1 deleted, 2 changed) OCL=24791 CL=24871
2009-02-08a few small cleanupsRob Pike1-1/+1
R=rsc DELTA=21 (2 added, 2 deleted, 17 changed) OCL=24638 CL=24654
2009-02-06- removed todo and restriction from spec (closures)Robert Griesemer1-15/+17
- fixed typos, added a reminder for a todo R=r DELTA=23 (6 added, 4 deleted, 13 changed) OCL=24611 CL=24615
2009-02-05making go-spec conform with 6g:Robert Griesemer1-4/+3
- equality of struct types requires equality of field names DELTA=4 (0 added, 1 deleted, 3 changed) OCL=24478 CL=24487
2009-02-04a few tweaks triggered by tgs's commentsRob Pike1-20/+44
DELTA=46 (25 added, 1 deleted, 20 changed) OCL=24342 CL=24354
2009-01-30needless semicolonsRob Pike2-2/+2
R=rsc DELTA=2 (0 added, 0 deleted, 2 changed) OCL=23967 CL=23970
2009-01-30Test balloon: Changed the spec to see the implications of changing theRobert Griesemer1-68/+85
syntax of function types and making them "reference types" like slice, map, and chan. First step in Russ' proposal. DELTA=111 (32 added, 15 deleted, 64 changed) OCL=23669 CL=23964
2009-01-30update go code tree to new func rules.Russ Cox2-8/+8
R=r DELTA=367 (111 added, 59 deleted, 197 changed) OCL=23957 CL=23960
2009-01-30rename variable at rsc's requestRob Pike2-4/+4
R=rsc DELTA=4 (0 added, 0 deleted, 4 changed) OCL=23896 CL=23928