]> Cypherpunks repositories - gostls13.git/log
gostls13.git
16 years agobug086
Ken Thompson [Wed, 11 Mar 2009 02:16:31 +0000 (19:16 -0700)]
bug086

R=r
OCL=26090
CL=26090

16 years agosnapshot of today
Robert Griesemer [Wed, 11 Mar 2009 01:20:08 +0000 (18:20 -0700)]
snapshot of today
(little progress with interface printing, but now shows a
list of exported function names)

R=r
OCL=26082
CL=26082

16 years ago- fixing (internal) capitalization
Robert Griesemer [Wed, 11 Mar 2009 01:09:13 +0000 (18:09 -0700)]
- fixing (internal) capitalization

R=rsc
DELTA=7  (0 added, 0 deleted, 7 changed)
OCL=26080
CL=26080

16 years ago- allow unicode digits in identifiers
Robert Griesemer [Wed, 11 Mar 2009 00:08:05 +0000 (17:08 -0700)]
- allow unicode digits in identifiers
- fixed a bug with character escapes (before: allowed arbitrary long sequences)

R=r
DELTA=63  (33 added, 19 deleted, 11 changed)
OCL=26010
CL=26070

16 years agobug with interaction of variables
Ken Thompson [Tue, 10 Mar 2009 23:49:34 +0000 (16:49 -0700)]
bug with interaction of variables
declared in cases and heap allocation

R=r
OCL=26064
CL=26064

16 years agoconstant conversion of int (non-ideal) constant doesn't work
Robert Griesemer [Tue, 10 Mar 2009 23:39:23 +0000 (16:39 -0700)]
constant conversion of int (non-ideal) constant doesn't work

R=rsc
DELTA=20  (20 added, 0 deleted, 0 changed)
OCL=26054
CL=26062

16 years ago- adjustments due to changed tabwriter interface
Robert Griesemer [Tue, 10 Mar 2009 23:31:19 +0000 (16:31 -0700)]
- adjustments due to changed tabwriter interface
- more comments in parser

R=r
OCL=26060
CL=26060

16 years agoadd unicode data for decimal digit, preparatory to allowing them in identifiers.
Rob Pike [Tue, 10 Mar 2009 23:30:27 +0000 (16:30 -0700)]
add unicode data for decimal digit, preparatory to allowing them in identifiers.

R=rsc
DELTA=431  (430 added, 0 deleted, 1 changed)
OCL=25975
CL=26059

16 years ago- incorporate suggestions from previous code review
Robert Griesemer [Tue, 10 Mar 2009 23:30:26 +0000 (16:30 -0700)]
- incorporate suggestions from previous code review

R=rsc
DELTA=64  (18 added, 3 deleted, 43 changed)
OCL=26046
CL=26058

16 years agotabwriter documentation
Robert Griesemer [Tue, 10 Mar 2009 21:55:04 +0000 (14:55 -0700)]
tabwriter documentation

R=rsc
DELTA=62  (31 added, 5 deleted, 26 changed)
OCL=26022
CL=26040

16 years agoconversions are mostly cleaned up; bring the spec in line.
Rob Pike [Tue, 10 Mar 2009 05:35:06 +0000 (22:35 -0700)]
conversions are mostly cleaned up; bring the spec in line.

R=gri
DELTA=31  (12 added, 18 deleted, 1 changed)
OCL=25974
CL=25976

16 years ago- more documentation adjustments
Robert Griesemer [Tue, 10 Mar 2009 01:53:11 +0000 (18:53 -0700)]
- more documentation adjustments

R=rsc
DELTA=6  (0 added, 1 deleted, 5 changed)
OCL=25970
CL=25973

16 years agodelete float80 from libraries
Rob Pike [Tue, 10 Mar 2009 01:00:41 +0000 (18:00 -0700)]
delete float80 from libraries

R=rsc
DELTA=40  (0 added, 38 deleted, 2 changed)
OCL=25969
CL=25969

16 years agodocument reflect.
Rob Pike [Tue, 10 Mar 2009 00:47:15 +0000 (17:47 -0700)]
document reflect.

R=rsc
DELTA=201  (90 added, 0 deleted, 111 changed)
OCL=25904
CL=25966

16 years agoFixing comment.
Robert Griesemer [Tue, 10 Mar 2009 00:30:38 +0000 (17:30 -0700)]
Fixing comment.

R=r
DELTA=2  (0 added, 0 deleted, 2 changed)
OCL=25956
CL=25960

16 years agoscanner.go documentation
Robert Griesemer [Tue, 10 Mar 2009 00:16:42 +0000 (17:16 -0700)]
scanner.go documentation

R=r
DELTA=22  (8 added, 3 deleted, 11 changed)
OCL=25947
CL=25955

16 years agotoken.go documentation
Robert Griesemer [Tue, 10 Mar 2009 00:13:15 +0000 (17:13 -0700)]
token.go documentation

R=r
DELTA=34  (24 added, 2 deleted, 8 changed)
OCL=25946
CL=25954

16 years ago- directory rename lang -> go
Robert Griesemer [Mon, 9 Mar 2009 19:41:53 +0000 (12:41 -0700)]
- directory rename lang -> go

R=rsc
DELTA=2070  (1035 added, 1035 deleted, 0 changed)
OCL=25939
CL=25939

16 years agobinary search for constant case statements.
Ken Thompson [Sun, 8 Mar 2009 01:33:42 +0000 (17:33 -0800)]
binary search for constant case statements.

R=r
OCL=25890
CL=25890

16 years agodocument bufio
Rob Pike [Sun, 8 Mar 2009 00:57:01 +0000 (16:57 -0800)]
document bufio

R=rsc
DELTA=61  (27 added, 2 deleted, 32 changed)
OCL=25877
CL=25889

16 years agodocument os
Rob Pike [Sun, 8 Mar 2009 00:56:44 +0000 (16:56 -0800)]
document os

R=rsc
DELTA=143  (96 added, 0 deleted, 47 changed)
OCL=25876
CL=25888

16 years agodocument hash
Rob Pike [Sun, 8 Mar 2009 00:56:21 +0000 (16:56 -0800)]
document hash

R=rsc
DELTA=50  (33 added, 4 deleted, 13 changed)
OCL=25878
CL=25887

16 years agodocument time
Rob Pike [Sun, 8 Mar 2009 00:56:05 +0000 (16:56 -0800)]
document time

R=rsc
DELTA=42  (23 added, 1 deleted, 18 changed)
OCL=25881
CL=25886

16 years agodocument Conn interface better, in preparation
Russ Cox [Sat, 7 Mar 2009 01:51:31 +0000 (17:51 -0800)]
document Conn interface better, in preparation
for per-method interface documentation
by mkdoc.pl.

implement timeouts on network reads
and use them in dns client.

also added locks on i/o to ensure writes
are not interlaced.

R=r
DELTA=340  (272 added, 25 deleted, 43 changed)
OCL=25799
CL=25874

16 years ago1. type switches
Ken Thompson [Sat, 7 Mar 2009 01:50:43 +0000 (17:50 -0800)]
1. type switches
2. fixed fault on bug128
3. got rid of typeof
4. fixed bug in t,ok = I2T

R=r
OCL=25873
CL=25873

16 years agodocument sort
Rob Pike [Sat, 7 Mar 2009 01:29:25 +0000 (17:29 -0800)]
document sort

R=rsc
DELTA=20  (20 added, 0 deleted, 0 changed)
OCL=25869
CL=25872

16 years agodocument syscall. all we do is redirect elsewhere.
Rob Pike [Sat, 7 Mar 2009 01:20:53 +0000 (17:20 -0800)]
document syscall.  all we do is redirect elsewhere.

R=rsc
DELTA=7  (7 added, 0 deleted, 0 changed)
OCL=25859
CL=25871

16 years agoweekend snapshot
Robert Griesemer [Sat, 7 Mar 2009 00:54:26 +0000 (16:54 -0800)]
weekend snapshot
- fixed a minor bug
- some initial code to extract interface of a package

R=r
OCL=25866
CL=25866

16 years ago- wrote simple template substitution package
Robert Griesemer [Sat, 7 Mar 2009 00:11:40 +0000 (16:11 -0800)]
- wrote simple template substitution package
- use template in pretty printing now instead of hand-coded mechanism

R=r
OCL=25863
CL=25863

16 years agodelete vestigial references to package syscall
Rob Pike [Sat, 7 Mar 2009 00:03:59 +0000 (16:03 -0800)]
delete vestigial references to package syscall

R=rsc
DELTA=8  (0 added, 5 deleted, 3 changed)
OCL=25857
CL=25861

16 years agodocument io
Rob Pike [Fri, 6 Mar 2009 11:43:44 +0000 (03:43 -0800)]
document io

R=rsc
DELTA=44  (30 added, 4 deleted, 10 changed)
OCL=25819
CL=25835

16 years agodocument once
Rob Pike [Fri, 6 Mar 2009 11:36:50 +0000 (03:36 -0800)]
document once

R=rsc
DELTA=14  (7 added, 5 deleted, 2 changed)
OCL=25818
CL=25834

16 years agodocument fmt.
Rob Pike [Fri, 6 Mar 2009 11:35:38 +0000 (03:35 -0800)]
document fmt.
the description of the format verbs still needs to be done.

R=rsc
DELTA=288  (88 added, 12 deleted, 188 changed)
OCL=25814
CL=25833

16 years agodocument unicode, such as it is
Rob Pike [Fri, 6 Mar 2009 11:22:02 +0000 (03:22 -0800)]
document unicode, such as it is

R=rsc
DELTA=18  (9 added, 0 deleted, 9 changed)
OCL=25817
CL=25832

16 years agodocument rand
Rob Pike [Fri, 6 Mar 2009 03:26:27 +0000 (19:26 -0800)]
document rand

R=rsc
DELTA=27  (16 added, 8 deleted, 3 changed)
OCL=25804
CL=25813

16 years agodocument container/intvector
Rob Pike [Fri, 6 Mar 2009 03:22:06 +0000 (19:22 -0800)]
document container/intvector

R=rsc
DELTA=15  (15 added, 0 deleted, 0 changed)
OCL=25794
CL=25812

16 years agodocument utf8
Rob Pike [Fri, 6 Mar 2009 03:15:13 +0000 (19:15 -0800)]
document utf8

R=rsc
DELTA=18  (12 added, 0 deleted, 6 changed)
OCL=25807
CL=25811

16 years ago- using doc template for gds now
Robert Griesemer [Fri, 6 Mar 2009 02:44:21 +0000 (18:44 -0800)]
- using doc template for gds now
- no interface extraction yet

R=r
OCL=25808
CL=25808

16 years agonew approach for generating sysimport.c
Russ Cox [Fri, 6 Mar 2009 02:26:12 +0000 (18:26 -0800)]
new approach for generating sysimport.c
(renamed to avoid any conflict with old p4 copies).

this approach doesn't require auto-generating
files also kept in p4, so it should be easier on
go users who don't sync very often.

this approach will be more work for go developers:
builtin.c needs to be copied to builtin.c.boot in p4
as new functions are added.  mkbuiltin does this
for certain $USERs to help us remember.

R=r
DELTA=343  (176 added, 162 deleted, 5 changed)
OCL=25803
CL=25805

16 years agodocument testing and incidentally gotest
Rob Pike [Fri, 6 Mar 2009 01:50:36 +0000 (17:50 -0800)]
document testing and incidentally gotest

R=rsc
DELTA=25  (25 added, 0 deleted, 0 changed)
OCL=25798
CL=25802

16 years agoLots of cleanups in prep. for checking in parser and ast into lib:
Robert Griesemer [Fri, 6 Mar 2009 01:15:36 +0000 (17:15 -0800)]
Lots of cleanups in prep. for checking in parser and ast into lib:
- 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

16 years agodocument strings
Rob Pike [Fri, 6 Mar 2009 01:02:34 +0000 (17:02 -0800)]
document strings

R=rsc
DELTA=9  (4 added, 0 deleted, 5 changed)
OCL=25793
CL=25795

16 years agobug085 bug129
Russ Cox [Thu, 5 Mar 2009 23:57:03 +0000 (15:57 -0800)]
bug085 bug129

R=ken
OCL=25787
CL=25791

16 years agonew switch implementation
Ken Thompson [Thu, 5 Mar 2009 23:49:34 +0000 (15:49 -0800)]
new switch implementation
in preparation of type switch.
no functional change (yet).

R=r
OCL=25784
CL=25788

16 years agonet: doc, doc-inspired cleanup
Russ Cox [Thu, 5 Mar 2009 23:48:12 +0000 (15:48 -0800)]
net: doc, doc-inspired cleanup

R=r
DELTA=368  (87 added, 14 deleted, 267 changed)
OCL=25773
CL=25786

16 years agostrconv: doc
Russ Cox [Thu, 5 Mar 2009 23:29:04 +0000 (15:29 -0800)]
strconv: doc

R=r
DELTA=110  (64 added, 19 deleted, 27 changed)
OCL=25761
CL=25782

16 years agorevert QualifiedIdent to old production
Robert Griesemer [Thu, 5 Mar 2009 23:01:54 +0000 (15:01 -0800)]
revert QualifiedIdent to old production

R=r
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=25732
CL=25777

16 years agomisc doc
Russ Cox [Thu, 5 Mar 2009 21:35:45 +0000 (13:35 -0800)]
misc doc

R=r
DELTA=50  (28 added, 0 deleted, 22 changed)
OCL=25763
CL=25770

16 years agodelete deprecated files.
Rob Pike [Thu, 5 Mar 2009 21:31:03 +0000 (13:31 -0800)]
delete deprecated files.
deletion beats documentation for deprecation.

R=rsc,gri
DELTA=509  (2 added, 490 deleted, 17 changed)
OCL=25737
CL=25768

16 years agomath: doc
Russ Cox [Thu, 5 Mar 2009 21:31:01 +0000 (13:31 -0800)]
math: doc

R=r
DELTA=173  (74 added, 14 deleted, 85 changed)
OCL=25753
CL=25767

16 years agodocument vector
Rob Pike [Thu, 5 Mar 2009 21:30:39 +0000 (13:30 -0800)]
document vector

R=rsc
DELTA=36  (30 added, 0 deleted, 6 changed)
OCL=25740
CL=25766

16 years agolog: document
Rob Pike [Thu, 5 Mar 2009 06:46:44 +0000 (22:46 -0800)]
log: document

R=rsc
DELTA=26  (17 added, 1 deleted, 8 changed)
OCL=25731
CL=25734

16 years agoflag: document
Rob Pike [Thu, 5 Mar 2009 06:43:51 +0000 (22:43 -0800)]
flag: document
also write to stderr not stdout

R=rsc
DELTA=48  (38 added, 2 deleted, 8 changed)
OCL=25729
CL=25733

16 years agodelete bogus vestige
Rob Pike [Thu, 5 Mar 2009 06:03:35 +0000 (22:03 -0800)]
delete bogus vestige

R=rsc
OCL=25730
CL=25730

16 years agotypos
Rob Pike [Thu, 5 Mar 2009 05:41:12 +0000 (21:41 -0800)]
typos

R=gri
DELTA=3  (0 added, 1 deleted, 2 changed)
OCL=25728
CL=25728

16 years agosync: add documentation
Russ Cox [Thu, 5 Mar 2009 05:30:07 +0000 (21:30 -0800)]
sync: add documentation

R=r
DELTA=63  (57 added, 1 deleted, 5 changed)
OCL=25727
CL=25727

16 years agoremove some incorrect capitalizations.
Rob Pike [Thu, 5 Mar 2009 05:06:38 +0000 (21:06 -0800)]
remove some incorrect capitalizations.
add commentary.

R=rsc
DELTA=231  (41 added, 24 deleted, 166 changed)
OCL=25724
CL=25726

16 years agofix an HTML glitch.
Rob Pike [Thu, 5 Mar 2009 04:39:39 +0000 (20:39 -0800)]
fix an HTML glitch.
say a little more about package main.

R=rsc
DELTA=7  (4 added, 0 deleted, 3 changed)
OCL=25725
CL=25725

16 years agoreject invalid map key types at compile time
Russ Cox [Thu, 5 Mar 2009 01:38:37 +0000 (17:38 -0800)]
reject invalid map key types at compile time

R=ken
OCL=25720
CL=25720

16 years agofix build
Russ Cox [Thu, 5 Mar 2009 01:37:47 +0000 (17:37 -0800)]
fix build

TBR=gri
OCL=25719
CL=25719

16 years agoSuggested tweaks up to package section.
Russ Cox [Thu, 5 Mar 2009 01:19:21 +0000 (17:19 -0800)]
Suggested tweaks up to package section.

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

16 years ago- missing makefile
Robert Griesemer [Thu, 5 Mar 2009 01:16:58 +0000 (17:16 -0800)]
- missing makefile

R=r
OCL=25714
CL=25714

16 years agoCreated new directory lib/lang:
Robert Griesemer [Thu, 5 Mar 2009 01:13:12 +0000 (17:13 -0800)]
Created new directory lib/lang:
- 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

16 years agodisallow ordinary-type.(T), as in spec.
Russ Cox [Wed, 4 Mar 2009 22:50:25 +0000 (14:50 -0800)]
disallow ordinary-type.(T), as in spec.

R=ken
OCL=25705
CL=25705

16 years agochange Go logo to link to home page
Russ Cox [Wed, 4 Mar 2009 22:44:51 +0000 (14:44 -0800)]
change Go logo to link to home page

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

16 years agoPreparation for moving scanner into a lib:
Robert Griesemer [Wed, 4 Mar 2009 02:25:07 +0000 (18:25 -0800)]
Preparation for moving scanner into a lib:
- separated out token definition from scanner
- cleaned up token and scanner implementation
- added comments to exported interfaces

R=r
OCL=25665
CL=25665

16 years agorephrase redundancy.
Rob Pike [Wed, 4 Mar 2009 00:10:15 +0000 (16:10 -0800)]
rephrase redundancy.

R=rsc
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=25652
CL=25656

16 years agoenable pretty in run.bash
Rob Pike [Wed, 4 Mar 2009 00:09:40 +0000 (16:09 -0800)]
enable pretty in run.bash

R=rsc
DELTA=5  (0 added, 0 deleted, 5 changed)
OCL=25651
CL=25655

16 years agoupdate missed test case to {}
Rob Pike [Wed, 4 Mar 2009 00:09:12 +0000 (16:09 -0800)]
update missed test case to {}

R=rsc
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=25648
CL=25654

16 years ago- allow ()'s and {}'s for now when parsing calls/composite literals
Robert Griesemer [Wed, 4 Mar 2009 00:00:06 +0000 (16:00 -0800)]
- allow ()'s and {}'s for now when parsing calls/composite literals
- 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

16 years agoThe final piece of the alternative to my parens proposal
Russ Cox [Tue, 3 Mar 2009 23:40:30 +0000 (15:40 -0800)]
The final piece of the alternative to my parens proposal
(i.e., the status quo with braces in composite literals).

DELTA=20  (16 added, 0 deleted, 4 changed)
OCL=25640
CL=25646

16 years agoback to T{x}, stricter handling of T(x) vs x.(T)
Russ Cox [Tue, 3 Mar 2009 16:41:02 +0000 (08:41 -0800)]
back to T{x}, stricter handling of T(x) vs x.(T)

R=ken
DELTA=131  (60 added, 41 deleted, 30 changed)
OCL=25617
CL=25633

16 years agoAutomated g4 rollback of changelist 25024,
Russ Cox [Tue, 3 Mar 2009 16:39:12 +0000 (08:39 -0800)]
Automated g4 rollback of changelist 25024,
plus significant hand editing.

Back to T{x} for composite literals.

R=r
OCL=25612
CL=25632

16 years agoclarify conversions vs type guards.
Russ Cox [Tue, 3 Mar 2009 16:10:25 +0000 (08:10 -0800)]
clarify conversions vs type guards.
allow conversions between equal types.

R=r
DELTA=15  (4 added, 4 deleted, 7 changed)
OCL=25618
CL=25630

16 years agoscanner cleanup - getting it ready to as a library
Robert Griesemer [Tue, 3 Mar 2009 04:27:09 +0000 (20:27 -0800)]
scanner cleanup - getting it ready to as a library
- 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

16 years agoredo poor example of slices.
Rob Pike [Tue, 3 Mar 2009 04:17:12 +0000 (20:17 -0800)]
redo poor example of slices.

R=rsc
OCL=25614
CL=25614

16 years agoaddress most of the editorial comments through "types"
Rob Pike [Tue, 3 Mar 2009 03:13:40 +0000 (19:13 -0800)]
address most of the editorial comments through "types"

R=rsc
DELTA=41  (9 added, 4 deleted, 28 changed)
OCL=25611
CL=25611

16 years ago- itob
Robert Griesemer [Tue, 3 Mar 2009 01:52:58 +0000 (17:52 -0800)]
- itob
- more test cases

R=rsc
DELTA=97  (52 added, 4 deleted, 41 changed)
OCL=25585
CL=25607

16 years agodelete paragraph about unimplemented select-on-type feature.
Rob Pike [Tue, 3 Mar 2009 01:52:52 +0000 (17:52 -0800)]
delete paragraph about unimplemented select-on-type feature.
change () to {} in all composite literals

DELTA=20  (0 added, 7 deleted, 13 changed)
OCL=25604
CL=25606

16 years agoPackages.
Rob Pike [Tue, 3 Mar 2009 00:17:29 +0000 (16:17 -0800)]
Packages.

DELTA=170  (73 added, 21 deleted, 76 changed)
OCL=25556
CL=25594

16 years agofix names: s/fd/r/
Russ Cox [Tue, 3 Mar 2009 00:12:04 +0000 (16:12 -0800)]
fix names: s/fd/r/

R=r
DELTA=9  (0 added, 0 deleted, 9 changed)
OCL=25593
CL=25593

16 years agomost of the rest.
Rob Pike [Sat, 28 Feb 2009 00:47:48 +0000 (16:47 -0800)]
most of the rest.
only the package section is untouched.

R=gri
DELTA=542  (186 added, 70 deleted, 286 changed)
OCL=25485
CL=25532

16 years agofix a bug: do not print a ';' after a label if there wasn't one
Robert Griesemer [Sat, 28 Feb 2009 00:28:36 +0000 (16:28 -0800)]
fix a bug: do not print a ';' after a label if there wasn't one

R=r
OCL=25526
CL=25528

16 years agoSteps towards a general scanner/parser library for Go:
Robert Griesemer [Fri, 27 Feb 2009 23:40:17 +0000 (15:40 -0800)]
Steps towards a general scanner/parser library for Go:
- 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

16 years agofinish types.
Rob Pike [Fri, 27 Feb 2009 00:37:23 +0000 (16:37 -0800)]
finish types.
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

16 years agofixed a typo
Robert Griesemer [Thu, 26 Feb 2009 00:58:57 +0000 (16:58 -0800)]
fixed a typo

R=r
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=25449
CL=25449

16 years agobug130 is fixed
Rob Pike [Thu, 26 Feb 2009 00:31:42 +0000 (16:31 -0800)]
bug130 is fixed

R=ken
OCL=25448
CL=25448

16 years agoContinue editing types section.
Rob Pike [Thu, 26 Feb 2009 00:20:44 +0000 (16:20 -0800)]
Continue editing types section.
Do a little work polishing the "zero value" discussion.

R=gri
DELTA=486  (129 added, 120 deleted, 237 changed)
OCL=25392
CL=25444

16 years agocomplete types
Rob Pike [Wed, 25 Feb 2009 01:47:45 +0000 (17:47 -0800)]
complete types

R=gri
DELTA=29  (0 added, 12 deleted, 17 changed)
OCL=25388
CL=25391

16 years agotext and formatting are now folded into go_spec; delete
Rob Pike [Tue, 24 Feb 2009 23:18:21 +0000 (15:18 -0800)]
text and formatting are now folded into go_spec; delete

OCL=25292
CL=25383

16 years agoUpdated the section on Types.
Rob Pike [Tue, 24 Feb 2009 23:17:59 +0000 (15:17 -0800)]
Updated the section on Types.
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

16 years agobug 130 (go/defer) interface.method()
Ken Thompson [Tue, 24 Feb 2009 06:43:04 +0000 (22:43 -0800)]
bug 130 (go/defer) interface.method()

R=r
OCL=25356
CL=25356

16 years agoMove Types before Declarations and Scopes.
Rob Pike [Tue, 24 Feb 2009 03:26:07 +0000 (19:26 -0800)]
Move Types before Declarations and Scopes.
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

16 years agoWork on declarations, unsafe, alignment.
Rob Pike [Tue, 24 Feb 2009 03:22:05 +0000 (19:22 -0800)]
Work on declarations, unsafe, alignment.
Change <tt> to <code>

R=gri
DELTA=664  (222 added, 189 deleted, 253 changed)
OCL=25294
CL=25352

16 years ago- fixed a bug with //-comment parsing
Robert Griesemer [Tue, 24 Feb 2009 01:16:55 +0000 (17:16 -0800)]
- fixed a bug with //-comment parsing

R=r
OCL=25343
CL=25343

16 years agoadd logo to documentation directory.
Rob Pike [Sun, 22 Feb 2009 23:39:50 +0000 (15:39 -0800)]
add logo to documentation directory.

R=rsc
OCL=25293
CL=25293

16 years agobug with select :=
Ken Thompson [Sat, 21 Feb 2009 20:41:34 +0000 (12:41 -0800)]
bug with select :=

R=r
OCL=25278
CL=25278

16 years agodraft of memory model.
Russ Cox [Fri, 20 Feb 2009 23:35:20 +0000 (15:35 -0800)]
draft of memory model.

R=tgs
DELTA=545  (545 added, 0 deleted, 0 changed)
OCL=25212
CL=25268

16 years agoRewrite lexical section.
Rob Pike [Fri, 20 Feb 2009 21:36:14 +0000 (13:36 -0800)]
Rewrite lexical section.
Put grammar productions into a box with a separate background color.

R=gri
DELTA=397  (132 added, 49 deleted, 216 changed)
OCL=25235
CL=25258

16 years agoautogenerate the table of contents
Rob Pike [Fri, 20 Feb 2009 03:49:56 +0000 (19:49 -0800)]
autogenerate the table of contents

R=rsc
DELTA=149  (1 added, 145 deleted, 3 changed)
OCL=25231
CL=25234