summaryrefslogtreecommitdiff
path: root/doc/go_spec.html
AgeCommit message (Collapse)AuthorFilesLines
2009-05-08- document string([]int{...}) conversionRobert Griesemer1-17/+20
- cleanup of open issues section R=r DELTA=31 (12 added, 9 deleted, 10 changed) OCL=28450 CL=28513
2009-05-01clarifying ambiguity of evaluation orderRobert Griesemer1-12/+9
R=r DELTA=16 (0 added, 3 deleted, 13 changed) OCL=28133 CL=28178
2009-04-29typo in specRobert Griesemer1-1/+1
R=tgs DELTA=1 (0 added, 0 deleted, 1 changed) OCL=28032 CL=28032
2009-04-23fixed typo in EBNF of ENBFRobert Griesemer1-1/+1
R=iant DELTA=1 (0 added, 0 deleted, 1 changed) OCL=27801 CL=27806
2009-04-20- book-keeping in the TODO section:Robert Griesemer1-115/+14
- removed closed, resolved, or off-the-table items - consolidated remaining items - no changes to the spec R=r DELTA=116 (1 added, 102 deleted, 13 changed) OCL=27596 CL=27640
2009-04-19spec change for redeclarationRob Pike1-0/+14
R=iant,gri DELTA=14 (14 added, 0 deleted, 0 changed) OCL=27615 CL=27618
2009-04-16spec edits for array slice changeRuss Cox1-7/+5
R=r DELTA=6 (0 added, 2 deleted, 4 changed) OCL=27532 CL=27582
2009-04-15fix one word for consistency.Rob Pike1-1/+1
R=gri OCL=27543 CL=27543
2009-04-15tweak grammar and associated prose to permit things like x.y in range clauses.Rob Pike1-2/+5
R=rsc DELTA=5 (3 added, 0 deleted, 2 changed) OCL=27536 CL=27540
2009-04-15spec for range on stringsRob Pike1-6/+17
R=rsc,iant DELTA=17 (11 added, 0 deleted, 6 changed) OCL=27529 CL=27535
2009-04-14add a section about order of evaluationRob Pike1-3/+30
DELTA=32 (29 added, 2 deleted, 1 changed) OCL=27197 CL=27469
2009-04-02an attempt at simpler yet more correct semicolon rules.Rob Pike1-4/+1
(i'd be happy to drop the paren one as well, reducing it to one case) DELTA=4 (0 added, 3 deleted, 1 changed) OCL=27058 CL=27060
2009-03-30fix last 3 references to 'type guards'Rob Pike1-3/+3
R=gri DELTA=3 (0 added, 0 deleted, 3 changed) OCL=26908 CL=26908
2009-03-27- minor tweak to composite literal production:Robert Griesemer1-5/+7
renamed PairExpr -> KeyValueExpr and PairExprList -> KeyValueList (to match corresponding nodes in AST per rsc' suggestion) - added a couple of TODOs R=r,rsc DELTA=10 (2 added, 0 deleted, 8 changed) OCL=26837 CL=26840
2009-03-25use FunctionType in FunctionLit productionRobert Griesemer1-1/+1
R=r DELTA=1 (0 added, 0 deleted, 1 changed) OCL=26738 CL=26753
2009-03-24add some words (written by rsc) about the state of typed constants.Rob Pike1-0/+31
DELTA=31 (31 added, 0 deleted, 0 changed) OCL=26709 CL=26716
2009-03-24change notation: s/Stat/Stmt/ in grammatical productionsRob Pike1-25/+25
DELTA=26 (0 added, 0 deleted, 26 changed) OCL=26703 CL=26705
2009-03-24delete incorrect, dreg example of select on typeRob Pike1-19/+36
R=gri,rsc DELTA=48 (28 added, 11 deleted, 9 changed) OCL=26630 CL=26701
2009-03-20add simple text about & and *.Rob Pike1-8/+42
clean up html: PLEASE RUN TIDY WHEN YOU EDIT THIS DOCUMENT deferring method value update until we decide what happens. R=gri DELTA=50 (38 added, 4 deleted, 8 changed) OCL=26609 CL=26612
2009-03-20fix wording of &T{x}Rob Pike1-4/+2
R=rsc DELTA=5 (0 added, 2 deleted, 3 changed) OCL=26607 CL=26607
2009-03-19minor adjustments to switches textRobert Griesemer1-11/+15
R=r DELTA=16 (5 added, 1 deleted, 10 changed) OCL=26530 CL=26543
2009-03-18&Foo{x,y} wasn't in the spec. This gets it in, dependent on a proper ↵Rob Pike1-1/+11
section regarding address operators, to follow. R=rsc DELTA=11 (10 added, 0 deleted, 1 changed) OCL=26529 CL=26532
2009-03-18drop the ,ok switch; keep the straight type switch.Rob Pike1-62/+46
R=rsc,gri DELTA=97 (26 added, 42 deleted, 29 changed) OCL=26436 CL=26527
2009-03-17type switchesRob Pike1-14/+103
R=rsc,gri DELTA=107 (90 added, 1 deleted, 16 changed) OCL=26420 CL=26427
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-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-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