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

16 years agoupdate golden
Rob Pike [Mon, 30 Jun 2008 23:30:53 +0000 (16:30 -0700)]
update golden
fix a comment

SVN=125405

16 years agoclean up rearrangement of runtime functions in the source
Rob Pike [Mon, 30 Jun 2008 22:30:47 +0000 (15:30 -0700)]
clean up rearrangement of runtime functions in the source
add isNaN, isInf, NaN, Inf

SVN=125389

16 years agomakes stack traces work for segmented stacks
Rob Pike [Mon, 30 Jun 2008 21:39:47 +0000 (14:39 -0700)]
makes stack traces work for segmented stacks

SVN=125371

16 years agoBreak runtime.c into separate pieces for maps, strings, print, etc.
Rob Pike [Mon, 30 Jun 2008 18:50:36 +0000 (11:50 -0700)]
Break runtime.c into separate pieces for maps, strings, print, etc.

Share common assembler for amd64 runtime

SVN=125317

16 years agosegmented stacks
Ken Thompson [Mon, 30 Jun 2008 03:40:08 +0000 (20:40 -0700)]
segmented stacks

SVN=125267

16 years agomore line numbers
Ken Thompson [Sun, 29 Jun 2008 00:27:39 +0000 (17:27 -0700)]
more line numbers

SVN=125265

16 years agomore line numbers
Ken Thompson [Sat, 28 Jun 2008 20:58:00 +0000 (13:58 -0700)]
more line numbers

SVN=125261

16 years agofix two (!) bugs printing floating point zero
Rob Pike [Sat, 28 Jun 2008 19:54:24 +0000 (12:54 -0700)]
fix two (!) bugs printing floating point zero

SVN=125260

16 years agoslice doesn't work on a string literal
Rob Pike [Sat, 28 Jun 2008 19:50:33 +0000 (12:50 -0700)]
slice doesn't work on a string literal

SVN=125259

16 years agonew test - map failure
Rob Pike [Sat, 28 Jun 2008 18:38:07 +0000 (11:38 -0700)]
new test - map failure

SVN=125258

16 years agoupdate: hashmap compiles now
Rob Pike [Sat, 28 Jun 2008 00:58:13 +0000 (17:58 -0700)]
update: hashmap compiles now

SVN=125233

16 years agoanother both sides functions
Ken Thompson [Sat, 28 Jun 2008 00:53:23 +0000 (17:53 -0700)]
another both sides functions

SVN=125230

16 years agoline numbers
Ken Thompson [Sat, 28 Jun 2008 00:35:42 +0000 (17:35 -0700)]
line numbers

SVN=125228

16 years agoupdate to new world. still can't use it but it's a lot of editing....
Rob Pike [Sat, 28 Jun 2008 00:06:23 +0000 (17:06 -0700)]
update to new world. still can't use it but it's a lot of editing....

SVN=125218

16 years agofixed fncall both sides
Ken Thompson [Fri, 27 Jun 2008 23:59:14 +0000 (16:59 -0700)]
fixed fncall both sides

SVN=125217

16 years agosametype message
Ken Thompson [Fri, 27 Jun 2008 23:43:02 +0000 (16:43 -0700)]
sametype message

SVN=125216

16 years agomap index of index bug
Ken Thompson [Fri, 27 Jun 2008 23:30:20 +0000 (16:30 -0700)]
map index of index bug

SVN=125213

16 years agotest wasn't being run. it works fine.
Rob Pike [Fri, 27 Jun 2008 21:25:50 +0000 (14:25 -0700)]
test wasn't being run. it works fine.

SVN=125179

16 years agoexport sys.exit
Rob Pike [Fri, 27 Jun 2008 21:15:06 +0000 (14:15 -0700)]
export sys.exit
update tests to use exit rather than return
ignore return value from main (actually done in prior CL)

SVN=125173

16 years agoupdate darwin for segmented stacks
Rob Pike [Fri, 27 Jun 2008 20:10:56 +0000 (13:10 -0700)]
update darwin for segmented stacks

SVN=125154

16 years agosegmented stack
Ken Thompson [Fri, 27 Jun 2008 20:03:19 +0000 (13:03 -0700)]
segmented stack

SVN=125151

16 years agoadd a test
Rob Pike [Fri, 27 Jun 2008 18:36:40 +0000 (11:36 -0700)]
add a test
fix make.bash for runtime - sysfile.6 depends on OS so simplest thing is to build just our own version

SVN=125130

16 years agofix a few spelling mistakes in messages
Rob Pike [Fri, 27 Jun 2008 17:29:02 +0000 (10:29 -0700)]
fix a few spelling mistakes in messages

SVN=125108

16 years ago- added calc cmd
Robert Griesemer [Fri, 27 Jun 2008 01:35:22 +0000 (18:35 -0700)]
- added calc cmd

SVN=125025

16 years agobetter line numbers
Ken Thompson [Fri, 27 Jun 2008 00:54:44 +0000 (17:54 -0700)]
better line numbers

SVN=125018

16 years agoadd readfile test
Rob Pike [Fri, 27 Jun 2008 00:08:39 +0000 (17:08 -0700)]
add readfile test
update golden

SVN=125006

16 years ago- moved integer code into src/pkg
Robert Griesemer [Thu, 26 Jun 2008 23:52:15 +0000 (16:52 -0700)]
- moved integer code into src/pkg

SVN=125003