Rob Pike
33101926f9
channel tests with new syntax
...
SVN=127436
2008-07-15 20:52:07 -07:00
Robert Griesemer
f550cd67e0
- more infrastructure
...
SVN=127430
2008-07-15 19:59:00 -07:00
Rob Pike
a703c9a926
add a couple of tests
...
update golden
SVN=127428
2008-07-15 19:19:50 -07:00
Robert Griesemer
a6f87794ff
- added more code (package, export, compilation)
...
- first cut at semantic checks (disabled)
SVN=127348
2008-07-15 15:37:14 -07:00
Rob Pike
1401c11008
improve the examples in the section on iota
...
SVN=127347
2008-07-15 15:27:31 -07:00
Rob Pike
e9ecc41eb9
update golden.out
...
SVN=127240
2008-07-15 10:49:26 -07:00
Rob Pike
aff8d9b468
nested breaks handled wrong
...
SVN=127239
2008-07-15 10:44:02 -07:00
Rob Pike
27e43085a3
new bug
...
SVN=127232
2008-07-15 10:27:05 -07:00
Robert Griesemer
0cee302802
- func reorg to reduce forward decls and improve structure
...
SVN=127229
2008-07-15 10:05:17 -07:00
Robert Griesemer
d9d5f3b3bc
- fixed issue with parsing function literals in statement lists
...
SVN=127218
2008-07-15 09:22:20 -07:00
Rob Pike
cbdaa10f8c
add linkage for writefile on darwin
...
SVN=127208
2008-07-15 08:27:50 -07:00
Rob Pike
c870ac239e
add sys.writefile; support for darwin only in this CL
...
SVN=127153
2008-07-14 20:54:55 -07:00
Rob Pike
e9a194382e
disambiguate error message
...
SVN=127152
2008-07-14 20:54:16 -07:00
Ken Thompson
c6e8e1cebf
go call fn address
...
SVN=127151
2008-07-14 20:40:48 -07:00
Rob Pike
42ae6851c0
fix bug names
...
add a new one: go func() { print "ok\n" } ();
SVN=127144
2008-07-14 19:31:06 -07:00
Robert Griesemer
230230c880
- no column info in error messages for Rob
...
- fixed parsing of function literals
- added first round of scope handling
SVN=127124
2008-07-14 18:06:41 -07:00
Ken Thompson
2d9ff40774
chan asynch
...
SVN=127121
2008-07-14 17:41:38 -07:00
Robert Griesemer
fbab6ae9b5
- added universe, universe initialization
...
- fixed types, added missing exports, etc.
SVN=127104
2008-07-14 16:57:42 -07:00
Robert Griesemer
08b5993b8e
- filed 6g crash bug
...
SVN=127093
2008-07-14 16:26:41 -07:00
Rob Pike
bad8c3d5dd
stop traceback when pc leaves text segment
...
SVN=127088
2008-07-14 16:00:44 -07:00
Rob Pike
4ce3065e63
update golden
...
improve sieve test, and split into two versions
SVN=127077
2008-07-14 15:13:59 -07:00
Ken Thompson
af58f17af9
synch chan
...
SVN=127057
2008-07-14 14:34:27 -07:00
Ken Thompson
526200345c
synch chan
...
SVN=127055
2008-07-14 14:33:39 -07:00
Ken Thompson
f7e2bb55ae
chan
...
SVN=126960
2008-07-13 16:22:50 -07:00
Ken Thompson
97cab903af
chan
...
SVN=126959
2008-07-13 16:20:27 -07:00
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