1
0
mirror of https://github.com/golang/go synced 2024-11-24 08:30:15 -07:00
Commit Graph

24931 Commits

Author SHA1 Message Date
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
Ken Thompson
4d6d4e7f4e random little bugs
SVN=126049
2008-07-05 17:43:25 -07:00
Ken Thompson
417a971f9a output args declared
arguments in first block for diagnostics
thomo return
better syntax error recovery

SVN=126045
2008-07-05 12:49:25 -07:00
Ken Thompson
ac5a887d5d floating point print
SVN=126038
2008-07-04 18:01:35 -07:00
Rob Pike
b0273023f6 one bug fixed
SVN=126006
2008-07-03 18:10:54 -07:00
Robert Griesemer
65269ccd3d - more work on Go scanner
SVN=126004
2008-07-03 18:07:03 -07:00
Ken Thompson
1efa6a0544 better recovery after syntax error
SVN=126003
2008-07-03 18:05:20 -07:00
Ken Thompson
81b325db1b a,b := fun()
SVN=125998
2008-07-03 17:41:05 -07:00
Rob Pike
787cdc65f7 improved iota test for new form
SVN=125995
2008-07-03 17:16:08 -07:00
Robert Griesemer
ba25fe80a2 - minor update
SVN=125989
2008-07-03 16:51:22 -07:00
Rob Pike
3a613be75e fix some tests
SVN=125987
2008-07-03 16:48:59 -07:00
Ken Thompson
d915b96100 new iota
SVN=125984
2008-07-03 16:41:32 -07:00
Robert Griesemer
b43ad96ed6 - filed a bug w/ constant evaluation
SVN=125966
2008-07-03 15:16:51 -07:00