- 05 Mar, 2009 7 commits
-
-
Rob Pike authored
add commentary. R=rsc DELTA=231 (41 added, 24 deleted, 166 changed) OCL=25724 CL=25726
-
Rob Pike authored
say a little more about package main. R=rsc DELTA=7 (4 added, 0 deleted, 3 changed) OCL=25725 CL=25725
-
Russ Cox authored
R=ken OCL=25720 CL=25720
-
Russ Cox authored
TBR=gri OCL=25719 CL=25719
-
Russ Cox authored
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
-
Robert Griesemer authored
R=r OCL=25714 CL=25714
-
Robert Griesemer authored
- move scanner to into lib/lang - added test - adjusted various make and build files R=r DELTA=1731 (973 added, 753 deleted, 5 changed) OCL=25668 CL=25713
-
- 04 Mar, 2009 7 commits
-
-
Russ Cox authored
R=ken OCL=25705 CL=25705
-
Russ Cox authored
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
-
Robert Griesemer authored
- separated out token definition from scanner - cleaned up token and scanner implementation - added comments to exported interfaces R=r OCL=25665 CL=25665
-
Rob Pike authored
R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=25652 CL=25656
-
Rob Pike authored
R=rsc DELTA=5 (0 added, 0 deleted, 5 changed) OCL=25651 CL=25655
-
Rob Pike authored
R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=25648 CL=25654
-
Robert Griesemer authored
- require ()'s around composite literals at the if/for/switch control clause level - fixed a nasty bug: passing a value instead of a pointer to a value to an interface variable - and not noticing that the value is copied R=r OCL=25649 CL=25649
-
- 03 Mar, 2009 11 commits
-
-
Russ Cox authored
(i.e., the status quo with braces in composite literals). DELTA=20 (16 added, 0 deleted, 4 changed) OCL=25640 CL=25646
-
Russ Cox authored
R=ken DELTA=131 (60 added, 41 deleted, 30 changed) OCL=25617 CL=25633
-
Russ Cox authored
plus significant hand editing. Back to T{x} for composite literals. R=r OCL=25612 CL=25632
-
Russ Cox authored
allow conversions between equal types. R=r DELTA=15 (4 added, 4 deleted, 7 changed) OCL=25618 CL=25630
-
Robert Griesemer authored
- removed unneeded code that accumulated over time - change src from string to []byte (perhaps should be io.Read but that has some other disadvantages) - simplified interface R=r OCL=25615 CL=25615
-
Rob Pike authored
R=rsc OCL=25614 CL=25614
-
Rob Pike authored
R=rsc DELTA=41 (9 added, 4 deleted, 28 changed) OCL=25611 CL=25611
-
Robert Griesemer authored
- more test cases R=rsc DELTA=97 (52 added, 4 deleted, 41 changed) OCL=25585 CL=25607
-
Rob Pike authored
change () to {} in all composite literals DELTA=20 (0 added, 7 deleted, 13 changed) OCL=25604 CL=25606
-
Rob Pike authored
DELTA=170 (73 added, 21 deleted, 76 changed) OCL=25556 CL=25594
-
Russ Cox authored
R=r DELTA=9 (0 added, 0 deleted, 9 changed) OCL=25593 CL=25593
-
- 28 Feb, 2009 2 commits
-
-
Rob Pike authored
only the package section is untouched. R=gri DELTA=542 (186 added, 70 deleted, 286 changed) OCL=25485 CL=25532
-
Robert Griesemer authored
R=r OCL=25526 CL=25528
-
- 27 Feb, 2009 2 commits
-
-
Robert Griesemer authored
- converted more of AST and parser to use interfaces and explicit structs for individual Go constructs (can be replaced now with interface calls such that the parser becomes AST structure independent, as suggested by rsc) - added more tests (find all .go files under GOROOT) - (temporarily) lost html links for identifiers when generating html output - TODO: lots of cleanups R=r OCL=25518 CL=25518
-
Rob Pike authored
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
-
- 26 Feb, 2009 3 commits
-
-
Robert Griesemer authored
R=r DELTA=1 (0 added, 0 deleted, 1 changed) OCL=25449 CL=25449
-
Rob Pike authored
R=ken OCL=25448 CL=25448
-
Rob Pike authored
Do a little work polishing the "zero value" discussion. R=gri DELTA=486 (129 added, 120 deleted, 237 changed) OCL=25392 CL=25444
-
- 25 Feb, 2009 1 commit
-
-
Rob Pike authored
R=gri DELTA=29 (0 added, 12 deleted, 17 changed) OCL=25388 CL=25391
-
- 24 Feb, 2009 6 commits
-
-
Rob Pike authored
OCL=25292 CL=25383
-
Rob Pike authored
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
-
Ken Thompson authored
R=r OCL=25356 CL=25356
-
Rob Pike authored
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
-
Rob Pike authored
Change <tt> to <code> R=gri DELTA=664 (222 added, 189 deleted, 253 changed) OCL=25294 CL=25352
-
Robert Griesemer authored
R=r OCL=25343 CL=25343
-
- 22 Feb, 2009 1 commit
-
-
Rob Pike authored
R=rsc OCL=25293 CL=25293
-