summaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2009-01-27- added missing sections on comparisons for some typesRobert Griesemer1-40/+60
- clarified legal map key types (must support comparison) - updated open issues/todo list R=r DELTA=81 (48 added, 19 deleted, 14 changed) OCL=23580 CL=23621
2009-01-27 defer statementRobert Griesemer1-4/+30
R=r DELTA=30 (26 added, 0 deleted, 4 changed) OCL=23533 CL=23569
2009-01-26- clarified slice index bounds rulesRobert Griesemer1-32/+58
- clarified comparisons of interfaces, slices, maps, channels - removed respective TODO's R=r DELTA=76 (42 added, 16 deleted, 18 changed) OCL=23132 CL=23479
2009-01-22cosmetic change only:Robert Griesemer1-5/+5
- slightly simplified a couple of productions (CommClause, SwitchClause) by reordering R=r DELTA=5 (0 added, 0 deleted, 5 changed) OCL=23304 CL=23323
2009-01-20update tutorial for new export schemeRob Pike4-78/+87
R=ken,rsc DELTA=101 (9 added, 0 deleted, 92 changed) OCL=23174 CL=23188
2009-01-20delete exportRuss Cox2-15/+15
TBR=r OCL=23121 CL=23127
2009-01-16- added TODORobert Griesemer1-0/+3
R=r DELTA=3 (3 added, 0 deleted, 0 changed) OCL=23003 CL=23003
2009-01-16- cleanup todo listRobert Griesemer1-42/+56
- fixed language for arrays slightly R=r DELTA=81 (39 added, 25 deleted, 17 changed) OCL=23000 CL=23000
2009-01-16casify, cleanup sysRuss Cox3-5/+5
R=r OCL=22978 CL=22984
2009-01-16- language for export via capitalized identifiersRobert Griesemer1-118/+62
- removed explicit "export" declarations and keyword - fixed a few glitches and adjusted examples (The details of what "export" mean should be clarified in the spec, this is just so we have a working doc for now.) R=r DELTA=131 (7 added, 63 deleted, 61 changed) OCL=22753 CL=22970
2009-01-16casify syscall and sequelaeRob Pike1-4/+4
R=rsc DELTA=337 (0 added, 1 deleted, 336 changed) OCL=22950 CL=22950
2009-01-15casify tutorial examplesRob Pike8-58/+58
will bring document in line in a later CL, which may include revisiting some of the names R=rsc DELTA=58 (0 added, 0 deleted, 58 changed) OCL=22906 CL=22908
2009-01-15printf->Printf etc.Rob Pike3-7/+7
the raw fmt routines will be another, smaller but subtler pass. R=rsc DELTA=157 (0 added, 0 deleted, 157 changed) OCL=22851 CL=22851
2009-01-14restore "os" identifier to keep consistent with text.Rob Pike1-1/+1
R=presotto OCL=22733 CL=22733
2009-01-09update tutorial to new language.Rob Pike16-215/+490
add a section on printing add a section on allocation R=rsc DELTA=500 (278 added, 15 deleted, 207 changed) OCL=22381 CL=22456
2009-01-09Use make instead of new to allocate a channel.Ian Lance Taylor1-2/+2
R=r DELTA=2 (0 added, 0 deleted, 2 changed) OCL=22452 CL=22455
2009-01-07Adjusted language for literals:Robert Griesemer1-20/+27
- now have struct, array, slice, and map literals DELTA=34 (13 added, 6 deleted, 15 changed) OCL=22180 CL=22204
2009-01-06make the tutorial programs run again.Rob Pike9-34/+36
(the text still needs fixing) add the tutorial programs to the test run. R=rsc DELTA=41 (6 added, 0 deleted, 35 changed) OCL=22174 CL=22174
2009-01-06- documenting old "new()"Robert Griesemer1-61/+99
- adding "init()" - fixing some bugs with slice documentation DELTA=118 (45 added, 7 deleted, 66 changed) OCL=22084 CL=22136
2009-01-05A first attempt to capture the type changes.Robert Griesemer1-259/+250
Instead of trying to make open arrays look like arrays (which they aren't, they just look like them), I decided to call them "slice types". As a result they have value semantics, and one can really talk about what they really are. Note: - There are lots of missing details - There are probably lots of mistakes Looking for some initial feedback. R=r DELTA=444 (180 added, 189 deleted, 75 changed) OCL=21769 CL=22020
2008-12-18- receiver ident may be optionalRobert Griesemer1-3/+5
R=r DELTA=5 (2 added, 0 deleted, 3 changed) OCL=21508 CL=21510
2008-12-17- ripped out excessively fancy way of describing grammarRobert Griesemer1-41/+26
in favor of explicit constructs - simpler, clearer, and shorter overall - no spec changes (in retrospect it was just a (my) mistake to put it in in the first place) R=r DELTA=55 (13 added, 28 deleted, 14 changed) OCL=21434 CL=21462
2008-12-16- Add introduction section (1 page), essentially a condensed formRobert Griesemer1-232/+152
of an earlier intro. - Updated contents section. - Removed left-over text from earlier documents. No spec changes. R=r DELTA=379 (147 added, 227 deleted, 5 changed) OCL=21312 CL=21331
2008-12-16language for range clauseRobert Griesemer1-53/+84
(I have deliberately left away the forms w/ := or = and the forms with :) R=r DELTA=106 (44 added, 13 deleted, 49 changed) OCL=21192 CL=21283
2008-12-16- fixed minor bug in example (found by ken)Robert Griesemer1-2/+2
R=r OCL=21272 CL=21272
2008-12-12closing a TODO:Robert Griesemer1-18/+45
- define integer overflow as wrap-around - be more specific about machine representation DELTA=54 (34 added, 7 deleted, 13 changed) OCL=20870 CL=21070
2008-12-04Revised proposal for const/var cleanup, withRobert Griesemer1-79/+110
Ken's suggestion for the "iota" extension to tuples. DELTA=171 (88 added, 57 deleted, 26 changed) OCL=20460 CL=20544
2008-11-17- allow for multiple method names per function type in an interface decl.Robert Griesemer1-41/+57
- added some initial language with respect to exports R=r DELTA=95 (47 added, 31 deleted, 17 changed) OCL=19407 CL=19426
2008-11-17Package-export proposal:Robert Griesemer1-3/+5
- syntax change - missing: corresponding language DELTA=5 (2 added, 0 deleted, 3 changed) OCL=19221 CL=19352
2008-11-07- language to define type equality rigorouslyRobert Griesemer1-75/+201
- language for type guards - fixed language for break statements Also: Removed uses of "we" and replaced by impersonal language. Minor cosmetic changes. DELTA=237 (160 added, 34 deleted, 43 changed) OCL=18620 CL=18800
2008-11-04- added (incomplete) section on parameter passingRobert Griesemer1-1/+70
- decribe passing of "..." parameters for a start R=r DELTA=70 (69 added, 0 deleted, 1 changed) OCL=18503 CL=18503
2008-11-03- keeping track of to-do itemsRobert Griesemer1-5/+12
R=r DELTA=15 (10 added, 3 deleted, 2 changed) OCL=18334 CL=18336
2008-10-30- language for struct field tagsRobert Griesemer1-2/+17
DELTA=17 (15 added, 0 deleted, 2 changed) OCL=18177 CL=18184
2008-10-30- clarified section on numeric types: platform-dependent typesRobert Griesemer1-42/+45
are different from platform-independent types (not just aliases), except for byte, uint8 - added missing documentation of new(a, len, cap) - updated todo/issues lists DELTA=70 (24 added, 21 deleted, 25 changed) OCL=17920 CL=18174
2008-10-24Preparation for varargs: Proposal for syntax.Robert Griesemer1-4/+11
DELTA=11 (7 added, 0 deleted, 4 changed) OCL=17772 CL=17804
2008-10-23- clarified that composites are values created every time theyRobert Griesemer1-2/+4
are evaluated, removed corresponding TODO. R=r DELTA=5 (3 added, 1 deleted, 1 changed) OCL=17746 CL=17751
2008-10-23First cut at incorporating anonymous fields of pointer types into theRobert Griesemer1-27/+81
spec. I have deliberately removed the wording about receivers where it was before because I think it needs to be more precise. There is a TODO. DELTA=90 (54 added, 0 deleted, 36 changed) OCL=17597 CL=17716
2008-10-20- be even more explicit about ideal number conversion in expressionsRobert Griesemer1-8/+12
- added a note with respect the difference of semantics of *p++ in Go vs C R=r DELTA=14 (6 added, 2 deleted, 6 changed) OCL=17455 CL=17457
2008-10-16clarification of conversion rules for ideal numbersRobert Griesemer1-8/+18
R=r DELTA=21 (11 added, 1 deleted, 9 changed) OCL=17316 CL=17316
2008-10-10- added language re: interface compparison using ==, !=Robert Griesemer1-5/+6
(seems not controversial) R=r DELTA=8 (3 added, 2 deleted, 3 changed) OCL=16940 CL=16940
2008-10-10- Fixed bug in spec: PrimaryExpr is too restrictive in most placesRobert Griesemer1-28/+57
(for instance *p was not allowed on the left side of "="). Changed to Expression everywhere (this is too liberal, UnaryExpr is probably good enough, but it seems funny, and we need to check semantically anyway). This matches 6g yacc. - Write expression syntac recursively to express evaluation order and precedence syntactically. - Organized open issues list, folded in stuff from todo.txt which is now obsolete. R=r DELTA=108 (41 added, 52 deleted, 15 changed) OCL=16903 CL=16910
2008-10-09- added missing case for opt. semicolons (labels)Robert Griesemer1-5/+15
- more precise wording by having an explicit list of cases - simplified statement list R=r DELTA=16 (10 added, 0 deleted, 6 changed) OCL=16871 CL=16875
2008-10-09More spec progress:Robert Griesemer1-34/+98
- language for selectors and array/map indices - formal description of syntax notation used - factor out common productions to better show symmetries in grammar R=r DELTA=113 (77 added, 13 deleted, 23 changed) OCL=16853 CL=16865
2008-10-08- make optional semicolons explicit in grammar in all placesRobert Griesemer1-51/+53
except in statement list, where it is expressed in words - allow for empty import, const, type, and var decl lists inside ()'s - fixed grammar for inc/dec statements - added empty statement as it appears to be accepted by 6g R=r DELTA=75 (23 added, 21 deleted, 31 changed) OCL=16785 CL=16785
2008-10-07- precise scope rulesRobert Griesemer1-109/+189
- forward decls for interface and struct types - complete & incomplete types - optional semicolons R=r DELTA=216 (95 added, 15 deleted, 106 changed) OCL=16465 CL=16687
2008-10-03- precise scope rulesRobert Griesemer1-35/+64
- clarified naming of invisible fields - fixed syntax of expression statements R=r DELTA=70 (33 added, 4 deleted, 33 changed) OCL=16424 CL=16439
2008-10-03Revised wording about sends.Rob Pike1-15/+18
Evaluation is done before communication starts. R=gri DELTA=19 (4 added, 1 deleted, 14 changed) OCL=16357 CL=16416
2008-10-02add a little text clarifying the behavior of 'select'Rob Pike1-10/+16
R=gri DELTA=18 (8 added, 2 deleted, 8 changed) OCL=16356 CL=16356
2008-10-01Clarifications re: anonymous fields in structs:Robert Griesemer1-7/+10
- typename cannot refer to interface types - clarified syntax - added TODO re: type name issue with qualified identifiers Changed/fixed order of operators/keywords. R=r DELTA=10 (3 added, 0 deleted, 7 changed) OCL=16337 CL=16339
2008-09-30- exceptional conditions during expression evaluation are undefinedRobert Griesemer1-13/+32
- "nil" for interfaces, comparison against "nil" R=r DELTA=38 (24 added, 5 deleted, 9 changed) OCL=16207 CL=16211