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
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