]> Cypherpunks repositories - gostls13.git/log
gostls13.git
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

16 years agoadd bytestorune and stringtorune to sys.
Rob Pike [Tue, 8 Jul 2008 17:36:43 +0000 (10:36 -0700)]
add bytestorune and stringtorune to sys.

SVN=126321

16 years agofixed three-way decl
Rob Pike [Tue, 8 Jul 2008 01:07:31 +0000 (18:07 -0700)]
fixed three-way decl

SVN=126254

16 years agomore coroutine
Ken Thompson [Tue, 8 Jul 2008 00:59:32 +0000 (17:59 -0700)]
more coroutine
fixed a,b,c := x,x,x

SVN=126250

16 years agok,l,m := 0,0,0 doesn't compile
Rob Pike [Tue, 8 Jul 2008 00:52:44 +0000 (17:52 -0700)]
k,l,m := 0,0,0 doesn't compile

SVN=126247

16 years ago- first cut a Go parser in Go
Robert Griesemer [Tue, 8 Jul 2008 00:27:14 +0000 (17:27 -0700)]
- first cut a Go parser in Go

SVN=126242

16 years agoremove incorrect (!) consts
Ken Thompson [Mon, 7 Jul 2008 22:00:12 +0000 (15:00 -0700)]
remove incorrect (!) consts
-r

SVN=126198

16 years agoupdate to Unicode 5
Rob Pike [Mon, 7 Jul 2008 21:07:46 +0000 (14:07 -0700)]
update to Unicode 5

SVN=126184

16 years agostart of coroutine
Ken Thompson [Mon, 7 Jul 2008 19:29:26 +0000 (12:29 -0700)]
start of coroutine

SVN=126152

16 years agobug update
Rob Pike [Mon, 7 Jul 2008 17:17:52 +0000 (10:17 -0700)]
bug update

SVN=126121

16 years agotest cleanup
Rob Pike [Mon, 7 Jul 2008 17:03:10 +0000 (10:03 -0700)]
test cleanup

SVN=126120

16 years agotook out vlong/uvlong/rune conversions
Ken Thompson [Sun, 6 Jul 2008 18:20:44 +0000 (11:20 -0700)]
took out vlong/uvlong/rune conversions

SVN=126053

16 years agorandom little bugs
Ken Thompson [Sun, 6 Jul 2008 00:43:25 +0000 (17:43 -0700)]
random little bugs

SVN=126049

16 years agooutput args declared
Ken Thompson [Sat, 5 Jul 2008 19:49:25 +0000 (12:49 -0700)]
output args declared
arguments in first block for diagnostics
thomo return
better syntax error recovery

SVN=126045

16 years agofloating point print
Ken Thompson [Sat, 5 Jul 2008 01:01:35 +0000 (18:01 -0700)]
floating point print

SVN=126038

16 years agoone bug fixed
Rob Pike [Fri, 4 Jul 2008 01:10:54 +0000 (18:10 -0700)]
one bug fixed

SVN=126006

16 years ago- more work on Go scanner
Robert Griesemer [Fri, 4 Jul 2008 01:07:03 +0000 (18:07 -0700)]
- more work on Go scanner

SVN=126004

16 years agobetter recovery after syntax error
Ken Thompson [Fri, 4 Jul 2008 01:05:20 +0000 (18:05 -0700)]
better recovery after syntax error

SVN=126003

16 years ago a,b := fun()
Ken Thompson [Fri, 4 Jul 2008 00:41:05 +0000 (17:41 -0700)]
a,b := fun()

SVN=125998

16 years agoimproved iota test for new form
Rob Pike [Fri, 4 Jul 2008 00:16:08 +0000 (17:16 -0700)]
improved iota test for new form

SVN=125995

16 years ago- minor update
Robert Griesemer [Thu, 3 Jul 2008 23:51:22 +0000 (16:51 -0700)]
- minor update

SVN=125989

16 years agofix some tests
Rob Pike [Thu, 3 Jul 2008 23:48:59 +0000 (16:48 -0700)]
fix some tests

SVN=125987

16 years agonew iota
Ken Thompson [Thu, 3 Jul 2008 23:41:32 +0000 (16:41 -0700)]
new iota

SVN=125984

16 years ago- filed a bug w/ constant evaluation
Robert Griesemer [Thu, 3 Jul 2008 22:16:51 +0000 (15:16 -0700)]
- filed a bug w/ constant evaluation

SVN=125966

16 years agofix typo in file name
Rob Pike [Thu, 3 Jul 2008 22:16:17 +0000 (15:16 -0700)]
fix typo in file name

SVN=125964

16 years agodrop some superfluous file prefixes in runtime
Rob Pike [Thu, 3 Jul 2008 20:42:04 +0000 (13:42 -0700)]
drop some superfluous file prefixes in runtime

SVN=125956

16 years agoA small but powerful change in constant declarations. Proposal by ken
Robert Griesemer [Thu, 3 Jul 2008 20:19:07 +0000 (13:19 -0700)]
A small but powerful change in constant declarations. Proposal by ken
after some discussion about enums. Implementation should be trivial.
Wording in the doc should be improved, probably.

SVN=125946

16 years ago- more Go scanner work
Robert Griesemer [Thu, 3 Jul 2008 06:19:31 +0000 (23:19 -0700)]
- more Go scanner work

SVN=125831

16 years ago- implemented first cut at Go scanner in Go
Robert Griesemer [Thu, 3 Jul 2008 00:02:55 +0000 (17:02 -0700)]
- implemented first cut at Go scanner in Go

SVN=125785

16 years ago- filed a bug
Robert Griesemer [Wed, 2 Jul 2008 01:06:00 +0000 (18:06 -0700)]
- filed a bug

SVN=125596

16 years ago- more minor fixes
Robert Griesemer [Wed, 2 Jul 2008 00:18:28 +0000 (17:18 -0700)]
- more minor fixes

SVN=125574

16 years ago- fixed .x file permissions
Robert Griesemer [Tue, 1 Jul 2008 23:48:31 +0000 (16:48 -0700)]
- fixed .x file permissions
- implemented -strict mode if statement
- added readfile() to sys pkg
- removed outdated sys.go

SVN=125572

16 years ago- minor update
Robert Griesemer [Tue, 1 Jul 2008 16:02:04 +0000 (09:02 -0700)]
- minor update

SVN=125471

16 years ago- updated doc
Robert Griesemer [Tue, 1 Jul 2008 15:48:24 +0000 (08:48 -0700)]
- updated doc

SVN=125468

16 years agoadd test that was mistakenly not checked in, now fixed
Rob Pike [Mon, 30 Jun 2008 23:52:17 +0000 (16:52 -0700)]
add test that was mistakenly not checked in, now fixed

SVN=125408