Commit graph

38898 commits

Author SHA1 Message Date
Ken Thompson
2bba3a610d reorder1 - function first instead of last
SVN=122160
2008-06-11 12:25:44 -07:00
Robert Griesemer
a544938c26 - added test case
SVN=122159
2008-06-11 12:07:43 -07:00
Rob Pike
e8010b38e4 add bug045: bad nil assigning into array
update robfunc.go (BUG comment deleted)

SVN=122143
2008-06-11 10:33:20 -07:00
Ken Thompson
0b3093f0a5 debugging to get fmt to run
SVN=122046
2008-06-10 21:29:57 -07:00
Ken Thompson
b1a3463a7b made fp numbers from integers and
checked values

SVN=121972
2008-06-10 13:23:19 -07:00
Ken Thompson
36f21e00f5 mode elf tossing
SVN=121962
2008-06-10 12:42:37 -07:00
Robert Griesemer
4ff63a4794 - updated spec w/ respect to variable types and shift operators
SVN=121774
2008-06-09 16:32:49 -07:00
Rob Pike
a32063b00e divide is now in; update golden
SVN=121739
2008-06-09 13:33:33 -07:00
Ken Thompson
6a659ebf13 new elf header
SVN=121737
2008-06-09 13:16:50 -07:00
Rob Pike
3086910f17 fix bug in closeness for float literal test
SVN=121628
2008-06-08 19:37:22 -07:00
Rob Pike
33f7637d6a fix float lit to return 1, print error
SVN=121627
2008-06-08 19:33:54 -07:00
Rob Pike
5bccc6acec move file for fixed bug
SVN=121626
2008-06-08 19:26:07 -07:00
Rob Pike
814896ea5f update lots of tests
SVN=121624
2008-06-08 19:21:16 -07:00
Rob Pike
f07d2eea52 fix string_lit test to be more thorough
SVN=121623
2008-06-08 19:08:00 -07:00
Ken Thompson
f9c58c25e0 more nihan
SVN=121622
2008-06-08 19:02:27 -07:00
Ken Thompson
9abf9e8a37 nihon
SVN=121620
2008-06-08 18:26:23 -07:00
Ken Thompson
b6eca3534c bug in len
SVN=121618
2008-06-08 17:46:28 -07:00
Rob Pike
316bc2637d default to amd64 in run
test/func.go now works; update golden.out

SVN=121617
2008-06-08 17:29:57 -07:00
Ken Thompson
610644a1ca asdf
SVN=121615
2008-06-08 17:21:46 -07:00
Rob Pike
e285ed6090 Fix a few tests
SVN=121614
2008-06-08 17:19:11 -07:00
Rob Pike
27d95f1372 use /bin/ed to avoid compatibility issues with plan 9 ed
SVN=121611
2008-06-08 17:02:01 -07:00
Ken Thompson
ad073b1cf1 asdf
SVN=121608
2008-06-08 16:16:17 -07:00
Ken Thompson
36bfd2a906 floating point
SVN=121607
2008-06-08 16:11:14 -07:00
Ken Thompson
8200a0b088 optional semicolons
SVN=121604
2008-06-08 12:48:37 -07:00
Ken Thompson
f7753f1687 more code generation - mostly shift and multiply
SVN=121585
2008-06-07 15:21:02 -07:00
Ken Thompson
181ad4743c more div/mod
SVN=121577
2008-06-06 21:21:54 -07:00
Ken Thompson
d83b994da6 div and mod operators
SVN=121576
2008-06-06 20:43:29 -07:00
Ken Thompson
feb1c77f9c cafebabe
SVN=121574
2008-06-06 19:16:18 -07:00
Robert Griesemer
d9178fceb6 - method forward decl. bug
SVN=121563
2008-06-06 17:50:46 -07:00
Ken Thompson
b6218e6907 '\Ucafebabe'
SVN=121562
2008-06-06 17:42:03 -07:00
Robert Griesemer
fc184ef887 - forward decl bug
SVN=121561
2008-06-06 17:35:08 -07:00
Robert Griesemer
709e3a3fbd - tests for type forward declarations
SVN=121560
2008-06-06 17:23:22 -07:00
Rob Pike
5e77b0a82e fix erroneous test
SVN=121554
2008-06-06 17:08:31 -07:00
Ken Thompson
609cf0c3a7 fixed \\ secape in strings
SVN=121553
2008-06-06 17:08:21 -07:00
Robert Griesemer
cc85574c25 - updated golden.out one more time
SVN=121552
2008-06-06 17:07:38 -07:00
Robert Griesemer
938c5c5e2c - fixed test commands
SVN=121551
2008-06-06 17:05:53 -07:00
Robert Griesemer
298bafe2b5 - fixed golden.out
SVN=121550
2008-06-06 17:02:55 -07:00
Robert Griesemer
70321bf9fa - moved some bugs into bugs directory
SVN=121548
2008-06-06 17:02:01 -07:00
Ken Thompson
a93099cd8c SVN=121547 2008-06-06 17:01:33 -07:00
Robert Griesemer
5182aff001 - more tests (mostly redeclaration errors that are not checked)
SVN=121546
2008-06-06 16:59:54 -07:00
Rob Pike
094ee44b32 check in the bugs and fixed bugs
SVN=121543
2008-06-06 16:56:18 -07:00
Ken Thompson
6b8bd3556a nonaddressable = functioncall
code gen error

SVN=121541
2008-06-06 16:49:35 -07:00
Robert Griesemer
e92b753810 - fixed a few tests and added 3 incorrectly succeeding tests
- updated go_lang.txt to be more uniform and match the implementation
- made makehtml work on Mac
- fixed a couple of bugs in go.atg

SVN=121520
2008-06-06 15:53:14 -07:00
Robert Griesemer
2f538554f6 - fix to func.go
- extra empty line between test output

SVN=121499
2008-06-06 15:08:24 -07:00
Ken Thompson
d1493d1edc checked into both gc and runtime by mistake
SVN=121498
2008-06-06 15:01:50 -07:00
Ken Thompson
498ed50061 code gen bug calling i2s
SVN=121497
2008-06-06 15:01:02 -07:00
Rob Pike
ab34d15f69 add ken's tests.
update run to work with multiple directories

SVN=121485
2008-06-06 14:27:34 -07:00
Rob Pike
384c5bed2d update golden.out for two versions of hello, world
SVN=121479
2008-06-06 14:02:48 -07:00
Ken Thompson
dfdc7c1a8a turing now works
SVN=121477
2008-06-06 13:59:17 -07:00
Ken Thompson
e372be9e76 code gen bug in ++ and --
SVN=121476
2008-06-06 13:54:59 -07:00