]> Cypherpunks repositories - gostls13.git/log
gostls13.git
16 years agohelp management of empty pkg and lib directories in perforce
Rob Pike [Tue, 22 Jul 2008 00:10:49 +0000 (17:10 -0700)]
help management of empty pkg and lib directories in perforce

R=gri
DELTA=4  (4 added, 0 deleted, 0 changed)
OCL=13328
CL=13328

16 years agomap delete
Rob Pike [Mon, 21 Jul 2008 23:18:04 +0000 (16:18 -0700)]
map delete

SVN=128258

16 years agocompiler crash in string('a', 'b', '\n');
Rob Pike [Mon, 21 Jul 2008 22:41:39 +0000 (15:41 -0700)]
compiler crash in string('a', 'b', '\n');

SVN=128253

16 years agostart of select
Ken Thompson [Mon, 21 Jul 2008 03:13:07 +0000 (20:13 -0700)]
start of select
random bugs fixed

SVN=128149

16 years agotweaks to init
Ken Thompson [Sun, 20 Jul 2008 20:33:45 +0000 (13:33 -0700)]
tweaks to init
rand using init

SVN=128142

16 years agoinit
Ken Thompson [Sun, 20 Jul 2008 01:39:12 +0000 (18:39 -0700)]
init

SVN=128128

16 years agoadd an eval function (written by ken)
Rob Pike [Sat, 19 Jul 2008 22:11:25 +0000 (15:11 -0700)]
add an eval function (written by ken)

SVN=128122

16 years agotest update
Rob Pike [Sat, 19 Jul 2008 22:08:56 +0000 (15:08 -0700)]
test update

SVN=128120

16 years agoupdate fmt to use some initialization
Rob Pike [Sat, 19 Jul 2008 21:52:01 +0000 (14:52 -0700)]
update fmt to use some initialization
tweak ar so the pkgdef file doesn't cause it not to generate a symbol table

SVN=128119

16 years agoinit
Ken Thompson [Sat, 19 Jul 2008 21:37:02 +0000 (14:37 -0700)]
init

SVN=128118

16 years agoinit filename vs pkgname
Ken Thompson [Sat, 19 Jul 2008 21:20:46 +0000 (14:20 -0700)]
init filename vs pkgname

SVN=128117

16 years agoinitialization
Ken Thompson [Sat, 19 Jul 2008 20:38:29 +0000 (13:38 -0700)]
initialization

SVN=128115

16 years ago- scanner returns now triple (tok, tok_pos, tok_val)
Robert Griesemer [Sat, 19 Jul 2008 00:18:29 +0000 (17:18 -0700)]
- scanner returns now triple (tok, tok_pos, tok_val)
- initial try-out of AST data structures
- removed test_parser (not working anymore - parser needs more infrastructure)

SVN=128089

16 years ago- missing changes from prev. commit
Robert Griesemer [Fri, 18 Jul 2008 21:23:04 +0000 (14:23 -0700)]
- missing changes from prev. commit

SVN=128064

16 years agoadd doug's power series package
Rob Pike [Fri, 18 Jul 2008 21:18:07 +0000 (14:18 -0700)]
add doug's power series package

SVN=128063

16 years ago- made initial export work
Robert Griesemer [Fri, 18 Jul 2008 21:04:21 +0000 (14:04 -0700)]
- made initial export work
- added code for importing (not tested)
- various fixes

SVN=128061

16 years ago- added 2 bugs tests
Robert Griesemer [Fri, 18 Jul 2008 19:26:48 +0000 (12:26 -0700)]
- added 2 bugs tests

SVN=128056

16 years agolen(fixed array)
Ken Thompson [Fri, 18 Jul 2008 18:59:35 +0000 (11:59 -0700)]
len(fixed array)

SVN=128050

16 years agoloop in subtype
Ken Thompson [Fri, 18 Jul 2008 01:15:05 +0000 (18:15 -0700)]
loop in subtype

SVN=127933

16 years ago- more front-end stuff: hooking up packages, preparing for exports
Robert Griesemer [Fri, 18 Jul 2008 01:02:10 +0000 (18:02 -0700)]
- more front-end stuff: hooking up packages, preparing for exports

SVN=127931

16 years agoone more time for divide
Ken Thompson [Thu, 17 Jul 2008 23:22:40 +0000 (16:22 -0700)]
one more time for divide

SVN=127911

16 years ago- moved struct Compilation into globals.go, adjusted deps
Robert Griesemer [Thu, 17 Jul 2008 22:11:46 +0000 (15:11 -0700)]
- moved struct Compilation into globals.go, adjusted deps
- bail out after > 10 errors
- fixed send/recv statements

SVN=127890

16 years agodiv bug
Ken Thompson [Thu, 17 Jul 2008 22:03:39 +0000 (15:03 -0700)]
div bug
[]ptr bug
proc reuses old g* structures
differnt assignment of offsets to parameters

SVN=127888

16 years ago- moved package code into globals.go, adjusted deps
Robert Griesemer [Thu, 17 Jul 2008 21:53:13 +0000 (14:53 -0700)]
- moved package code into globals.go, adjusted deps

SVN=127887

16 years agoupdate tests
Rob Pike [Thu, 17 Jul 2008 18:15:11 +0000 (11:15 -0700)]
update tests

SVN=127826

16 years agocompiler bug: infinite recursion in subtype()
Rob Pike [Thu, 17 Jul 2008 18:04:44 +0000 (11:04 -0700)]
compiler bug: infinite recursion in subtype()

SVN=127822

16 years agonew channel syntax
Rob Pike [Thu, 17 Jul 2008 17:47:32 +0000 (10:47 -0700)]
new channel syntax
select cleans up too

SVN=127816

16 years agoparameter in fn literals
Ken Thompson [Thu, 17 Jul 2008 01:31:01 +0000 (18:31 -0700)]
parameter in fn literals

SVN=127695

16 years agoparameter declartions in func literals
Ken Thompson [Thu, 17 Jul 2008 00:22:54 +0000 (17:22 -0700)]
parameter declartions in func literals

SVN=127678

16 years ago- changed channel operators
Robert Griesemer [Thu, 17 Jul 2008 00:00:48 +0000 (17:00 -0700)]
- changed channel operators
- more work on packages

SVN=127671

16 years agostrengthen test by checking values
Rob Pike [Wed, 16 Jul 2008 21:49:01 +0000 (14:49 -0700)]
strengthen test by checking values

SVN=127601

16 years agoadd test for non-blocking channel ops
Rob Pike [Wed, 16 Jul 2008 21:41:27 +0000 (14:41 -0700)]
add test for non-blocking channel ops

SVN=127595

16 years agonew (more fifo) schedulint algorithm
Ken Thompson [Wed, 16 Jul 2008 20:50:23 +0000 (13:50 -0700)]
new (more fifo) schedulint algorithm
newproc will reuse dead procs

SVN=127565

16 years agoback out last chan fix
Ken Thompson [Wed, 16 Jul 2008 19:44:21 +0000 (12:44 -0700)]
back out last chan fix
allow print of pointers

SVN=127548

16 years agochan bool offset bug
Ken Thompson [Wed, 16 Jul 2008 18:46:33 +0000 (11:46 -0700)]
chan bool offset bug

SVN=127537

16 years agonew chan syntax
Ken Thompson [Wed, 16 Jul 2008 04:07:59 +0000 (21:07 -0700)]
new chan syntax

SVN=127437

16 years agochannel tests with new syntax
Rob Pike [Wed, 16 Jul 2008 03:52:07 +0000 (20:52 -0700)]
channel tests with new syntax

SVN=127436

16 years ago- more infrastructure
Robert Griesemer [Wed, 16 Jul 2008 02:59:00 +0000 (19:59 -0700)]
- more infrastructure

SVN=127430

16 years agoadd a couple of tests
Rob Pike [Wed, 16 Jul 2008 02:19:50 +0000 (19:19 -0700)]
add a couple of tests
update golden

SVN=127428

16 years ago- added more code (package, export, compilation)
Robert Griesemer [Tue, 15 Jul 2008 22:37:14 +0000 (15:37 -0700)]
- added more code (package, export, compilation)
- first cut at semantic checks (disabled)

SVN=127348

16 years agoimprove the examples in the section on iota
Rob Pike [Tue, 15 Jul 2008 22:27:31 +0000 (15:27 -0700)]
improve the examples in the section on iota

SVN=127347

16 years agoupdate golden.out
Rob Pike [Tue, 15 Jul 2008 17:49:26 +0000 (10:49 -0700)]
update golden.out

SVN=127240

16 years agonested breaks handled wrong
Rob Pike [Tue, 15 Jul 2008 17:44:02 +0000 (10:44 -0700)]
nested breaks handled wrong

SVN=127239

16 years agonew bug
Rob Pike [Tue, 15 Jul 2008 17:27:05 +0000 (10:27 -0700)]
new bug

SVN=127232

16 years ago- func reorg to reduce forward decls and improve structure
Robert Griesemer [Tue, 15 Jul 2008 17:05:17 +0000 (10:05 -0700)]
- func reorg to reduce forward decls and improve structure

SVN=127229

16 years ago- fixed issue with parsing function literals in statement lists
Robert Griesemer [Tue, 15 Jul 2008 16:22:20 +0000 (09:22 -0700)]
- fixed issue with parsing function literals in statement lists

SVN=127218

16 years agoadd linkage for writefile on darwin
Rob Pike [Tue, 15 Jul 2008 15:27:50 +0000 (08:27 -0700)]
add linkage for writefile on darwin

SVN=127208

16 years agoadd sys.writefile; support for darwin only in this CL
Rob Pike [Tue, 15 Jul 2008 03:54:55 +0000 (20:54 -0700)]
add sys.writefile; support for darwin only in this CL

SVN=127153

16 years agodisambiguate error message
Rob Pike [Tue, 15 Jul 2008 03:54:16 +0000 (20:54 -0700)]
disambiguate error message

SVN=127152

16 years agogo call fn address
Ken Thompson [Tue, 15 Jul 2008 03:40:48 +0000 (20:40 -0700)]
go call fn address

SVN=127151

16 years agofix bug names
Rob Pike [Tue, 15 Jul 2008 02:31:06 +0000 (19:31 -0700)]
fix bug names
add a new one: go func() { print "ok\n" } ();

SVN=127144

16 years ago- no column info in error messages for Rob
Robert Griesemer [Tue, 15 Jul 2008 01:06:41 +0000 (18:06 -0700)]
- no column info in error messages for Rob
- fixed parsing of function literals
- added first round of scope handling

SVN=127124

16 years agochan asynch
Ken Thompson [Tue, 15 Jul 2008 00:41:38 +0000 (17:41 -0700)]
chan asynch

SVN=127121

16 years ago- added universe, universe initialization
Robert Griesemer [Mon, 14 Jul 2008 23:57:42 +0000 (16:57 -0700)]
- added universe, universe initialization
- fixed types, added missing exports, etc.

SVN=127104

16 years ago- filed 6g crash bug
Robert Griesemer [Mon, 14 Jul 2008 23:26:41 +0000 (16:26 -0700)]
- filed 6g crash bug

SVN=127093

16 years agostop traceback when pc leaves text segment
Rob Pike [Mon, 14 Jul 2008 23:00:44 +0000 (16:00 -0700)]
stop traceback when pc leaves text segment

SVN=127088

16 years agoupdate golden
Rob Pike [Mon, 14 Jul 2008 22:13:59 +0000 (15:13 -0700)]
update golden
improve sieve test, and split into two versions

SVN=127077

16 years agosynch chan
Ken Thompson [Mon, 14 Jul 2008 21:34:27 +0000 (14:34 -0700)]
synch chan

SVN=127057

16 years agosynch chan
Ken Thompson [Mon, 14 Jul 2008 21:33:39 +0000 (14:33 -0700)]
synch chan

SVN=127055

16 years agochan
Ken Thompson [Sun, 13 Jul 2008 23:22:50 +0000 (16:22 -0700)]
chan

SVN=126960

16 years agochan
Ken Thompson [Sun, 13 Jul 2008 23:20:27 +0000 (16:20 -0700)]
chan

SVN=126959

16 years agochan
Ken Thompson [Sun, 13 Jul 2008 21:29:46 +0000 (14:29 -0700)]
chan

SVN=126958

16 years agomorestack magic number
Ken Thompson [Sun, 13 Jul 2008 00:16:22 +0000 (17:16 -0700)]
morestack magic number
automatically generated in 6g and 6c,
manually set in 6a. format is
TEXT a(SB),, $a-b
where a is auto size and b is parameter size

SVN=126946

16 years agotools to update math lib.
Rob Pike [Sat, 12 Jul 2008 22:56:06 +0000 (15:56 -0700)]
tools to update math lib.
you need a hack to 6ar to do this, but it's not checked in yet

SVN=126943

16 years agofix a couple of minor errors
Rob Pike [Sat, 12 Jul 2008 20:56:33 +0000 (13:56 -0700)]
fix a couple of minor errors

SVN=126938

16 years agoadd new test - factorial by inc and dec
Rob Pike [Sat, 12 Jul 2008 20:20:21 +0000 (13:20 -0700)]
add new test - factorial by inc and dec

SVN=126937

16 years agomore on channels
Ken Thompson [Sat, 12 Jul 2008 20:08:53 +0000 (13:08 -0700)]
more on channels
arg space magic number for morestack

SVN=126936

16 years agopreserve AX across stack jump so C routines return correct value when triggering...
Rob Pike [Sat, 12 Jul 2008 18:30:53 +0000 (11:30 -0700)]
preserve AX across stack jump so C routines return correct value when triggering morestack.

SVN=126935

16 years ago- more go code
Robert Griesemer [Sat, 12 Jul 2008 03:15:12 +0000 (20:15 -0700)]
- more go code

SVN=126934

16 years agodelete dead code
Rob Pike [Sat, 12 Jul 2008 02:40:03 +0000 (19:40 -0700)]
delete dead code

SVN=126932

16 years agofix comment
Rob Pike [Sat, 12 Jul 2008 02:37:47 +0000 (19:37 -0700)]
fix comment

SVN=126931

16 years agofix traceback to know about new segmenting
Rob Pike [Sat, 12 Jul 2008 02:35:14 +0000 (19:35 -0700)]
fix traceback to know about new segmenting

SVN=126930

16 years agosegmented stacks AND goroutines
Ken Thompson [Sat, 12 Jul 2008 02:16:39 +0000 (19:16 -0700)]
segmented stacks AND goroutines

SVN=126929

16 years ago- fixed bug in parser.go
Robert Griesemer [Fri, 11 Jul 2008 03:50:38 +0000 (20:50 -0700)]
- fixed bug in parser.go
- added more tests

SVN=126784

16 years ago- added buildtime
Robert Griesemer [Fri, 11 Jul 2008 01:46:30 +0000 (18:46 -0700)]
- added buildtime

SVN=126776

16 years ago- created new dir (gosrc) for go-based front-end
Robert Griesemer [Fri, 11 Jul 2008 01:05:00 +0000 (18:05 -0700)]
- created new dir (gosrc) for go-based front-end
- adjusted makefiles

SVN=126763

16 years ago- more frontend pieces in Go
Robert Griesemer [Fri, 11 Jul 2008 00:21:23 +0000 (17:21 -0700)]
- more frontend pieces in Go

SVN=126744

16 years ago- improved error handling
Robert Griesemer [Thu, 10 Jul 2008 21:42:33 +0000 (14:42 -0700)]
- improved error handling

SVN=126718

16 years ago- filed a bug against 6g (bug065.go)
Robert Griesemer [Thu, 10 Jul 2008 20:45:02 +0000 (13:45 -0700)]
- filed a bug against 6g (bug065.go)
- improved scanner.go error handling

SVN=126706

16 years agobug in offsets in imported struct fields
Ken Thompson [Thu, 10 Jul 2008 00:15:10 +0000 (17:15 -0700)]
bug in offsets in imported struct fields

SVN=126591

16 years ago- minor bug fix
Robert Griesemer [Thu, 10 Jul 2008 00:08:20 +0000 (17:08 -0700)]
- minor bug fix

SVN=126585

16 years agoredefinition fix for autolib: if first ATEXT is already defined, skip this file
Rob Pike [Wed, 9 Jul 2008 23:40:11 +0000 (16:40 -0700)]
redefinition fix for autolib: if first ATEXT is already defined, skip this file

SVN=126580

16 years ago- initial better error reporting
Robert Griesemer [Wed, 9 Jul 2008 23:23:48 +0000 (16:23 -0700)]
- initial better error reporting

SVN=126578

16 years agobuild packages automatically
Rob Pike [Wed, 9 Jul 2008 23:09:48 +0000 (16:09 -0700)]
build packages automatically

SVN=126577

16 years agoenable autolib
Rob Pike [Wed, 9 Jul 2008 23:05:03 +0000 (16:05 -0700)]
enable autolib
handle archives with __.PKGDEF elements (although we can't create them yet)
introduce a pkg directory
search the pkg directory for packages during compilation

SVN=126574

16 years ago- replaced recursive parsing of binary expressions with
Robert Griesemer [Wed, 9 Jul 2008 21:48:26 +0000 (14:48 -0700)]
- replaced recursive parsing of binary expressions with
  precedence-based expression parser

SVN=126556

16 years ago- completed parser - accepts full language (modulo bugs)
Robert Griesemer [Wed, 9 Jul 2008 21:01:17 +0000 (14:01 -0700)]
- completed parser - accepts full language (modulo bugs)

SVN=126551

16 years agodefined external registers g and m
Ken Thompson [Wed, 9 Jul 2008 18:35:26 +0000 (11:35 -0700)]
defined external registers g and m

SVN=126521

16 years ago- more fixes to parser
Robert Griesemer [Wed, 9 Jul 2008 17:45:04 +0000 (10:45 -0700)]
- more fixes to parser

SVN=126511

16 years ago- fixed scanner and parser issues to be able to parse math lib
Robert Griesemer [Wed, 9 Jul 2008 17:16:33 +0000 (10:16 -0700)]
- fixed scanner and parser issues to be able to parse math lib

SVN=126501

16 years agoconverted double to float64
Ken Thompson [Wed, 9 Jul 2008 03:48:41 +0000 (20:48 -0700)]
converted double to float64

SVN=126446

16 years ago- more work on Go parser
Robert Griesemer [Wed, 9 Jul 2008 01:37:31 +0000 (18:37 -0700)]
- more work on Go parser
- added tests

SVN=126439

16 years agofix ldexp, frexp, and make math package compile and test correctly
Rob Pike [Wed, 9 Jul 2008 00:26:10 +0000 (17:26 -0700)]
fix ldexp, frexp, and make math package compile and test correctly

SVN=126423

16 years agounique import/export names
Ken Thompson [Wed, 9 Jul 2008 00:19:17 +0000 (17:19 -0700)]
unique import/export names
more on go statement

SVN=126421

16 years ago- go parser parses itself
Robert Griesemer [Tue, 8 Jul 2008 23:39:04 +0000 (16:39 -0700)]
- go parser parses itself

SVN=126408

16 years ago- added missing keyword 'iota'
Robert Griesemer [Tue, 8 Jul 2008 23:01:10 +0000 (16:01 -0700)]
- added missing keyword 'iota'

SVN=126397

16 years agoadd a disclaimer
Rob Pike [Tue, 8 Jul 2008 21:52:48 +0000 (14:52 -0700)]
add a disclaimer

SVN=126379

16 years agodisambiguate typedefs in export blocks of .6 files
Rob Pike [Tue, 8 Jul 2008 21:20:04 +0000 (14:20 -0700)]
disambiguate typedefs in export blocks of .6 files

SVN=126366

16 years agotest update. also remove two duplicates
Rob Pike [Tue, 8 Jul 2008 19:22:21 +0000 (12:22 -0700)]
test update. also remove two duplicates

SVN=126336

16 years agotest update. some tests now run; no change to output
Rob Pike [Tue, 8 Jul 2008 18:30:20 +0000 (11:30 -0700)]
test update. some tests now run; no change to output

SVN=126328