summaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2008-09-16replace 235 with sieve - less problematicRob Pike6-79/+256
add programs, not yet described, to demonstrate servers. R=gri DELTA=279 (177 added, 16 deleted, 86 changed) OCL=15380 CL=15389
2008-09-15develop interfaces through catsRob Pike9-1/+676
sort 2,3,5 R=gri DELTA=648 (647 added, 0 deleted, 1 changed) OCL=15315 CL=15352
2008-09-12next section: i/o package that has structs, methodsRob Pike3-3/+145
R=gri DELTA=137 (134 added, 0 deleted, 3 changed) OCL=15251 CL=15259
2008-09-12- hopefully improved language on label scopesRobert Griesemer1-7/+19
R=r DELTA=18 (12 added, 0 deleted, 6 changed) OCL=15200 CL=15240
2008-09-11- simplified the ideal number terminology for better readabilityRobert Griesemer1-22/+12
R=r DELTA=24 (0 added, 10 deleted, 14 changed) OCL=15188 CL=15188
2008-09-11- rewrote section on numeric literals (grammar easier to read,Robert Griesemer1-78/+143
separate between ints and floats, added language regarding the type of numeric literals) - added language with respect to the scope of labels - introduced ideal types for the purpose of the spec - added language to expressions, operands - added some more formal language about ideal type conversion (probably not 100% correct yet) R=r DELTA=145 (69 added, 4 deleted, 72 changed) OCL=15165 CL=15186
2008-09-11add sections about types and constantsRob Pike3-9/+141
R=gri DELTA=133 (124 added, 0 deleted, 9 changed) OCL=15122 CL=15143
2008-09-10growing the tutorialRob Pike4-5/+171
R=gri OCL=15115 CL=15115
2008-09-10Eliminate duplication of MethodDecl nonterminal by renamingIan Lance Taylor1-3/+3
the one associated with interface types. R=gri DELTA=3 (0 added, 0 deleted, 3 changed) OCL=15092 CL=15096
2008-09-10- incorporated bug fixes, todo's as suggested by rscRobert Griesemer1-22/+31
R=r DELTA=32 (11 added, 2 deleted, 19 changed) OCL=15087 CL=15093
2008-09-10- stub for tutorialRob Pike2-0/+84
- tools to make it easy to embed programs R=gri DELTA=103 (97 added, 2 deleted, 4 changed) OCL=15085 CL=15085
2008-09-09- added convenience wrappers for sortRobert Griesemer1-1/+1
(work now with Ken's latest compiler fix) - exoanded test cases accordingly - fixed a type in the spec (thx r) R=r DELTA=65 (62 added, 2 deleted, 1 changed) OCL=15050 CL=15050
2008-09-09- moved spec todo's into spec (as html comment)Robert Griesemer1-1/+36
- cleaned up todo.txt a bit R=r OCL=15009 CL=15009
2008-09-09- added missing language to almost all typesRobert Griesemer1-52/+98
- fixed several examples to use new function type syntax - added list of open spec issues to todo.txt R=r DELTA=143 (88 added, 8 deleted, 47 changed) OCL=14974 CL=15007
2008-09-08Proposal for new function type syntax as suggested by ken:Robert Griesemer1-33/+35
- removed "func" from function type - make it work by changing composite literal syntax to use {} instead of () FunctionType is now more in line with the rest of the declarations, as the keyword "func" is now really part of the declaration and not part of the type. R=r,ken DELTA=49 (14 added, 12 deleted, 23 changed) OCL=14864 CL=14955
2008-09-04- \' not allowed in string literalsRobert Griesemer1-8/+10
- \" not allowed in char literals - replaces uses of printf with print R=r,ken DELTA=10 (2 added, 0 deleted, 8 changed) OCL=14841 CL=14841
2008-09-04- added missing language to operator section in specRobert Griesemer1-25/+87
R=r,ken DELTA=100 (71 added, 9 deleted, 20 changed) OCL=14827 CL=14832
2008-09-03- clarification of type of array literals (always fixed array)Robert Griesemer1-5/+8
- clarification of const decl syntax R=r DELTA=9 (4 added, 0 deleted, 5 changed) OCL=14771 CL=14771
2008-09-03- fixed typoRobert Griesemer1-1/+1
R=r OCL=14763 CL=14763
2008-09-03- minor corrections to go_spec.txtRobert Griesemer2-2350/+44
- verified that all text from go_lang.txt is either present in its old form, or that we have corresponding updated sections for it - delete go_lang.txt R=r DELTA=2389 (38 added, 2344 deleted, 7 changed) OCL=14760 CL=14762
2008-09-03Composite literal syntax.Robert Griesemer1-10/+22
R=r DELTA=25 (14 added, 2 deleted, 9 changed) OCL=14750 CL=14753
2008-08-29- removed 'iota' from the keyword listRobert Griesemer1-14/+11
- added missing operators R=r OCL=14672 CL=14672
2008-08-28- Preliminary draft of what might become a real specRobert Griesemer1-0/+2577
- All text taken from go_lang.txt (which is unchanged), but added a contents section, and sorted the contents section in a hopefully sensible manner to give it more structure - Reordered text to match order of contents section, did not adjust the language (needs to be done), but removed sections that were dulicates or invalid High-level organization of the doc: - Introduction - Notation - Source code representation - Vocabulary - Declarations and scope rules - Types - Expressions - Statements - Function declarations - Packages - Program initialization and execution I hope this new structure will make it much clearer which pieces are missing and where they need to go. go_lang.txt has grown somewhat unstructured and new text was added as we saw fit. R=r DELTA=2577 (2577 added, 0 deleted, 0 changed) OCL=14639 CL=14639
2008-08-21clarify pointer forward decls per ian's suggestionRobert Griesemer1-10/+6
R=r DELTA=13 (3 added, 7 deleted, 3 changed) OCL=14406 CL=14406
2008-08-21- explained function and method pointersRobert Griesemer1-71/+121
- removed need for method types and literals (gri & r) R=r DELTA=178 (101 added, 51 deleted, 26 changed) OCL=14402 CL=14405
2008-08-21added scope rules, removed TODORobert Griesemer1-6/+26
R=r DELTA=26 (19 added, 0 deleted, 7 changed) OCL=14358 CL=14386
2008-08-20updated section on reserved wordsRobert Griesemer1-16/+41
R=r DELTA=44 (27 added, 2 deleted, 15 changed) OCL=14353 CL=14355
2008-08-12fix one syntax error in declaration.Rob Pike1-6/+1
reformat the bullet list about strings R=gri OCL=14128 CL=14128
2008-08-12use tabs for indentation consistentlyRob Pike1-631/+639
R=gri OCL=14125 CL=14125
2008-08-12New words regarding constantsRob Pike1-21/+60
R=gri,ken DELTA=64 (42 added, 3 deleted, 19 changed) OCL=14116 CL=14124
2008-08-11- removed fall-through for case: case: in switch statementsRobert Griesemer1-10/+9
- added ()'s to all print calls in examples - augmented rule about use of identifiers R=r DELTA=11 (0 added, 1 deleted, 10 changed) OCL=14097 CL=14097
2008-08-07revert specification of pointer types to current implementationRobert Griesemer1-20/+22
(do not allow explicit type forward declarations) and more clearly specify resolution R=r DELTA=30 (9 added, 7 deleted, 14 changed) OCL=13967 CL=13987
2008-08-04- switched most of existing Go code to new export syntaxRobert Griesemer1-10/+33
- adjusted lang doc R=r DELTA=192 (26 added, 65 deleted, 101 changed) OCL=13844 CL=13848
2008-07-23slices and string/array concatenationRob Pike1-6/+44
OCL=13382 CL=13382
2008-07-22document initializationRob Pike1-3/+33
OCL=13369 CL=13369
2008-07-22fix some bad spacesRob Pike1-4/+4
OCL=13363 CL=13363
2008-07-22Expand section on compound literals.Rob Pike1-5/+27
R=ken,gri DELTA=31 (22 added, 0 deleted, 9 changed) OCL=13351 CL=13362
2008-07-21change dateRob Pike1-1/+1
OCL=13331 CL=13331
2008-07-21map deleteRob Pike1-0/+6
SVN=128258
2008-07-17new channel syntaxRob Pike1-46/+115
select cleans up too SVN=127816
2008-07-15improve the examples in the section on iotaRob Pike1-0/+16
SVN=127347
2008-07-08- added missing keyword 'iota'Robert Griesemer1-3/+3
SVN=126397
2008-07-08add a disclaimerRob Pike1-1/+3
SVN=126379
2008-07-07- first cut a Go parser in GoRobert Griesemer1-5/+6
SVN=126242
2008-07-03A small but powerful change in constant declarations. Proposal by kenRobert Griesemer1-2/+20
after some discussion about enums. Implementation should be trivial. Wording in the doc should be improved, probably. SVN=125946
2008-07-01- more minor fixesRobert Griesemer1-1/+1
SVN=125574
2008-07-01- minor updateRobert Griesemer1-0/+1
SVN=125471
2008-07-01- updated docRobert Griesemer1-98/+164
SVN=125468
2008-06-16fix up grammar for optional elements in if and switch conditionsRob Pike1-5/+4
SVN=122915
2008-06-12- fixed minor issues in specRobert Griesemer1-3/+3
- fixed a couple of bugs in the spec (pointed out by iant) SVN=122479