summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-03-05document testing and incidentally gotestRob Pike1-0/+25
R=rsc DELTA=25 (25 added, 0 deleted, 0 changed) OCL=25798 CL=25802
2009-03-05Lots of cleanups in prep. for checking in parser and ast into lib:Robert Griesemer6-501/+453
- removed any symbol table stuff - some interface cleanup - removed lot's of dead wood - half the support for type switches (simple form) - name capitalization Several rounds to come. R=r OCL=25797 CL=25797
2009-03-05document stringsRob Pike1-5/+9
R=rsc DELTA=9 (4 added, 0 deleted, 5 changed) OCL=25793 CL=25795
2009-03-05bug085 bug129Russ Cox5-22/+47
R=ken OCL=25787 CL=25791
2009-03-05new switch implementationKen Thompson7-441/+394
in preparation of type switch. no functional change (yet). R=r OCL=25784 CL=25788
2009-03-05net: doc, doc-inspired cleanupRuss Cox15-271/+344
R=r DELTA=368 (87 added, 14 deleted, 267 changed) OCL=25773 CL=25786
2009-03-05strconv: docRuss Cox5-36/+81
R=r DELTA=110 (64 added, 19 deleted, 27 changed) OCL=25761 CL=25782
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-05misc docRuss Cox3-22/+50
R=r DELTA=50 (28 added, 0 deleted, 22 changed) OCL=25763 CL=25770
2009-03-05delete deprecated files.Rob Pike8-506/+12
deletion beats documentation for deprecation. R=rsc,gri DELTA=509 (2 added, 490 deleted, 17 changed) OCL=25737 CL=25768
2009-03-05math: docRuss Cox18-110/+170
R=r DELTA=173 (74 added, 14 deleted, 85 changed) OCL=25753 CL=25767
2009-03-05document vectorRob Pike1-6/+36
R=rsc DELTA=36 (30 added, 0 deleted, 6 changed) OCL=25740 CL=25766
2009-03-04log: documentRob Pike1-9/+25
R=rsc DELTA=26 (17 added, 1 deleted, 8 changed) OCL=25731 CL=25734
2009-03-04flag: documentRob Pike2-10/+46
also write to stderr not stdout R=rsc DELTA=48 (38 added, 2 deleted, 8 changed) OCL=25729 CL=25733
2009-03-04delete bogus vestigeRob Pike1-3/+0
R=rsc OCL=25730 CL=25730
2009-03-04typosRob Pike1-3/+2
R=gri DELTA=3 (0 added, 1 deleted, 2 changed) OCL=25728 CL=25728
2009-03-04sync: add documentationRuss Cox1-6/+62
R=r DELTA=63 (57 added, 1 deleted, 5 changed) OCL=25727 CL=25727
2009-03-04remove some incorrect capitalizations.Rob Pike2-176/+193
add commentary. R=rsc DELTA=231 (41 added, 24 deleted, 166 changed) OCL=25724 CL=25726
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-04reject invalid map key types at compile timeRuss Cox3-12/+24
R=ken OCL=25720 CL=25720
2009-03-04fix buildRuss Cox1-2/+2
TBR=gri OCL=25719 CL=25719
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-04- missing makefileRobert Griesemer1-0/+66
R=r OCL=25714 CL=25714
2009-03-04Created new directory lib/lang:Robert Griesemer7-352/+573
- 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
2009-03-04disallow ordinary-type.(T), as in spec.Russ Cox2-1/+5
R=ken OCL=25705 CL=25705
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-03Preparation for moving scanner into a lib:Robert Griesemer7-614/+691
- separated out token definition from scanner - cleaned up token and scanner implementation - added comments to exported interfaces R=r OCL=25665 CL=25665
2009-03-03rephrase redundancy.Rob Pike1-1/+1
R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=25652 CL=25656
2009-03-03enable pretty in run.bashRob Pike1-5/+5
R=rsc DELTA=5 (0 added, 0 deleted, 5 changed) OCL=25651 CL=25655
2009-03-03update missed test case to {}Rob Pike1-1/+1
R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=25648 CL=25654
2009-03-03- allow ()'s and {}'s for now when parsing calls/composite literalsRobert Griesemer6-27/+42
- 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
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-03back to T{x}, stricter handling of T(x) vs x.(T)Russ Cox4-68/+87
R=ken DELTA=131 (60 added, 41 deleted, 30 changed) OCL=25617 CL=25633
2009-03-03Automated g4 rollback of changelist 25024,Russ Cox100-1730/+1731
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-02scanner cleanup - getting it ready to as a libraryRobert Griesemer6-160/+88
- 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
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-02- itobRobert Griesemer2-44/+92
- more test cases R=rsc DELTA=97 (52 added, 4 deleted, 41 changed) OCL=25585 CL=25607
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-03-02fix names: s/fd/r/Russ Cox1-9/+9
R=r DELTA=9 (0 added, 0 deleted, 9 changed) OCL=25593 CL=25593
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-27fix a bug: do not print a ';' after a label if there wasn't oneRobert Griesemer1-1/+5
R=r OCL=25526 CL=25528
2009-02-27Steps towards a general scanner/parser library for Go:Robert Griesemer7-624/+847
- 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
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-25bug130 is fixedRob Pike2-4/+0
R=ken OCL=25448 CL=25448
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