]> Cypherpunks repositories - gostls13.git/log
gostls13.git
16 years agoassignment in select
Ken Thompson [Wed, 17 Sep 2008 03:51:50 +0000 (20:51 -0700)]
assignment in select
with new select operator

R=r
OCL=15418
CL=15418

16 years agoupdate to new communications syntax
Rob Pike [Wed, 17 Sep 2008 02:40:38 +0000 (19:40 -0700)]
update to new communications syntax

R=gri
OCL=15417
CL=15417

16 years agoupdate tests to new communications syntax
Rob Pike [Wed, 17 Sep 2008 02:33:40 +0000 (19:33 -0700)]
update tests to new communications syntax
powser1.go has not been tested - waiting for compiler to catch up

R=ken
OCL=15415
CL=15415

16 years agonew grammar:
Rob Pike [Wed, 17 Sep 2008 02:14:33 +0000 (19:14 -0700)]
new grammar:
binary <- is send
unary <- is recv
-< is gone
case a := <-ch: works in select
case a = <-ch: works in select
support for new cases is not yet in the compiler but all non-select
code works

second CL will update affected go source

R=ken
OCL=15414
CL=15414

16 years agofix / work around bugs in bufio test
Russ Cox [Tue, 16 Sep 2008 21:15:54 +0000 (14:15 -0700)]
fix / work around bugs in bufio test

R=r
DELTA=11  (8 added, 0 deleted, 3 changed)
OCL=15405
CL=15405

16 years agofix some broken tests (tests themselves were wrong)
Rob Pike [Tue, 16 Sep 2008 21:03:43 +0000 (14:03 -0700)]
fix some broken tests (tests themselves were wrong)

R=gri,rsc
OCL=15310
CL=15402

16 years agovar bug is fixed
Rob Pike [Tue, 16 Sep 2008 21:02:41 +0000 (14:02 -0700)]
var bug is fixed

R=rsc
OCL=15400
CL=15400

16 years agopreliminary network - just Dial for now
Russ Cox [Tue, 16 Sep 2008 20:42:47 +0000 (13:42 -0700)]
preliminary network - just Dial for now

R=r,presotto
OCL=15393
CL=15399

16 years agosection on service multiplexing
Rob Pike [Tue, 16 Sep 2008 20:14:44 +0000 (13:14 -0700)]
section on service multiplexing

R=gri
DELTA=75  (57 added, 4 deleted, 14 changed)
OCL=15394
CL=15398

16 years agoacid fixes etc. still not perfect.
Russ Cox [Tue, 16 Sep 2008 19:33:00 +0000 (12:33 -0700)]
acid fixes etc.  still not perfect.

R=r
DELTA=764  (694 added, 38 deleted, 32 changed)
OCL=15285
CL=15395

16 years agoreplace 235 with sieve - less problematic
Rob Pike [Tue, 16 Sep 2008 18:00:11 +0000 (11:00 -0700)]
replace 235 with sieve - less problematic
add programs, not yet described, to demonstrate servers.

R=gri
DELTA=279  (177 added, 16 deleted, 86 changed)
OCL=15380
CL=15389

16 years agoredeclaring methods
Ken Thompson [Tue, 16 Sep 2008 02:07:23 +0000 (19:07 -0700)]
redeclaring methods

R=r
OCL=15375
CL=15375

16 years agobug - divide and mod of a byte
Ken Thompson [Mon, 15 Sep 2008 22:03:10 +0000 (15:03 -0700)]
bug - divide and mod of a byte

R=r
OCL=15370
CL=15370

16 years agoupdate bugs
Rob Pike [Mon, 15 Sep 2008 21:27:15 +0000 (14:27 -0700)]
update bugs
delete bug100.go since the compiler is doing what we agreed.

R=gri
OCL=15367
CL=15367

16 years agodevelop interfaces through cats
Rob Pike [Mon, 15 Sep 2008 18:48:37 +0000 (11:48 -0700)]
develop interfaces through cats
sort
2,3,5

R=gri
DELTA=648  (647 added, 0 deleted, 1 changed)
OCL=15315
CL=15352

16 years agorobs wednesday bug
Ken Thompson [Mon, 15 Sep 2008 00:29:50 +0000 (17:29 -0700)]
robs wednesday bug

R=r
OCL=15327
CL=15327

16 years agomethods on any type
Ken Thompson [Sun, 14 Sep 2008 23:57:55 +0000 (16:57 -0700)]
methods on any type
-- but only *struct tested

R=r
OCL=15326
CL=15326

16 years agopackage name on signatures thru rename
Ken Thompson [Sat, 13 Sep 2008 21:51:39 +0000 (14:51 -0700)]
package name on signatures thru rename

R=r
OCL=15314
CL=15314

16 years agoAutomated g4 rollback of changelist 15312.
Ken Thompson [Sat, 13 Sep 2008 21:49:36 +0000 (14:49 -0700)]
Automated g4 rollback of changelist 15312.

*** Reason for rollback ***

  <enter reason for rollback>

*** Original change description ***

correct signal name thru package rename

R=r
OCL=15313
CL=15313

16 years agocorrect signal name thru package rename
Ken Thompson [Sat, 13 Sep 2008 21:46:19 +0000 (14:46 -0700)]
correct signal name thru package rename

R=r
OCL=15312
CL=15312

16 years agosnprints for safety
Ken Thompson [Sat, 13 Sep 2008 21:37:56 +0000 (14:37 -0700)]
snprints for safety

R=r
OCL=15311
CL=15311

16 years agoremove special trap-handling code for array out of bounds -
Rob Pike [Sat, 13 Sep 2008 20:13:36 +0000 (13:13 -0700)]
remove special trap-handling code for array out of bounds -
compiler doesn't generate them any more

R=ken
OCL=15309
CL=15309

16 years agotest program to generate multiples of a set of factors
Robert Griesemer [Sat, 13 Sep 2008 00:39:29 +0000 (17:39 -0700)]
test program to generate multiples of a set of factors
(as written, factors are 2, 3, and 5)

R=r
OCL=15286
CL=15286

16 years ago1 got rid if static 'fn wo return' test
Ken Thompson [Fri, 12 Sep 2008 23:48:35 +0000 (16:48 -0700)]
1 got rid if static 'fn wo return' test
2 added dynamic calls to throw for array bounds
  and 'fn wo return'
3 small optimization on index[constant]

R=r
OCL=15281
CL=15281

16 years agobuffered input & output
Russ Cox [Fri, 12 Sep 2008 23:42:53 +0000 (16:42 -0700)]
buffered input & output

R=r
DELTA=812  (803 added, 0 deleted, 9 changed)
OCL=15225
CL=15280

16 years agoarray literals not initialized
Russ Cox [Fri, 12 Sep 2008 23:35:02 +0000 (16:35 -0700)]
array literals not initialized

R=r
DELTA=11  (11 added, 0 deleted, 0 changed)
OCL=15222
CL=15276

16 years agochange rand names to match type names
Russ Cox [Fri, 12 Sep 2008 23:17:36 +0000 (16:17 -0700)]
change rand names to match type names

R=r
DELTA=66  (19 added, 9 deleted, 38 changed)
OCL=15232
CL=15265

16 years agorudimentary string utilities.
Russ Cox [Fri, 12 Sep 2008 23:12:20 +0000 (16:12 -0700)]
rudimentary string utilities.

R=r
DELTA=314  (306 added, 8 deleted, 0 changed)
OCL=15074
CL=15263

16 years agonext section: i/o package that has structs, methods
Rob Pike [Fri, 12 Sep 2008 23:03:16 +0000 (16:03 -0700)]
next section: i/o package that has structs, methods

R=gri
DELTA=137  (134 added, 0 deleted, 3 changed)
OCL=15251
CL=15259

16 years agofix up linux trap handling - INTB 5 gives SEGV
Rob Pike [Fri, 12 Sep 2008 19:35:06 +0000 (12:35 -0700)]
fix up linux trap handling - INTB 5 gives SEGV

R=rsc
OCL=15244
CL=15244

16 years ago- hopefully improved language on label scopes
Robert Griesemer [Fri, 12 Sep 2008 19:26:22 +0000 (12:26 -0700)]
- hopefully improved language on label scopes

R=r
DELTA=18  (12 added, 0 deleted, 6 changed)
OCL=15200
CL=15240

16 years agofix silly portability bug
Rob Pike [Fri, 12 Sep 2008 19:17:13 +0000 (12:17 -0700)]
fix silly portability bug

R=gri
OCL=15238
CL=15238

16 years ago- updated code to work again with latest 6g version
Robert Griesemer [Fri, 12 Sep 2008 19:09:43 +0000 (12:09 -0700)]
- updated code to work again with latest 6g version

R=r
OCL=15235
CL=15235

16 years ago- catch trace traps
Rob Pike [Fri, 12 Sep 2008 16:44:41 +0000 (09:44 -0700)]
- catch trace traps
- disassemble the instructions in a trace trap to see if it's a run-time trap
- if so, print relevant info
- avoid double-printing traceback on panic

R=ken,rsc
DELTA=66  (50 added, 7 deleted, 9 changed)
OCL=15199
CL=15224

16 years agoout of bounds bug
Russ Cox [Fri, 12 Sep 2008 16:43:21 +0000 (09:43 -0700)]
out of bounds bug

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

16 years agobug 100 - spurious return warnings
Russ Cox [Fri, 12 Sep 2008 15:37:08 +0000 (08:37 -0700)]
bug 100 - spurious return warnings

R=r
OCL=15221
CL=15221

16 years agobug075
Ken Thompson [Fri, 12 Sep 2008 02:09:25 +0000 (19:09 -0700)]
bug075

R=r
OCL=15192
CL=15192

16 years ago- simplified the ideal number terminology for better readability
Robert Griesemer [Fri, 12 Sep 2008 01:23:28 +0000 (18:23 -0700)]
- simplified the ideal number terminology for better readability

R=r
DELTA=24  (0 added, 10 deleted, 14 changed)
OCL=15188
CL=15188

16 years ago- rewrote section on numeric literals (grammar easier to read,
Robert Griesemer [Fri, 12 Sep 2008 00:48:20 +0000 (17:48 -0700)]
- rewrote section on numeric literals (grammar easier to read,
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

16 years agonew bug
Russ Cox [Fri, 12 Sep 2008 00:19:38 +0000 (17:19 -0700)]
new bug

R=r
DELTA=34  (34 added, 0 deleted, 0 changed)
OCL=15178
CL=15181

16 years ago- map composites should be of correct map type (instead of pointer type)
Robert Griesemer [Fri, 12 Sep 2008 00:16:50 +0000 (17:16 -0700)]
- map composites should be of correct map type (instead of pointer type)

R=r
OCL=15180
CL=15180

16 years ago- 2 bugs with composite literals
Robert Griesemer [Fri, 12 Sep 2008 00:11:16 +0000 (17:11 -0700)]
- 2 bugs with composite literals

R=r
OCL=15179
CL=15179

16 years ago- added 2 bugs
Robert Griesemer [Thu, 11 Sep 2008 23:17:25 +0000 (16:17 -0700)]
- added 2 bugs
- moved bug 060 back into bugs

R=r
OCL=15175
CL=15175

16 years agofixes for funcs without returns
Rob Pike [Thu, 11 Sep 2008 22:48:42 +0000 (15:48 -0700)]
fixes for funcs without returns

R=ken
OCL=15170
CL=15170

16 years agofunction wo return is an error - not warning
Ken Thompson [Thu, 11 Sep 2008 22:44:45 +0000 (15:44 -0700)]
function wo return is an error - not warning

R=r
OCL=15169
CL=15169

16 years ago- fixed missing return issues
Robert Griesemer [Thu, 11 Sep 2008 22:38:22 +0000 (15:38 -0700)]
- fixed missing return issues

R=r
OCL=15168
CL=15168

16 years agoimplement discussed function wo return statement
Ken Thompson [Thu, 11 Sep 2008 22:23:01 +0000 (15:23 -0700)]
implement discussed function wo return statement

R=r
OCL=15166
CL=15166

16 years agopull O_RDONLY etc. up to os library
Rob Pike [Thu, 11 Sep 2008 22:09:10 +0000 (15:09 -0700)]
pull O_RDONLY etc. up to os library

R=rsc
DELTA=16  (14 added, 0 deleted, 2 changed)
OCL=15156
CL=15163

16 years agomake syscall use strings for file names
Rob Pike [Thu, 11 Sep 2008 20:40:17 +0000 (13:40 -0700)]
make syscall use strings for file names
tweak os to adjust
move StringToBytes into syscall, at least for now

this program still works:

package main

import os "os"

func main() {
os.Stdout.WriteString("hello, world\n");
a, b := os.NewFD(77).WriteString("no way");
os.Stdout.WriteString(b.String() + "\n");
}

R=rsc
DELTA=263  (59 added, 176 deleted, 28 changed)
OCL=15153
CL=15153

16 years agoadd lib/os to standard build
Rob Pike [Thu, 11 Sep 2008 20:03:46 +0000 (13:03 -0700)]
add lib/os to standard build
break lib/os into multiple source files

R=rsc
DELTA=189  (178 added, 4 deleted, 7 changed)
OCL=15149
CL=15152

16 years agoadd sections about types and constants
Rob Pike [Thu, 11 Sep 2008 17:21:02 +0000 (10:21 -0700)]
add sections about types and constants

R=gri
DELTA=133  (124 added, 0 deleted, 9 changed)
OCL=15122
CL=15143

16 years agobug generating duplicate interface signatures
Ken Thompson [Thu, 11 Sep 2008 02:49:35 +0000 (19:49 -0700)]
bug generating duplicate interface signatures

R=r
OCL=15119
CL=15119

16 years agogrowing the tutorial
Rob Pike [Thu, 11 Sep 2008 00:11:04 +0000 (17:11 -0700)]
growing the tutorial

R=gri
OCL=15115
CL=15115

16 years agobug in type of first argument to slice
Ken Thompson [Wed, 10 Sep 2008 23:45:41 +0000 (16:45 -0700)]
bug in type of first argument to slice

R=r
OCL=15113
CL=15113

16 years agomake FD a struct with Read, Write, etc.
Rob Pike [Wed, 10 Sep 2008 22:23:28 +0000 (15:23 -0700)]
make FD a struct with Read, Write, etc.
as methods

R=gri,rsc
DELTA=99  (56 added, 31 deleted, 12 changed)
OCL=15103
CL=15103

16 years ago- added bug093.go
Robert Griesemer [Wed, 10 Sep 2008 21:21:42 +0000 (14:21 -0700)]
- added bug093.go

R=r
DELTA=80  (78 added, 2 deleted, 0 changed)
OCL=15094
CL=15101

16 years agoadd an Error type to be used as a singleton pointer
Rob Pike [Wed, 10 Sep 2008 21:19:03 +0000 (14:19 -0700)]
add an Error type to be used as a singleton pointer

put all the code in one file for now to work around compiler bug

R=gri,rsc
DELTA=168  (120 added, 41 deleted, 7 changed)
OCL=15100
CL=15100

16 years agoEliminate duplication of MethodDecl nonterminal by renaming
Ian Lance Taylor [Wed, 10 Sep 2008 20:24:47 +0000 (13:24 -0700)]
Eliminate duplication of MethodDecl nonterminal by renaming
the one associated with interface types.

R=gri
DELTA=3  (0 added, 0 deleted, 3 changed)
OCL=15092
CL=15096

16 years ago- incorporated bug fixes, todo's as suggested by rsc
Robert Griesemer [Wed, 10 Sep 2008 20:00:32 +0000 (13:00 -0700)]
- incorporated bug fixes, todo's as suggested by rsc

R=r
DELTA=32  (11 added, 2 deleted, 19 changed)
OCL=15087
CL=15093

16 years agorudimentary beginnings of soon-to-be-real os library
Rob Pike [Wed, 10 Sep 2008 19:14:39 +0000 (12:14 -0700)]
rudimentary beginnings of soon-to-be-real os library

R=gri
DELTA=76  (76 added, 0 deleted, 0 changed)
OCL=15086
CL=15088

16 years ago- stub for tutorial
Rob Pike [Wed, 10 Sep 2008 18:46:05 +0000 (11:46 -0700)]
- stub for tutorial
- tools to make it easy to embed programs

R=gri
DELTA=103  (97 added, 2 deleted, 4 changed)
OCL=15085
CL=15085

16 years ago- added convenience wrappers for sort
Robert Griesemer [Wed, 10 Sep 2008 01:13:08 +0000 (18:13 -0700)]
- added convenience wrappers for sort
  (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

16 years agofixed bug in certain
Ken Thompson [Tue, 9 Sep 2008 22:47:31 +0000 (15:47 -0700)]
fixed bug in certain
evaluation of complex literals

R=r
OCL=15036
CL=15036

16 years agoupdate golden
Rob Pike [Tue, 9 Sep 2008 19:46:21 +0000 (12:46 -0700)]
update golden

R=gri
OCL=15014
CL=15014

16 years agogo threads for OS X
Russ Cox [Tue, 9 Sep 2008 18:50:14 +0000 (11:50 -0700)]
go threads for OS X

R=r
OCL=14944
CL=15013

16 years ago- moved spec todo's into spec (as html comment)
Robert Griesemer [Tue, 9 Sep 2008 17:48:14 +0000 (10:48 -0700)]
- moved spec todo's into spec (as html comment)
- cleaned up todo.txt a bit

R=r
OCL=15009
CL=15009

16 years ago- added missing language to almost all types
Robert Griesemer [Tue, 9 Sep 2008 17:37:19 +0000 (10:37 -0700)]
- added missing language to almost all types
- 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

16 years agofix bug in stack limit calculation - was setting limit reg in wrong place.
Rob Pike [Tue, 9 Sep 2008 02:30:14 +0000 (19:30 -0700)]
fix bug in stack limit calculation - was setting limit reg in wrong place.

R=ken
OCL=14981
CL=14981

16 years agofixed sorting.go to use proper composite literal {}'s instead of
Robert Griesemer [Tue, 9 Sep 2008 01:50:35 +0000 (18:50 -0700)]
fixed sorting.go to use proper composite literal {}'s instead of
"conversion"

R=r
OCL=14976
CL=14976

16 years ago- added sort package and test case
Robert Griesemer [Tue, 9 Sep 2008 01:43:42 +0000 (18:43 -0700)]
- added sort package and test case

R=r
OCL=14975
CL=14975

16 years agogo linux x86-64 kernel fixes:
Russ Cox [Mon, 8 Sep 2008 22:22:55 +0000 (15:22 -0700)]
go linux x86-64 kernel fixes:
* change .gosymtab and .gopclntab to section 7 (note)
* start INITTEXT at 4MB, not 4KB

R=r
OCL=14953
CL=14959

16 years agolimit tests to 4GB of memory.
Russ Cox [Mon, 8 Sep 2008 22:22:45 +0000 (15:22 -0700)]
limit tests to 4GB of memory.
3G works on thresher, 2G does not

R=r
OCL=14956
CL=14958

16 years agoProposal for new function type syntax as suggested by ken:
Robert Griesemer [Mon, 8 Sep 2008 22:01:04 +0000 (15:01 -0700)]
Proposal for new function type syntax as suggested by ken:
- 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

16 years ago- adjust my code and tests to new function syntax
Robert Griesemer [Mon, 8 Sep 2008 20:26:52 +0000 (13:26 -0700)]
- adjust my code and tests to new function syntax

R=r
OCL=14939
CL=14941

16 years agobug with struct literal with metods
Ken Thompson [Mon, 8 Sep 2008 20:10:11 +0000 (13:10 -0700)]
bug with struct literal with metods

R=r
OCL=14937
CL=14937

16 years agoT{} syntax for constructors
Ken Thompson [Sat, 6 Sep 2008 02:50:34 +0000 (19:50 -0700)]
T{} syntax for constructors
T(expression) for conversion
FUNC keyword no longer a type

R=r
OCL=14887
CL=14887

16 years agouse a makefile to build math
Rob Pike [Fri, 5 Sep 2008 16:55:33 +0000 (09:55 -0700)]
use a makefile to build math
fix a typo in syscall/Makefile

R=ken
OCL=14863
CL=14863

16 years agoupdate tests
Rob Pike [Fri, 5 Sep 2008 00:36:57 +0000 (17:36 -0700)]
update tests

R=gri
OCL=14847
CL=14847

16 years agobugs 29, 61, 62, 74
Ken Thompson [Fri, 5 Sep 2008 00:15:15 +0000 (17:15 -0700)]
bugs 29, 61, 62, 74
fixedbugs 49 now (correctly) fails
bugs 32, 41, 68, 77 shouldnt be bugs

R=r
OCL=14842
CL=14842

16 years ago- \' not allowed in string literals
Robert Griesemer [Thu, 4 Sep 2008 23:59:31 +0000 (16:59 -0700)]
- \' not allowed in string literals
- \" 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

16 years agoresolve that all unnecessary backslashes are rejected.
Rob Pike [Thu, 4 Sep 2008 23:48:19 +0000 (16:48 -0700)]
resolve that all unnecessary backslashes are rejected.
bug068 is not a bug.

R=gri
OCL=14838
CL=14838

16 years ago- added missing language to operator section in spec
Robert Griesemer [Thu, 4 Sep 2008 22:17:27 +0000 (15:17 -0700)]
- added missing language to operator section in spec

R=r,ken
DELTA=100  (71 added, 9 deleted, 20 changed)
OCL=14827
CL=14832

16 years agoextend composite literal test.
Rob Pike [Thu, 4 Sep 2008 20:35:19 +0000 (13:35 -0700)]
extend composite literal test.
update tests.
update golden.out

R=gri
OCL=14816
CL=14816

16 years agoinclude math in standard build
Rob Pike [Thu, 4 Sep 2008 20:09:49 +0000 (13:09 -0700)]
include math in standard build

R=ken
OCL=14811
CL=14811

16 years agorewriting bugs
Ken Thompson [Thu, 4 Sep 2008 19:21:10 +0000 (12:21 -0700)]
rewriting bugs

R=r
OCL=14810
CL=14810

16 years agoUpdate fmt, refl, and rpc to exploit bug fixes in compiler
Rob Pike [Thu, 4 Sep 2008 17:39:04 +0000 (10:39 -0700)]
Update fmt, refl, and rpc to exploit bug fixes in compiler

R=gri
OCL=14806
CL=14806

16 years agofix bug in stack overflow check.
Rob Pike [Thu, 4 Sep 2008 02:58:46 +0000 (19:58 -0700)]
fix bug in stack overflow check.
if stack is in low memory and frame size is huge, test could wrap around!
fix by omitting test altogether if we know frame is big.

R=gri
OCL=14782
CL=14782

16 years ago- clarification of type of array literals (always fixed array)
Robert Griesemer [Wed, 3 Sep 2008 23:41:31 +0000 (16:41 -0700)]
- clarification of type of array literals (always fixed array)
- clarification of const decl syntax

R=r
DELTA=9  (4 added, 0 deleted, 5 changed)
OCL=14771
CL=14771

16 years agoupdate bugs
Rob Pike [Wed, 3 Sep 2008 22:54:33 +0000 (15:54 -0700)]
update bugs
add test for composite literals

R=gri
OCL=14766
CL=14766

16 years ago- fixed typo
Robert Griesemer [Wed, 3 Sep 2008 22:22:27 +0000 (15:22 -0700)]
- fixed typo

R=r
OCL=14763
CL=14763

16 years ago- minor corrections to go_spec.txt
Robert Griesemer [Wed, 3 Sep 2008 22:15:51 +0000 (15:15 -0700)]
- minor corrections to go_spec.txt
- 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

16 years agomap literals
Ken Thompson [Wed, 3 Sep 2008 21:40:22 +0000 (14:40 -0700)]
map literals

R=r
OCL=14759
CL=14759

16 years agoarray literals
Ken Thompson [Wed, 3 Sep 2008 21:09:29 +0000 (14:09 -0700)]
array literals

R=r
OCL=14756
CL=14756

16 years agoComposite literal syntax.
Robert Griesemer [Wed, 3 Sep 2008 20:37:44 +0000 (13:37 -0700)]
Composite literal syntax.

R=r
DELTA=25  (14 added, 2 deleted, 9 changed)
OCL=14750
CL=14753

16 years agoupdate tests
Rob Pike [Wed, 3 Sep 2008 20:21:05 +0000 (13:21 -0700)]
update tests
add commands to two new ken tests

R=gri
OCL=14751
CL=14751

16 years agostructure literals
Ken Thompson [Wed, 3 Sep 2008 02:11:25 +0000 (19:11 -0700)]
structure literals

R=r
OCL=14735
CL=14735

16 years ago- adjusted my submitted code to work with latest compiler changes
Robert Griesemer [Wed, 3 Sep 2008 00:26:00 +0000 (17:26 -0700)]
- adjusted my submitted code to work with latest compiler changes

R=r
OCL=14734
CL=14734

16 years agoorder of evaluation in function args
Ken Thompson [Wed, 3 Sep 2008 00:12:32 +0000 (17:12 -0700)]
order of evaluation in function args

R=r
OCL=14733
CL=14733

16 years agobug in conv(string, bytearray)
Ken Thompson [Tue, 2 Sep 2008 23:21:30 +0000 (16:21 -0700)]
bug in conv(string, bytearray)

R=r
OCL=14732
CL=14732

16 years agofix bug: was writing off end of array
Rob Pike [Tue, 2 Sep 2008 21:31:31 +0000 (14:31 -0700)]
fix bug: was writing off end of array

R=gri
OCL=14728
CL=14728