1
0
mirror of https://github.com/golang/go synced 2024-11-25 11:48:04 -07:00
Commit Graph

8457 Commits

Author SHA1 Message Date
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
Rob Pike
17ee7818de print count of failing tests
SVN=121467
2008-06-06 13:38:16 -07:00
Rob Pike
aebf31ff5d remove 6.out in test/run. update golden file
SVN=121465
2008-06-06 13:32:59 -07:00
Rob Pike
126150d0f6 lots of new tests
SVN=121464
2008-06-06 13:28:03 -07:00
Rob Pike
27fb2abf76 first cut at test suite
SVN=121454
2008-06-06 12:57:00 -07:00
Ken Thompson
fa259ff89c fix different ANON flag between
darwin and linux

SVN=121371
2008-06-05 21:02:55 -07:00
Ken Thompson
959f9fb3d4 goos garch
SVN=121368
2008-06-05 19:53:15 -07:00
Ken Thompson
bbb2073223 goos garch
SVN=121367
2008-06-05 19:38:39 -07:00
Ken Thompson
8527f49e24 goos and goarch
SVN=121349
2008-06-05 16:57:26 -07:00
Ken Thompson
e2c3ec3173 goos goarch
SVN=121348
2008-06-05 16:56:23 -07:00
Ken Thompson
28429aaaa6 goos and goarch
SVN=121346
2008-06-05 16:55:06 -07:00
Ken Thompson
2b77d87fca goos and goarch
SVN=121345
2008-06-05 16:54:34 -07:00
Rob Pike
5624e34494 rearrange tree to reflect design based on $GOROOT $GOOS $GOARCH
SVN=121291
2008-06-05 14:20:24 -07:00
Ken Thompson
f4ccabdea6 stuff
SVN=121190
2008-06-04 16:44:48 -07:00
Rob Pike
df8ac28975 initial runtime code checkin
SVN=121183
2008-06-04 15:52:48 -07:00
Ken Thompson
f1880579ef loaded problem getting main from a library
SVN=121175
2008-06-04 15:33:59 -07:00
Ken Thompson
6633be6a86 fix loader problem loading main from a library
SVN=121174
2008-06-04 15:32:47 -07:00
Ken Thompson
3adcf6fa0e touch to make later modified date
SVN=121172
2008-06-04 15:08:59 -07:00
Rob Pike
6b4d69e5f0 move old code into 'old' directory
add src/test dir

SVN=121166
2008-06-04 14:46:07 -07:00
Rob Pike
0cafb9ea3d Add compiler source to new directory structure
SVN=121164
2008-06-04 14:37:38 -07:00
Robert Griesemer
896c8f4ecc - fixed a typo
SVN=120165
2008-05-27 17:09:40 -07:00
Rob Pike
d4aa5c0b45 add disclaimer, authors.
preparation for linking to p page

SVN=118969
2008-05-15 17:41:39 -07:00
Rob Pike
c0c30258be turn spaces to tabs
replace ifs with switch
still runs!

SVN=118947
2008-05-15 15:20:59 -07:00
Rob Pike
9119f55e6d add a couple of TODOs
fixed grammar for "Program"

SVN=118923
2008-05-15 14:13:44 -07:00
Robert Griesemer
aa533738c1 - changed compound type -> composite type
- eliminated 'structured type' terminology

SVN=118200
2008-05-08 21:21:09 -07:00
Rob Pike
b6b8da823d fix up the 'basic types' section. strings were missing
SVN=118198
2008-05-08 20:58:15 -07:00
Rob Pike
f4f588372d Clarify conversions, include making them constructors for arrays etc.
SVN=118194
2008-05-08 20:23:01 -07:00
Robert Griesemer
9bc7b08abb - changed literal syntax to use the convert notation
- fixed issued with function declarations/function literals
- added more tests and fixed existing tests

SVN=118167
2008-05-08 17:12:15 -07:00
Rob Pike
7fbe486b1a use new conversion syntax to simplify test
SVN=118019
2008-05-07 17:34:51 -07:00
Rob Pike
37b8eb4648 fix double declaration of g
SVN=118016
2008-05-07 17:32:58 -07:00
Robert Griesemer
d222c65477 Introduced forward declaration of types per discussion with ken.
A forward-declared (or not yet fully defined) type must be used
to construct (mutually) recursive type declarations. This simplifies
the compiler and resolves the issue at which scope the forward-
declared type is to be declared.

SVN=117770
2008-05-06 10:29:17 -07:00
Rob Pike
f5c0763432 Explain about pointer types for mutually recursive structures.
SVN=117463
2008-05-01 23:51:33 -07:00
Rob Pike
5e391cff2c talk about short, int, long etc.
specify allowed conversions.

SVN=117458
2008-05-01 20:59:31 -07:00
Robert Griesemer
76abea7c6d - fixed a test
- added extra basic type aliases
- added select statement

SVN=117448
2008-05-01 18:48:52 -07:00
Robert Griesemer
d4d19fad2f Fixed a typo (changed ' -> ") and shortened a production name slightly to match the naming convention elsewhere.
SVN=117446
2008-05-01 18:47:44 -07:00
Robert Griesemer
1975ff8b44 - completed syntax for import declarations
- fixed a typo

SVN=117439
2008-05-01 18:14:17 -07:00
Rob Pike
38c083c1ca Require names for return values for functions with complex return types.
SVN=117346
2008-05-01 00:01:45 -07:00
Robert Griesemer
50cea7038b - Added section on type equivalence
- Changed signature syntax: parameter names are always mandatory
- Minor white-space cosmetic changes

SVN=117240
2008-04-29 16:27:11 -07:00
Rob Pike
c1aba41194 fix description of iota to reflect reality.
SVN=117108
2008-04-28 16:19:59 -07:00
Rob Pike
f53db3eaa9 Add description of type conversions.
SVN=116978
2008-04-27 18:32:47 -07:00
Robert Griesemer
1265a0c22d - essentially reverted my change of yesterday with respect to char/string syntax
- fixed indentation in many places
- fixed a couple of typos

SVN=116120
2008-04-18 15:41:59 -07:00
Robert Griesemer
75bbce9e84 - added language to document .() notation
- propose change to char/string productions: I find this easier to read

SVN=116037
2008-04-17 19:06:33 -07:00