]>
Cypherpunks repositories - gostls13.git/log
Ken Thompson [Sat, 7 Jun 2008 02:16:18 +0000 (19:16 -0700)]
Robert Griesemer [Sat, 7 Jun 2008 00:50:46 +0000 (17:50 -0700)]
- method forward decl. bug
SVN=121563
Ken Thompson [Sat, 7 Jun 2008 00:42:03 +0000 (17:42 -0700)]
'\Ucafebabe'
SVN=121562
Robert Griesemer [Sat, 7 Jun 2008 00:35:08 +0000 (17:35 -0700)]
- forward decl bug
SVN=121561
Robert Griesemer [Sat, 7 Jun 2008 00:23:22 +0000 (17:23 -0700)]
- tests for type forward declarations
SVN=121560
Rob Pike [Sat, 7 Jun 2008 00:08:31 +0000 (17:08 -0700)]
fix erroneous test
SVN=121554
Ken Thompson [Sat, 7 Jun 2008 00:08:21 +0000 (17:08 -0700)]
fixed \\ secape in strings
SVN=121553
Robert Griesemer [Sat, 7 Jun 2008 00:07:38 +0000 (17:07 -0700)]
- updated golden.out one more time
SVN=121552
Robert Griesemer [Sat, 7 Jun 2008 00:05:53 +0000 (17:05 -0700)]
- fixed test commands
SVN=121551
Robert Griesemer [Sat, 7 Jun 2008 00:02:55 +0000 (17:02 -0700)]
- fixed golden.out
SVN=121550
Robert Griesemer [Sat, 7 Jun 2008 00:02:01 +0000 (17:02 -0700)]
- moved some bugs into bugs directory
SVN=121548
Ken Thompson [Sat, 7 Jun 2008 00:01:33 +0000 (17:01 -0700)]
SVN=121547
Robert Griesemer [Fri, 6 Jun 2008 23:59:54 +0000 (16:59 -0700)]
- more tests (mostly redeclaration errors that are not checked)
SVN=121546
Rob Pike [Fri, 6 Jun 2008 23:56:18 +0000 (16:56 -0700)]
check in the bugs and fixed bugs
SVN=121543
Ken Thompson [Fri, 6 Jun 2008 23:49:35 +0000 (16:49 -0700)]
nonaddressable = functioncall
code gen error
SVN=121541
Robert Griesemer [Fri, 6 Jun 2008 22:53:14 +0000 (15:53 -0700)]
- 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
Robert Griesemer [Fri, 6 Jun 2008 22:08:24 +0000 (15:08 -0700)]
- fix to func.go
- extra empty line between test output
SVN=121499
Ken Thompson [Fri, 6 Jun 2008 22:01:50 +0000 (15:01 -0700)]
checked into both gc and runtime by mistake
SVN=121498
Ken Thompson [Fri, 6 Jun 2008 22:01:02 +0000 (15:01 -0700)]
code gen bug calling i2s
SVN=121497
Rob Pike [Fri, 6 Jun 2008 21:27:34 +0000 (14:27 -0700)]
add ken's tests.
update run to work with multiple directories
SVN=121485
Rob Pike [Fri, 6 Jun 2008 21:02:48 +0000 (14:02 -0700)]
update golden.out for two versions of hello, world
SVN=121479
Ken Thompson [Fri, 6 Jun 2008 20:59:17 +0000 (13:59 -0700)]
turing now works
SVN=121477
Ken Thompson [Fri, 6 Jun 2008 20:54:59 +0000 (13:54 -0700)]
code gen bug in ++ and --
SVN=121476
Rob Pike [Fri, 6 Jun 2008 20:38:16 +0000 (13:38 -0700)]
print count of failing tests
SVN=121467
Rob Pike [Fri, 6 Jun 2008 20:32:59 +0000 (13:32 -0700)]
remove 6.out in test/run. update golden file
SVN=121465
Rob Pike [Fri, 6 Jun 2008 20:28:03 +0000 (13:28 -0700)]
lots of new tests
SVN=121464
Rob Pike [Fri, 6 Jun 2008 19:57:00 +0000 (12:57 -0700)]
first cut at test suite
SVN=121454
Ken Thompson [Fri, 6 Jun 2008 04:02:55 +0000 (21:02 -0700)]
fix different ANON flag between
darwin and linux
SVN=121371
Ken Thompson [Fri, 6 Jun 2008 02:53:15 +0000 (19:53 -0700)]
goos garch
SVN=121368
Ken Thompson [Fri, 6 Jun 2008 02:38:39 +0000 (19:38 -0700)]
goos garch
SVN=121367
Ken Thompson [Thu, 5 Jun 2008 23:57:26 +0000 (16:57 -0700)]
goos and goarch
SVN=121349
Ken Thompson [Thu, 5 Jun 2008 23:56:23 +0000 (16:56 -0700)]
goos goarch
SVN=121348
Ken Thompson [Thu, 5 Jun 2008 23:55:06 +0000 (16:55 -0700)]
goos and goarch
SVN=121346
Ken Thompson [Thu, 5 Jun 2008 23:54:34 +0000 (16:54 -0700)]
goos and goarch
SVN=121345
Rob Pike [Thu, 5 Jun 2008 21:20:24 +0000 (14:20 -0700)]
rearrange tree to reflect design based on $GOROOT $GOOS $GOARCH
SVN=121291
Ken Thompson [Wed, 4 Jun 2008 23:44:48 +0000 (16:44 -0700)]
stuff
SVN=121190
Rob Pike [Wed, 4 Jun 2008 22:52:48 +0000 (15:52 -0700)]
initial runtime code checkin
SVN=121183
Ken Thompson [Wed, 4 Jun 2008 22:33:59 +0000 (15:33 -0700)]
loaded problem getting main from a library
SVN=121175
Ken Thompson [Wed, 4 Jun 2008 22:32:47 +0000 (15:32 -0700)]
fix loader problem loading main from a library
SVN=121174
Ken Thompson [Wed, 4 Jun 2008 22:08:59 +0000 (15:08 -0700)]
touch to make later modified date
SVN=121172
Rob Pike [Wed, 4 Jun 2008 21:46:07 +0000 (14:46 -0700)]
move old code into 'old' directory
add src/test dir
SVN=121166
Rob Pike [Wed, 4 Jun 2008 21:37:38 +0000 (14:37 -0700)]
Add compiler source to new directory structure
SVN=121164
Robert Griesemer [Wed, 28 May 2008 00:09:40 +0000 (17:09 -0700)]
- fixed a typo
SVN=120165
Rob Pike [Fri, 16 May 2008 00:41:39 +0000 (17:41 -0700)]
add disclaimer, authors.
preparation for linking to p page
SVN=118969
Rob Pike [Thu, 15 May 2008 22:20:59 +0000 (15:20 -0700)]
turn spaces to tabs
replace ifs with switch
still runs!
SVN=118947
Rob Pike [Thu, 15 May 2008 21:13:44 +0000 (14:13 -0700)]
add a couple of TODOs
fixed grammar for "Program"
SVN=118923
Robert Griesemer [Fri, 9 May 2008 04:21:09 +0000 (21:21 -0700)]
- changed compound type -> composite type
- eliminated 'structured type' terminology
SVN=118200
Rob Pike [Fri, 9 May 2008 03:58:15 +0000 (20:58 -0700)]
fix up the 'basic types' section. strings were missing
SVN=118198
Rob Pike [Fri, 9 May 2008 03:23:01 +0000 (20:23 -0700)]
Clarify conversions, include making them constructors for arrays etc.
SVN=118194
Robert Griesemer [Fri, 9 May 2008 00:12:15 +0000 (17:12 -0700)]
- changed literal syntax to use the convert notation
- fixed issued with function declarations/function literals
- added more tests and fixed existing tests
SVN=118167
Rob Pike [Thu, 8 May 2008 00:34:51 +0000 (17:34 -0700)]
use new conversion syntax to simplify test
SVN=118019
Rob Pike [Thu, 8 May 2008 00:32:58 +0000 (17:32 -0700)]
fix double declaration of g
SVN=118016
Robert Griesemer [Tue, 6 May 2008 17:29:17 +0000 (10:29 -0700)]
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
Rob Pike [Fri, 2 May 2008 06:51:33 +0000 (23:51 -0700)]
Explain about pointer types for mutually recursive structures.
SVN=117463
Rob Pike [Fri, 2 May 2008 03:59:31 +0000 (20:59 -0700)]
talk about short, int, long etc.
specify allowed conversions.
SVN=117458
Robert Griesemer [Fri, 2 May 2008 01:48:52 +0000 (18:48 -0700)]
- fixed a test
- added extra basic type aliases
- added select statement
SVN=117448
Robert Griesemer [Fri, 2 May 2008 01:47:44 +0000 (18:47 -0700)]
Fixed a typo (changed ' -> ") and shortened a production name slightly to match the naming convention elsewhere.
SVN=117446
Robert Griesemer [Fri, 2 May 2008 01:14:17 +0000 (18:14 -0700)]
- completed syntax for import declarations
- fixed a typo
SVN=117439
Rob Pike [Thu, 1 May 2008 07:01:45 +0000 (00:01 -0700)]
Require names for return values for functions with complex return types.
SVN=117346
Robert Griesemer [Tue, 29 Apr 2008 23:27:11 +0000 (16:27 -0700)]
- Added section on type equivalence
- Changed signature syntax: parameter names are always mandatory
- Minor white-space cosmetic changes
SVN=117240
Rob Pike [Mon, 28 Apr 2008 23:19:59 +0000 (16:19 -0700)]
fix description of iota to reflect reality.
SVN=117108
Rob Pike [Mon, 28 Apr 2008 01:32:47 +0000 (18:32 -0700)]
Add description of type conversions.
SVN=116978
Robert Griesemer [Fri, 18 Apr 2008 22:41:59 +0000 (15:41 -0700)]
- essentially reverted my change of yesterday with respect to char/string syntax
- fixed indentation in many places
- fixed a couple of typos
SVN=116120
Robert Griesemer [Fri, 18 Apr 2008 02:06:33 +0000 (19:06 -0700)]
- added language to document .() notation
- propose change to char/string productions: I find this easier to read
SVN=116037
Rob Pike [Fri, 18 Apr 2008 00:03:29 +0000 (17:03 -0700)]
Added discussion of new, nil, and initialization.
SVN=116022
Rob Pike [Tue, 15 Apr 2008 23:43:06 +0000 (16:43 -0700)]
Add description of how compiling and linking handle dependencies.
SVN=115807
Rob Pike [Thu, 3 Apr 2008 23:59:46 +0000 (16:59 -0700)]
remove noisy print
SVN=114939
Rob Pike [Thu, 3 Apr 2008 23:38:21 +0000 (16:38 -0700)]
Add a rudimentary vector container to ameliorate the inability to allocate dynamic arrays.
SVN=114931
Rob Pike [Thu, 3 Apr 2008 04:32:39 +0000 (21:32 -0700)]
make digits a string instead of an array of bytes.
use string* to pass it around.
SVN=114795
Ken Thompson [Thu, 3 Apr 2008 03:23:01 +0000 (20:23 -0700)]
generate an error if the foreward
declaration of a func does not exactly
match the actual (or another foreward)
declaration. the reason is that when
there are 2 declarations of a function,
the names of the parameters are taken
from the first. thus
func x(a int);
followed by
func x(b int) { ... }
will have the parameter named "a" and
"b" will be undefined.
SVN=114788
Ken Thompson [Tue, 1 Apr 2008 19:48:20 +0000 (12:48 -0700)]
bug36
fixed error in symbol table in
the second forward declaration of
a function.
SVN=114572
Ken Thompson [Tue, 1 Apr 2008 02:19:37 +0000 (19:19 -0700)]
code to assign nil to an interface
without conversions
SVN=114453
Ken Thompson [Mon, 31 Mar 2008 18:50:47 +0000 (11:50 -0700)]
bug31
failed to correctly convert from pointer
to interface in a return statement.
moved ANY from a special type in
chan/map to a basic type.
SVN=114350
Ken Thompson [Sat, 29 Mar 2008 23:27:12 +0000 (16:27 -0700)]
bug28
fix code generation bug in
second index of string slice.
SVN=114255
Ken Thompson [Sat, 29 Mar 2008 22:37:38 +0000 (15:37 -0700)]
fix bug30
automatic declaration leaking
from one function to another
SVN=114252
Ken Thompson [Fri, 28 Mar 2008 22:08:58 +0000 (15:08 -0700)]
SVN=114213
Ken Thompson [Fri, 28 Mar 2008 20:56:47 +0000 (13:56 -0700)]
SVN=114204
Ken Thompson [Fri, 28 Mar 2008 20:41:41 +0000 (13:41 -0700)]
SVN=114202
Rob Pike [Fri, 28 Mar 2008 05:11:10 +0000 (22:11 -0700)]
add script to generate .html from .txt
SVN=114148
Rob Pike [Fri, 28 Mar 2008 04:42:25 +0000 (21:42 -0700)]
Add select statement
SVN=114147
Rob Pike [Fri, 28 Mar 2008 00:19:52 +0000 (17:19 -0700)]
Fix date stamp
SVN=114123
Rob Pike [Fri, 28 Mar 2008 00:19:17 +0000 (17:19 -0700)]
Explain goto constraints.
Add description of 'any'.
Simplify and complete syntax for literals.
SVN=114122
Rob Pike [Thu, 27 Mar 2008 07:06:21 +0000 (00:06 -0700)]
Basic formatted I/O library plus one support lib.
SVN=113977
Robert Griesemer [Wed, 26 Mar 2008 23:12:43 +0000 (16:12 -0700)]
- Make Coco/R-based parser work w/ UTF-8 encoded files even if there is
no (optional) UTF-8 marker present.
SVN=113931
Robert Griesemer [Wed, 26 Mar 2008 16:50:20 +0000 (09:50 -0700)]
- fixed my scripts
SVN=113864
Robert Griesemer [Wed, 26 Mar 2008 16:28:57 +0000 (09:28 -0700)]
- new directory structure
SVN=113851
Rob Pike [Wed, 26 Mar 2008 06:53:07 +0000 (23:53 -0700)]
update document. todo still: array and map literals; syntax for basic literals.
SVN=113815
Robert Griesemer [Thu, 20 Mar 2008 04:20:25 +0000 (21:20 -0700)]
- added extra escaped chars
SVN=113258
Robert Griesemer [Wed, 19 Mar 2008 22:45:07 +0000 (15:45 -0700)]
- Implemented simple rule for optional semicolons:
Semicolons are terminators for statements as in C,
but if followed by a "}" they are not required.
This is easy to understand and produces the desired
result for statements.
- Updated todo.txt.
SVN=113198
Rob Pike [Tue, 18 Mar 2008 02:05:07 +0000 (19:05 -0700)]
change Main, Init to lower case.
make new() take an optional expression, not expression list.
add an example for new().
SVN=112895
Rob Pike [Mon, 17 Mar 2008 04:47:38 +0000 (21:47 -0700)]
SVN=112717
Robert Griesemer [Wed, 12 Mar 2008 22:29:57 +0000 (15:29 -0700)]
- added another test
- added script to run tests
- fixed primary expression syntax in go.atg
SVN=112281
Robert Griesemer [Wed, 12 Mar 2008 22:10:10 +0000 (15:10 -0700)]
- added another test case
SVN=112273
Robert Griesemer [Wed, 12 Mar 2008 21:57:03 +0000 (14:57 -0700)]
- added more test cases
SVN=112271
Robert Griesemer [Wed, 12 Mar 2008 20:12:40 +0000 (13:12 -0700)]
- fixed typo in go_lang.txt
- changed go.atg to make optional semicolons work for statements
- expanded a test case
SVN=112242
Rob Pike [Wed, 12 Mar 2008 03:40:20 +0000 (20:40 -0700)]
examples contradicted text: '\octal' and '\hex' are fixed size
SVN=112150
Robert Griesemer [Wed, 12 Mar 2008 01:07:22 +0000 (18:07 -0700)]
- added 'nil' keyword to lang doc
(did not add 'true' and 'false' because I think these don't need to be
keywords, they can be recreated from whole cloth)
- added 'new' syntax to expressions
(this is needed because of the type as 1st argument - the expression
list is probably not yet implemented, but I think we may want it
eventually)
- removed optional ';'s in sieve example - make it more concise
- fixed several bugs in go.atg, no parses sieve
- added sieve as test case
SVN=112135
Robert Griesemer [Wed, 12 Mar 2008 00:07:25 +0000 (17:07 -0700)]
- go.atg now produces a compileable C++ parser when running through coco
- added a first test case
- running make produces a runnable go parser 'go'
SVN=112127
Robert Griesemer [Tue, 11 Mar 2008 23:40:47 +0000 (16:40 -0700)]
- changed if/switch initial stat syntax to match go compiler and make
it consistent
- changed declaration syntax to match go compiler
SVN=112122
Robert Griesemer [Tue, 11 Mar 2008 23:02:46 +0000 (16:02 -0700)]
- replaced 's in productions everywhere with "s (we were inconsistent in
some places)
- removed extra []'s around switch decl/tag expression - not needed
SVN=112117