1
0
mirror of https://github.com/golang/go synced 2024-11-17 19:44:43 -07:00
Commit Graph

45793 Commits

Author SHA1 Message Date
Ken Thompson
594175d0b5 chan
SVN=126958
2008-07-13 14:29:46 -07:00
Ken Thompson
3f982aeaf6 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
2008-07-12 17:16:22 -07:00
Rob Pike
439b0c40bc tools to update math lib.
you need a hack to 6ar to do this, but it's not checked in yet

SVN=126943
2008-07-12 15:56:06 -07:00
Rob Pike
2fdbf0d595 fix a couple of minor errors
SVN=126938
2008-07-12 13:56:33 -07:00
Rob Pike
d0cf215bf2 add new test - factorial by inc and dec
SVN=126937
2008-07-12 13:20:21 -07:00
Ken Thompson
3856e45e03 more on channels
arg space magic number for morestack

SVN=126936
2008-07-12 13:08:53 -07:00
Rob Pike
2da9783e2b preserve AX across stack jump so C routines return correct value when triggering morestack.
SVN=126935
2008-07-12 11:30:53 -07:00
Robert Griesemer
5a81d1f29f - more go code
SVN=126934
2008-07-11 20:15:12 -07:00
Rob Pike
b07e084a99 delete dead code
SVN=126932
2008-07-11 19:40:03 -07:00
Rob Pike
c8bce425b0 fix comment
SVN=126931
2008-07-11 19:37:47 -07:00
Rob Pike
44f65c8f08 fix traceback to know about new segmenting
SVN=126930
2008-07-11 19:35:14 -07:00
Ken Thompson
751ce3a77a segmented stacks AND goroutines
SVN=126929
2008-07-11 19:16:39 -07:00
Robert Griesemer
ae905980e7 - fixed bug in parser.go
- added more tests

SVN=126784
2008-07-10 20:50:38 -07:00
Robert Griesemer
bb9d53e570 - added buildtime
SVN=126776
2008-07-10 18:46:30 -07:00
Robert Griesemer
afbf717eeb - created new dir (gosrc) for go-based front-end
- adjusted makefiles

SVN=126763
2008-07-10 18:05:00 -07:00
Robert Griesemer
72772282cd - more frontend pieces in Go
SVN=126744
2008-07-10 17:21:23 -07:00
Robert Griesemer
8be580e20d - improved error handling
SVN=126718
2008-07-10 14:42:33 -07:00
Robert Griesemer
9ec762791e - filed a bug against 6g (bug065.go)
- improved scanner.go error handling

SVN=126706
2008-07-10 13:45:02 -07:00
Ken Thompson
2d7eecbbf4 bug in offsets in imported struct fields
SVN=126591
2008-07-09 17:15:10 -07:00
Robert Griesemer
e4a1fb7e94 - minor bug fix
SVN=126585
2008-07-09 17:08:20 -07:00
Rob Pike
d5f4d94b80 redefinition fix for autolib: if first ATEXT is already defined, skip this file
SVN=126580
2008-07-09 16:40:11 -07:00
Robert Griesemer
6837c5927f - initial better error reporting
SVN=126578
2008-07-09 16:23:48 -07:00
Rob Pike
92bb676290 build packages automatically
SVN=126577
2008-07-09 16:09:48 -07:00
Rob Pike
12c81a0ce8 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
2008-07-09 16:05:03 -07:00
Robert Griesemer
415397e3b7 - replaced recursive parsing of binary expressions with
precedence-based expression parser

SVN=126556
2008-07-09 14:48:26 -07:00
Robert Griesemer
cab94922e7 - completed parser - accepts full language (modulo bugs)
SVN=126551
2008-07-09 14:01:17 -07:00
Ken Thompson
7b454bb1d9 defined external registers g and m
SVN=126521
2008-07-09 11:35:26 -07:00
Robert Griesemer
1e9adf8228 - more fixes to parser
SVN=126511
2008-07-09 10:45:04 -07:00
Robert Griesemer
33069d39b6 - fixed scanner and parser issues to be able to parse math lib
SVN=126501
2008-07-09 10:16:33 -07:00
Ken Thompson
77e20e8cec converted double to float64
SVN=126446
2008-07-08 20:48:41 -07:00
Robert Griesemer
8e4ee0045f - more work on Go parser
- added tests

SVN=126439
2008-07-08 18:37:31 -07:00
Rob Pike
41b9617be4 fix ldexp, frexp, and make math package compile and test correctly
SVN=126423
2008-07-08 17:26:10 -07:00
Ken Thompson
4528854308 unique import/export names
more on go statement

SVN=126421
2008-07-08 17:19:17 -07:00
Robert Griesemer
c40be3b1e7 - go parser parses itself
SVN=126408
2008-07-08 16:39:04 -07:00
Robert Griesemer
6def94ad83 - added missing keyword 'iota'
SVN=126397
2008-07-08 16:01:10 -07:00
Rob Pike
c685e1b70d add a disclaimer
SVN=126379
2008-07-08 14:52:48 -07:00
Rob Pike
655c281303 disambiguate typedefs in export blocks of .6 files
SVN=126366
2008-07-08 14:20:04 -07:00
Rob Pike
6810f39edf test update. also remove two duplicates
SVN=126336
2008-07-08 12:22:21 -07:00
Rob Pike
c38391ad7b test update. some tests now run; no change to output
SVN=126328
2008-07-08 11:30:20 -07:00
Rob Pike
6db99de606 add bytestorune and stringtorune to sys.
SVN=126321
2008-07-08 10:36:43 -07:00
Rob Pike
5352306f10 fixed three-way decl
SVN=126254
2008-07-07 18:07:31 -07:00
Ken Thompson
1d31a25d83 more coroutine
fixed a,b,c := x,x,x

SVN=126250
2008-07-07 17:59:32 -07:00
Rob Pike
f86c6f673e k,l,m := 0,0,0 doesn't compile
SVN=126247
2008-07-07 17:52:44 -07:00
Robert Griesemer
835cd46941 - first cut a Go parser in Go
SVN=126242
2008-07-07 17:27:14 -07:00
Ken Thompson
999b12c768 remove incorrect (!) consts
-r

SVN=126198
2008-07-07 15:00:12 -07:00
Rob Pike
5b904a3bde update to Unicode 5
SVN=126184
2008-07-07 14:07:46 -07:00
Ken Thompson
0d079a5362 start of coroutine
SVN=126152
2008-07-07 12:29:26 -07:00
Rob Pike
c0eb70265d bug update
SVN=126121
2008-07-07 10:17:52 -07:00
Rob Pike
bf14ef61fc test cleanup
SVN=126120
2008-07-07 10:03:10 -07:00
Ken Thompson
caa7193c95 took out vlong/uvlong/rune conversions
SVN=126053
2008-07-06 11:20:44 -07:00