summaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2009-08-03clean up a TODORob Pike1-17/+41
R=rsc DELTA=45 (28 added, 4 deleted, 13 changed) OCL=32673 CL=32675
2009-07-31language re: conversion of left operand in shift operationsRobert Griesemer1-0/+5
DELTA=5 (5 added, 0 deleted, 0 changed) OCL=32484 CL=32617
2009-07-31more info about commentsRob Pike1-8/+100
R=rsc DELTA=100 (82 added, 4 deleted, 14 changed) OCL=32609 CL=32615
2009-07-31cleanup pass before big editsRob Pike1-46/+48
R=rsc DELTA=73 (27 added, 25 deleted, 21 changed) OCL=32587 CL=32587
2009-07-16- renamed SimpleVarDecl -> ShortVarDecl, in sync with terminology used in proseRobert Griesemer1-2/+4
- added a few TODOs R=r DELTA=4 (2 added, 0 deleted, 2 changed) OCL=31751 CL=31756
2009-07-10capital_letter was never usedRobert Griesemer1-2/+1
R=rsc DELTA=2 (0 added, 1 deleted, 1 changed) OCL=31472 CL=31477
2009-07-10- mark actual EBNF with pre-formatted class "ebnf" instead of "grammar"Robert Griesemer1-68/+67
- make real productions for Unicode char classes so that they can be parsed - use `` for tokens that contain "'s or \'s so that they can be parsed - added a missing '.' This version of the spec passes through ebnflint (forthcoming) without errors. R=r,rsc DELTA=74 (3 added, 1 deleted, 70 changed) OCL=31464 CL=31466
2009-07-09various spec tuningsRuss Cox1-6/+5
R=gri DELTA=6 (0 added, 1 deleted, 5 changed) OCL=31415 CL=31419
2009-07-06a few edits and simplifications.Rob Pike1-180/+111
R=rsc DELTA=248 (40 added, 108 deleted, 100 changed) OCL=31211 CL=31211
2009-07-01Fix a doc typo.David Symonds1-1/+1
R=rsc APPROVED=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=30967 CL=30990
2009-06-25Change os.Error convention:Russ Cox1-4/+16
echo back context of call in error if likely to be useful. For example, if os.Open("/etc/passwd", os.O_RDONLY) fails with syscall.EPERM, it returns as the os.Error &PathError{ Op: "open", Path: "/etc/passwd" Error: os.EPERM } which formats as open /etc/passwd: permission denied Not converted: datafmt go/... google/... regexp tabwriter template R=r DELTA=1153 (561 added, 156 deleted, 436 changed) OCL=30738 CL=30781
2009-06-25add ./ to imports where necessaryRuss Cox3-3/+3
R=r DELTA=51 (4 added, 4 deleted, 43 changed) OCL=30759 CL=30778
2009-06-25Allow indexing of slice types, but not pointer to slice type.Russ Cox1-3/+17
Allow indexing of string type, but not pointer to string type. Do not allow indexing of pointer to map type. R=r DELTA=18 (14 added, 0 deleted, 4 changed) OCL=30586 CL=30754
2009-06-25Effective Go; draftRuss Cox1-0/+740
TBR=r OCL=30741 CL=30741
2009-06-19fix for conversion ruleRobert Griesemer1-13/+16
R=rsc DELTA=25 (10 added, 7 deleted, 8 changed) OCL=30516 CL=30531
2009-06-18raw strings may span multiple linesRobert Griesemer1-5/+7
R=r DELTA=7 (2 added, 0 deleted, 5 changed) OCL=30492 CL=30494
2009-06-18- removed duplicate definition of StringLitRobert Griesemer1-34/+22
- fixed nonsense sentence in numeric basic type section - hlinted R=r,rsc DELTA=50 (10 added, 22 deleted, 18 changed) OCL=30484 CL=30490
2009-06-17fix for incorrect type switch clause:Robert Griesemer1-3/+7
- nil is not a keyword - type -> Type R=rsc DELTA=10 (4 added, 0 deleted, 6 changed) OCL=30433 CL=30435
2009-06-05restructure makefiles, scripts to factor out O= logic.Russ Cox1-8/+15
remove a few hardcoded paths elsewhere too. R=r,gri DELTA=123 (44 added, 15 deleted, 64 changed) OCL=29914 CL=29945
2009-06-04string([]int) is now implementedRob Pike1-2/+0
R=rsc DELTA=18 (10 added, 2 deleted, 6 changed) OCL=29909 CL=29909
2009-06-01update Go tree to use new syscall package.Russ Cox2-8/+8
R=r DELTA=713 (109 added, 386 deleted, 218 changed) OCL=29707 CL=29722
2009-05-29unary ^ update.Russ Cox1-6/+6
[]int -> string is already in the document. DELTA=7 (1 added, 1 deleted, 5 changed) OCL=29622 CL=29631
2009-05-29Automated g4 rollback of changelist 29478.Rob Pike1-5/+5
*** Reason for rollback *** these semicolons are necessary only because of a bug in 6g *** Original change description *** add missing semicolons in example TBR=gri OCL=29624 CL=29624
2009-05-27add missing semicolons in exampleRob Pike1-5/+5
R=rsc DELTA=5 (0 added, 0 deleted, 5 changed) OCL=29475 CL=29478
2009-05-22key:value notation for compositesRobert Griesemer1-27/+87
R=rsc DELTA=106 (69 added, 9 deleted, 28 changed) OCL=29203 CL=29254
2009-05-20new, stricter interface rule:Russ Cox1-2/+2
in x.(T) x cannot be a nil (uninitialized) interface variable. remove TODO per discussion. DELTA=3 (1 added, 1 deleted, 1 changed) OCL=29123 CL=29134
2009-05-20removed TODORobert Griesemer1-2/+0
(new rules on type compatibility cover this already) DELTA=2 (0 added, 2 deleted, 0 changed) OCL=29094 CL=29096
2009-05-20new method set rulesRobert Griesemer1-34/+55
DELTA=63 (27 added, 6 deleted, 30 changed) OCL=29065 CL=29091
2009-05-13New type compatibility rules:Robert Griesemer1-75/+79
- changed type equality to type compatibility, updated rules - string literals have ideal string type - conversion w/ relaxed type compatibilty DELTA=123 (26 added, 22 deleted, 75 changed) OCL=28763 CL=28780
2009-05-12cleanup of unsafe documentationRobert Griesemer1-14/+11
R=r DELTA=19 (4 added, 7 deleted, 8 changed) OCL=28723 CL=28732
2009-05-08move things out of sys into os and runtimeRuss Cox4-6/+8
R=r OCL=28569 CL=28573
2009-05-08update tutorial text to refer to io.Reader etc.Rob Pike1-15/+10
R=rsc DELTA=15 (0 added, 5 deleted, 10 changed) OCL=28526 CL=28532
2009-05-08update spec to io.WriterRob Pike1-1/+1
R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=28528 CL=28531
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-17Step 1 of the Big Error Shift: make os.Error an interface and replace ↵Rob Pike2-6/+6
*os.Errors with os.Errors. lib/template updated to use new setup; its clients also updated. Step 2 will make os's error support internally much cleaner. R=rsc OCL=27586 CL=27586
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-15update tutorial for new slicing rules.Rob Pike1-7/+13
R=rsc DELTA=13 (6 added, 0 deleted, 7 changed) OCL=27539 CL=27541
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-15code changes for array conversion.Russ Cox3-3/+3
as a reminder, the old conversion was that you could write var arr [10]byte; var slice []byte; slice = arr; but now you have to write slice = &arr; the change eliminates an implicit &, so that the only implicit &s left are in the . operator and in string(arr). also, removed utf8.EncodeRuneToString in favor of string(rune). R=r DELTA=83 (1 added, 23 deleted, 59 changed) OCL=27531 CL=27534
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