]> Cypherpunks repositories - gostls13.git/log
gostls13.git
16 years agoupdate golden.out
Rob Pike [Mon, 27 Oct 2008 18:08:01 +0000 (11:08 -0700)]
update golden.out

R=ken
OCL=17900
CL=17900

16 years ago- added simple facility to print Makefile dependency rules given a Go source file
Robert Griesemer [Mon, 27 Oct 2008 04:32:30 +0000 (21:32 -0700)]
- added simple facility to print Makefile dependency rules given a Go source file
  (e.g.: pretty -d pretty.go will print the Makefile dep. rules of the involved
  Go files that are not part of the installed library)
- minor fix in pretty printer (tested against ken's test files)

R=r
OCL=17872
CL=17872

16 years agoallow len := 0
Ken Thompson [Sun, 26 Oct 2008 21:04:09 +0000 (14:04 -0700)]
allow len := 0

R=r
OCL=17869
CL=17869

16 years agouse embedded types to save boilerplate - almost 300 lines' worth
Rob Pike [Sun, 26 Oct 2008 15:28:33 +0000 (08:28 -0700)]
use embedded types to save boilerplate - almost 300 lines' worth

R=rsc
DELTA=427  (53 added, 302 deleted, 72 changed)
OCL=17857
CL=17868

16 years agofix top-level comments
Rob Pike [Sun, 26 Oct 2008 15:27:50 +0000 (08:27 -0700)]
fix top-level comments

R=rsc
DELTA=14  (13 added, 0 deleted, 1 changed)
OCL=17858
CL=17867

16 years agodelete unused reflection playpen
Rob Pike [Sun, 26 Oct 2008 15:27:27 +0000 (08:27 -0700)]
delete unused reflection playpen

R=rsc
DELTA=442  (0 added, 442 deleted, 0 changed)
OCL=17854
CL=17866

16 years agotest
Ken Thompson [Sat, 25 Oct 2008 22:26:35 +0000 (15:26 -0700)]
test

R=r
OCL=17855
CL=17855

16 years agobug
Ken Thompson [Sat, 25 Oct 2008 21:24:51 +0000 (14:24 -0700)]
bug

R=r
OCL=17853
CL=17853

16 years agobug
Ken Thompson [Sat, 25 Oct 2008 20:50:18 +0000 (13:50 -0700)]
bug

R=r
OCL=17852
CL=17852

16 years agoembedded methods
Ken Thompson [Sat, 25 Oct 2008 20:31:25 +0000 (13:31 -0700)]
embedded methods

R=r
OCL=17851
CL=17851

16 years agoPer discussion earlier today with r and gri: when an interface
Ian Lance Taylor [Sat, 25 Oct 2008 05:40:32 +0000 (22:40 -0700)]
Per discussion earlier today with r and gri: when an interface
object has a value of type "int", it should not automatically
convert to type "int32".  That is, the type alias "int" should
be regarded as having been defined as though "type int int32"
appeared outside of the package, and as therefore being a
different type from "int32".

R=ken
DELTA=21  (20 added, 0 deleted, 1 changed)
OCL=17587
CL=17842

16 years agoreplaced baked-in address with @ so test passes on linux
Rob Pike [Sat, 25 Oct 2008 04:02:51 +0000 (21:02 -0700)]
replaced baked-in address with @ so test passes on linux

R=rsc
OCL=17841
CL=17841

16 years agoanother step toward interface subtypes
Ken Thompson [Sat, 25 Oct 2008 03:14:28 +0000 (20:14 -0700)]
another step toward interface subtypes
put explicit ./ on some runtime tests

R=r
OCL=17839
CL=17839

16 years agoavoid JMP to ATEXT in xfol
Russ Cox [Sat, 25 Oct 2008 00:10:51 +0000 (17:10 -0700)]
avoid JMP to ATEXT in xfol

R=ken
OCL=17833
CL=17833

16 years agofix JMP main(SB)
Russ Cox [Fri, 24 Oct 2008 23:43:12 +0000 (16:43 -0700)]
fix JMP main(SB)

R=ken
OCL=17832
CL=17832

16 years agoadd printf to fmt.
Rob Pike [Fri, 24 Oct 2008 23:33:29 +0000 (16:33 -0700)]
add printf to fmt.
uses reflection to determine arguments.
for now, the arguments must be provided as a struct; the compiler
will soon do the packaging automatically for "..." parameters.

R=rsc
DELTA=1436  (909 added, 520 deleted, 7 changed)
OCL=17823
CL=17831

16 years agofix method function type compare bug (again)
Russ Cox [Fri, 24 Oct 2008 21:56:54 +0000 (14:56 -0700)]
fix method function type compare bug (again)

R=ken
OCL=17819
CL=17819

16 years agoAutomated g4 rollback of changelist 17815.
Russ Cox [Fri, 24 Oct 2008 21:32:48 +0000 (14:32 -0700)]
Automated g4 rollback of changelist 17815.

*** Reason for rollback ***

  now it's comparing function parameter names...

*** Original change description ***

fix method function type compare bug

R=ken
OCL=17816
CL=17816

16 years agofix method function type compare bug
Russ Cox [Fri, 24 Oct 2008 21:29:01 +0000 (14:29 -0700)]
fix method function type compare bug

R=ken
OCL=17815
CL=17815

16 years ago- missing file
Robert Griesemer [Fri, 24 Oct 2008 21:08:01 +0000 (14:08 -0700)]
- missing file

R=r
OCL=17813
CL=17813

16 years ago- set initial value in flag variable if provided
Robert Griesemer [Fri, 24 Oct 2008 21:05:42 +0000 (14:05 -0700)]
- set initial value in flag variable if provided

R=r
DELTA=10  (9 added, 0 deleted, 1 changed)
OCL=17806
CL=17812

16 years ago- some factoring of scan/parse phase so we can attach other functionality
Robert Griesemer [Fri, 24 Oct 2008 21:04:54 +0000 (14:04 -0700)]
- some factoring of scan/parse phase so we can attach other functionality
  easily (for instance import dependency extraction)
- support for new "..." syntax
- minor cleanup

R=r
OCL=17811
CL=17811

16 years agoPreparation for varargs: Proposal for syntax.
Robert Griesemer [Fri, 24 Oct 2008 20:13:12 +0000 (13:13 -0700)]
Preparation for varargs: Proposal for syntax.

DELTA=11  (7 added, 0 deleted, 4 changed)
OCL=17772
CL=17804

16 years agomake fmt a directory
Rob Pike [Fri, 24 Oct 2008 17:42:54 +0000 (10:42 -0700)]
make fmt a directory
some build dependencies need rearrangement because fmt will depend on reflect

R=rsc
DELTA=1091  (567 added, 521 deleted, 3 changed)
OCL=17792
CL=17796

16 years ago- expanded parsing heuristics to deal with new(T, ...)
Robert Griesemer [Fri, 24 Oct 2008 00:56:54 +0000 (17:56 -0700)]
- expanded parsing heuristics to deal with new(T, ...)
- fixed an issue with select
- added all bugs and fixedbugs tests that are syntactically correct to the test suite
- minor cosmetic changes

R=r
OCL=17759
CL=17759

16 years agomake reflect compile again
Rob Pike [Fri, 24 Oct 2008 00:39:15 +0000 (17:39 -0700)]
make reflect compile again

R=rsc
DELTA=9  (4 added, 4 deleted, 1 changed)
OCL=17753
CL=17755

16 years ago- clarified that composites are values created every time they
Robert Griesemer [Fri, 24 Oct 2008 00:19:56 +0000 (17:19 -0700)]
- clarified that composites are values created every time they
are evaluated, removed corresponding TODO.

R=r
DELTA=5  (3 added, 1 deleted, 1 changed)
OCL=17746
CL=17751

16 years agoadd reflect to build, clean up test
Rob Pike [Fri, 24 Oct 2008 00:13:34 +0000 (17:13 -0700)]
add reflect to build, clean up test

R=rsc
DELTA=341  (188 added, 151 deleted, 2 changed)
OCL=17678
CL=17750

16 years agouse &T{1,2,3} constructor for simple new cases
Russ Cox [Thu, 23 Oct 2008 19:41:06 +0000 (12:41 -0700)]
use &T{1,2,3} constructor for simple new cases

R=r
OCL=17691
CL=17719

16 years agoFirst cut at incorporating anonymous fields of pointer types into the
Robert Griesemer [Thu, 23 Oct 2008 19:04:45 +0000 (12:04 -0700)]
First cut at incorporating anonymous fields of pointer types into the
spec.

I have deliberately removed the wording about receivers where it was
before because I think it needs to be more precise. There is a TODO.

DELTA=90  (54 added, 0 deleted, 36 changed)
OCL=17597
CL=17716

16 years agoupdate golden.out
Russ Cox [Thu, 23 Oct 2008 18:44:01 +0000 (11:44 -0700)]
update golden.out

R=iant
DELTA=4  (0 added, 0 deleted, 4 changed)
OCL=17680
CL=17711

16 years agoembedded types
Ken Thompson [Thu, 23 Oct 2008 01:18:08 +0000 (18:18 -0700)]
embedded types
auto & on methods

R=r
OCL=17682
CL=17682

16 years agodo not use fake names on anonymous function return values
Russ Cox [Thu, 23 Oct 2008 00:45:47 +0000 (17:45 -0700)]
do not use fake names on anonymous function return values

R=ken
OCL=17679
CL=17679

16 years agoembedded types
Ken Thompson [Thu, 23 Oct 2008 00:25:10 +0000 (17:25 -0700)]
embedded types

R=r
OCL=17676
CL=17676

16 years agomove reflection code into final place.
Rob Pike [Thu, 23 Oct 2008 00:12:07 +0000 (17:12 -0700)]
move reflection code into final place.
this is just a branch.
next cl will update and add to build

R=rsc
DELTA=4528  (2264 added, 2264 deleted, 0 changed)
OCL=17670
CL=17672

16 years agoReflection values.
Rob Pike [Wed, 22 Oct 2008 23:48:17 +0000 (16:48 -0700)]
Reflection values.

R=rsc
DELTA=206  (79 added, 25 deleted, 102 changed)
OCL=17652
CL=17669

16 years agoMatch gccgo error messages.
Ian Lance Taylor [Wed, 22 Oct 2008 23:09:24 +0000 (16:09 -0700)]
Match gccgo error messages.

convlit.go:17: error: incompatible type in initialization
convlit.go:18: error: incompatible types in binary expression
convlit.go:19: error: incompatible types in binary expression
convlit.go:20: error: incompatible types in binary expression
convlit.go:21: error: incompatible types in binary expression
convlit.go:23: error: cannot convert non-integer constant
convlit.go:24: error: integer type overflow
convlit.go:25: error: floating point overflow

R=rsc
DELTA=5  (0 added, 0 deleted, 5 changed)
OCL=17649
CL=17661

16 years agoimport/export of embedded types
Russ Cox [Wed, 22 Oct 2008 20:22:56 +0000 (13:22 -0700)]
import/export of embedded types

R=ken
OCL=17643
CL=17643

16 years agofix handling of *f() = 1
Russ Cox [Wed, 22 Oct 2008 20:13:01 +0000 (13:13 -0700)]
fix handling of *f() = 1

R=ken
OCL=17625
CL=17641

16 years agoAdd names to types to avoid recursive explosion and to get
Rob Pike [Wed, 22 Oct 2008 20:02:43 +0000 (13:02 -0700)]
Add names to types to avoid recursive explosion and to get
the right answer when a type name redefines an existing type.

R=rsc
DELTA=133  (53 added, 8 deleted, 72 changed)
OCL=17637
CL=17639

16 years ago- exclude newfn.go from tests - cannot be parsed syntactically alone
Robert Griesemer [Wed, 22 Oct 2008 18:27:18 +0000 (11:27 -0700)]
- exclude newfn.go from tests - cannot be parsed syntactically alone
in general

R=rsc
DELTA=2  (1 added, 0 deleted, 1 changed)
OCL=17624
CL=17624

16 years agoMore reflection code.
Rob Pike [Wed, 22 Oct 2008 18:02:56 +0000 (11:02 -0700)]
More reflection code.
Beginnings of values.
typestrings are grabbed from the environment.

R=rsc
APPROVED=rsc
DELTA=1046  (952 added, 3 deleted, 91 changed)
OCL=17593
CL=17621

16 years agoelided dots
Ken Thompson [Wed, 22 Oct 2008 03:55:40 +0000 (20:55 -0700)]
elided dots

R=r
OCL=17601
CL=17601

16 years agoreject new of function type
Russ Cox [Wed, 22 Oct 2008 01:03:25 +0000 (18:03 -0700)]
reject new of function type

R=ken
OCL=17598
CL=17598

16 years agofix a couple of inconsequential glitches in regexp code.
Rob Pike [Wed, 22 Oct 2008 00:18:34 +0000 (17:18 -0700)]
fix a couple of inconsequential glitches in regexp code.

R=rsc
DELTA=2  (0 added, 1 deleted, 1 changed)
OCL=17589
CL=17595

16 years agorewrite &Point{1, 2} as allocation
Russ Cox [Tue, 21 Oct 2008 23:53:54 +0000 (16:53 -0700)]
rewrite &Point{1, 2} as allocation

R=ken
OCL=17592
CL=17592

16 years agoinclude local types in typestrings
Russ Cox [Tue, 21 Oct 2008 22:57:38 +0000 (15:57 -0700)]
include local types in typestrings

R=r
DELTA=16  (14 added, 1 deleted, 1 changed)
OCL=17584
CL=17584

16 years ago6g: use full type in sigt[0].name
Russ Cox [Tue, 21 Oct 2008 22:38:26 +0000 (15:38 -0700)]
6g: use full type in sigt[0].name
sys: add sys.reflect
runtime: add canfail flag for later

R=ken
OCL=17583
CL=17583

16 years agochanges to imbedded
Ken Thompson [Tue, 21 Oct 2008 22:04:10 +0000 (15:04 -0700)]
changes to imbedded

R=r
OCL=17572
CL=17572

16 years agostop looking for type names beginning with _.
Russ Cox [Tue, 21 Oct 2008 21:44:31 +0000 (14:44 -0700)]
stop looking for type names beginning with _.
they're gone.

R=ken
OCL=17569
CL=17569

16 years ago6g:
Russ Cox [Tue, 21 Oct 2008 21:34:45 +0000 (14:34 -0700)]
6g:
* print int as int, not P.int
* write type info for non-exported types
   in its own new section.

ar:
skip over rest of line after $$

R=ken
OCL=17568
CL=17568

16 years ago6l: invent gotypestrings if needed
Russ Cox [Tue, 21 Oct 2008 17:40:16 +0000 (10:40 -0700)]
6l: invent gotypestrings if needed

R=r
DELTA=419  (409 added, 5 deleted, 5 changed)
OCL=17524
CL=17530

16 years ago- remove inconsistent directory from tests
Robert Griesemer [Tue, 21 Oct 2008 00:37:48 +0000 (17:37 -0700)]
- remove inconsistent directory from tests

R=rsc
DELTA=1  (0 added, 1 deleted, 0 changed)
OCL=17514
CL=17514

16 years ago6l:
Russ Cox [Tue, 21 Oct 2008 00:33:51 +0000 (17:33 -0700)]
6l:
use libbio instead of maintaining own buffer

libbio:
always use vlong offsets; die if off_t is too small

R=r
DELTA=163  (23 added, 63 deleted, 77 changed)
OCL=17508
CL=17512

16 years agoenable tests that verify that pretty-printed code can be compiled with 6g again
Robert Griesemer [Tue, 21 Oct 2008 00:13:02 +0000 (17:13 -0700)]
enable tests that verify that pretty-printed code can be compiled with 6g again

R=r
OCL=17510
CL=17510

16 years agoMatch error messages generated by gccgo:
Ian Lance Taylor [Tue, 21 Oct 2008 00:10:03 +0000 (17:10 -0700)]
Match error messages generated by gccgo:

convlit1.go:6:15: error: composite literal requires array, map, or struct type
convlit1.go:5:16: error: incompatible type for element 0 in composite literal
convlit1.go:10:15: error: incompatible types in binary expression

R=rsc
DELTA=2  (0 added, 0 deleted, 2 changed)
OCL=17506
CL=17509

16 years ago- fixed missing parens in some cases of unary expressions
Robert Griesemer [Mon, 20 Oct 2008 23:44:03 +0000 (16:44 -0700)]
- fixed missing parens in some cases of unary expressions
- added validation test verifying that pretty output compiles with 6g again (disabled at the moment)
- replaced another recursive function with an interative solution

R=r
OCL=17505
CL=17505

16 years agofix compiler warnings
Russ Cox [Mon, 20 Oct 2008 22:26:38 +0000 (15:26 -0700)]
fix compiler warnings

R=r
DELTA=44  (10 added, 9 deleted, 25 changed)
OCL=17502
CL=17502

16 years agouse Biobuf not fd for reading objects.
Russ Cox [Mon, 20 Oct 2008 22:21:59 +0000 (15:21 -0700)]
use Biobuf not fd for reading objects.
will make reading type info easier.

R=r
DELTA=21  (2 added, 1 deleted, 18 changed)
OCL=17491
CL=17501

16 years agoadd nuke
Russ Cox [Mon, 20 Oct 2008 22:21:52 +0000 (15:21 -0700)]
add nuke

R=r
DELTA=3  (3 added, 0 deleted, 0 changed)
OCL=17497
CL=17500

16 years agorun.bash: do not make test in gosrc
Russ Cox [Mon, 20 Oct 2008 22:08:53 +0000 (15:08 -0700)]
run.bash: do not make test in gosrc

R=gri
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=17476
CL=17499

16 years ago- use stringtorune library function for faster rune scanning
Robert Griesemer [Mon, 20 Oct 2008 22:03:40 +0000 (15:03 -0700)]
- use stringtorune library function for faster rune scanning
- converted 2 right-recursive parsing functions into iterative versions
- renamed node.go -> ast.go (clearer)

R=r
OCL=17496
CL=17498

16 years ago6g:
Russ Cox [Mon, 20 Oct 2008 20:53:56 +0000 (13:53 -0700)]
6g:
make sure methods end up immediately following
the struct they are methods on.
ar:
eliminate duplicate definitions from __.PKGDEF.
check that multiple .6 do not give different defs for same
exported type/var/func/const.
increase ar header name size from 16 to 64 bytes

R=r
DELTA=379  (333 added, 18 deleted, 28 changed)
OCL=17477
CL=17481

16 years agoadd primitive ftoa, dtoa to strings library.
Rob Pike [Mon, 20 Oct 2008 20:53:20 +0000 (13:53 -0700)]
add primitive ftoa, dtoa to strings library.

R=rsc
DELTA=72  (69 added, 0 deleted, 3 changed)
OCL=17478
CL=17480

16 years ago- removed double-declaration of len()
Robert Griesemer [Mon, 20 Oct 2008 19:51:18 +0000 (12:51 -0700)]
- removed double-declaration of len()

R=r
OCL=17463
CL=17463

16 years agoadd io.ReadWriteClose and use it in http
Russ Cox [Mon, 20 Oct 2008 19:37:07 +0000 (12:37 -0700)]
add io.ReadWriteClose and use it in http

R=r
DELTA=15  (6 added, 7 deleted, 2 changed)
OCL=17447
CL=17461

16 years ago- be even more explicit about ideal number conversion in expressions
Robert Griesemer [Mon, 20 Oct 2008 18:46:40 +0000 (11:46 -0700)]
- be even more explicit about ideal number conversion in expressions
- added a note with respect the difference of semantics of *p++ in Go vs C

R=r
DELTA=14  (6 added, 2 deleted, 6 changed)
OCL=17455
CL=17457

16 years ago- removed need for lhs field in stat node
Robert Griesemer [Mon, 20 Oct 2008 17:01:34 +0000 (10:01 -0700)]
- removed need for lhs field in stat node
- as a result deleted some more code

R=r
OCL=17449
CL=17449

16 years agounnamed substructures - not complete
Ken Thompson [Mon, 20 Oct 2008 03:13:37 +0000 (20:13 -0700)]
unnamed substructures - not complete

R=r
OCL=17437
CL=17437

16 years ago- simplified parsing of composite literals and slices by
Robert Griesemer [Sun, 19 Oct 2008 03:20:30 +0000 (20:20 -0700)]
- simplified parsing of composite literals and slices by
  treating ":" as lowest-level binary operator
- more precise error message for composites
- added flag -columns (false) - when set, prints precise error column
- a few more tests

R=r
OCL=17428
CL=17428

16 years agoAdded mechanism for very precise self-testing:
Robert Griesemer [Sat, 18 Oct 2008 23:42:25 +0000 (16:42 -0700)]
Added mechanism for very precise self-testing:
- in selftest mode (-t) interpret comments of the form /* ERROR */ and /* SYNC */
  and validate reported errors with the error markings in a file
- added initial selftest.go file

Also:
- fixed an issue with empty blocks
- generally report better error messages
- added many more tests to the test script (essentially all .go programs which
  have no syntax errors)

R=r
OCL=17426
CL=17426

16 years agobeginnings of reflection values.
Rob Pike [Sat, 18 Oct 2008 01:06:29 +0000 (18:06 -0700)]
beginnings of reflection values.

R=rsc
DELTA=421  (357 added, 17 deleted, 47 changed)
OCL=17388
CL=17401

16 years agofix typo causing infinite recursion
Rob Pike [Sat, 18 Oct 2008 00:59:27 +0000 (17:59 -0700)]
fix typo causing infinite recursion

R=rsc
OCL=17398
CL=17398

16 years agodo not set t->recur on basic types.
Russ Cox [Sat, 18 Oct 2008 00:51:29 +0000 (17:51 -0700)]
do not set t->recur on basic types.
the comment talked about printing, but now
t->recur is only used for typehash.
in typehash it is important to compute different
hashes for the different basic types.

add test that makes sure an interface { X() int8 }
cannot be used as interface { X() int64 }

R=ken
OCL=17396
CL=17396

16 years agocleanup - delete unneeded vargen++
Russ Cox [Sat, 18 Oct 2008 00:45:32 +0000 (17:45 -0700)]
cleanup - delete unneeded vargen++

R=ken
OCL=17394
CL=17394

16 years agoadd atol and ltoa. probably want unsigned at some point too.
Rob Pike [Sat, 18 Oct 2008 00:28:09 +0000 (17:28 -0700)]
add atol and ltoa.  probably want unsigned at some point too.

R=rsc
DELTA=14  (10 added, 0 deleted, 4 changed)
OCL=17387
CL=17390

16 years ago- fixed bug that wasn't caught by 6g (but by gccgo)
Robert Griesemer [Fri, 17 Oct 2008 23:27:49 +0000 (16:27 -0700)]
- fixed bug that wasn't caught by 6g (but by gccgo)

R=r
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=17380
CL=17380

16 years ago- fixed a couple of corner cases (empty statements, empty composites)
Robert Griesemer [Fri, 17 Oct 2008 23:19:31 +0000 (16:19 -0700)]
- fixed a couple of corner cases (empty statements, empty composites)
- more robust printing in presence of errors
- fixed incorrect printing of function literals

R=r
OCL=17378
CL=17378

16 years agoexport prereq for interface types
Russ Cox [Fri, 17 Oct 2008 23:13:17 +0000 (16:13 -0700)]
export prereq for interface types

R=ken
OCL=17377
CL=17377

16 years agoLink against -lm so that we can find the function "floor".
Ian Lance Taylor [Fri, 17 Oct 2008 22:52:49 +0000 (15:52 -0700)]
Link against -lm so that we can find the function "floor".

R=rsc
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=17375
CL=17375

16 years agoupdate fixed bugs (and delete an irrelevant one)
Rob Pike [Fri, 17 Oct 2008 18:48:51 +0000 (11:48 -0700)]
update fixed bugs (and delete an irrelevant one)

R=rsc
DELTA=328  (158 added, 170 deleted, 0 changed)
OCL=17353
CL=17359

16 years agoadd simple synchronization mechanism.
Rob Pike [Fri, 17 Oct 2008 17:58:34 +0000 (10:58 -0700)]
add simple synchronization mechanism.

R=rsc
DELTA=25  (19 added, 1 deleted, 5 changed)
OCL=17346
CL=17346

16 years agomake sure errchk only says BUG once,
Russ Cox [Fri, 17 Oct 2008 14:41:18 +0000 (07:41 -0700)]
make sure errchk only says BUG once,
so that run's count is correct

R=iant,r
DELTA=20  (12 added, 0 deleted, 8 changed)
OCL=17329
CL=17342

16 years ago- stronger syntax checks
Robert Griesemer [Fri, 17 Oct 2008 06:30:42 +0000 (23:30 -0700)]
- stronger syntax checks
- fixed a bug with non-eof terminated //-style comments
- collecting comments
- first experiments with reproducing comments
  (works but not very pretty, disabled for now)
- idempotent for all correct .go files we have checked in

R=r
OCL=17333
CL=17333

16 years ago- added test script
Robert Griesemer [Fri, 17 Oct 2008 02:24:33 +0000 (19:24 -0700)]
- added test script
- fixed a couple of printing bugs
status: parses, reproduces, and idempotently reproduces all correct .go files

R=r
OCL=17332
CL=17332

16 years agotype string parser; now handles all types
Rob Pike [Fri, 17 Oct 2008 01:09:38 +0000 (18:09 -0700)]
type string parser; now handles all types

R=rsc
DELTA=253  (153 added, 81 deleted, 19 changed)
OCL=17331
CL=17331

16 years agonew convert code found error
Russ Cox [Thu, 16 Oct 2008 23:51:12 +0000 (16:51 -0700)]
new convert code found error

R=r
OCL=17327
CL=17327

16 years agoparsing of type strings. still missing: func, struct, interface, chan
Rob Pike [Thu, 16 Oct 2008 23:38:33 +0000 (16:38 -0700)]
parsing of type strings.  still missing: func, struct, interface, chan

R=rsc
DELTA=366  (337 added, 7 deleted, 22 changed)
OCL=17321
CL=17324

16 years agodiagnose various conversion problems
Russ Cox [Thu, 16 Oct 2008 22:59:31 +0000 (15:59 -0700)]
diagnose various conversion problems

R=ken
OCL=17320
CL=17320

16 years ago- more robust TokenString implementation
Robert Griesemer [Thu, 16 Oct 2008 22:28:36 +0000 (15:28 -0700)]
- more robust TokenString implementation

R=r
OCL=17319
CL=17319

16 years agoclarification of conversion rules for ideal numbers
Robert Griesemer [Thu, 16 Oct 2008 22:03:22 +0000 (15:03 -0700)]
clarification of conversion rules for ideal numbers

R=r
DELTA=21  (11 added, 1 deleted, 9 changed)
OCL=17316
CL=17316

16 years agosnapshot:
Robert Griesemer [Thu, 16 Oct 2008 21:25:23 +0000 (14:25 -0700)]
snapshot:
- typeguards, var decls, several printing bug fixed
- now fully idempotent on many files (which are accepted by 6g afterwards)
- still some detail issues

R=r
OCL=17310
CL=17310

16 years agoput toplevel & check back and add test
Russ Cox [Thu, 16 Oct 2008 21:02:20 +0000 (14:02 -0700)]
put toplevel & check back and add test

R=ken
OCL=17307
CL=17307

16 years agodiagnosed some incorrect
Ken Thompson [Thu, 16 Oct 2008 20:29:03 +0000 (13:29 -0700)]
diagnosed some incorrect
inputs for method receivers.

R=r
OCL=17304
CL=17304

16 years ago- composites, receivers, various add. checks
Robert Griesemer [Thu, 16 Oct 2008 19:16:50 +0000 (12:16 -0700)]
- composites, receivers, various add. checks

R=r
OCL=17295
CL=17295

16 years agoChange file name from "print" to "tostring" and update the rest.
Rob Pike [Thu, 16 Oct 2008 18:19:48 +0000 (11:19 -0700)]
Change file name from "print" to "tostring" and update the rest.

R=rsc
DELTA=225  (109 added, 107 deleted, 9 changed)
OCL=17294
CL=17294

16 years agoconvert print to ToString.
Rob Pike [Thu, 16 Oct 2008 18:12:02 +0000 (11:12 -0700)]
convert print to ToString.
file name change in next round.

R=rsc
DELTA=71  (18 added, 19 deleted, 34 changed)
OCL=17291
CL=17293

16 years agosnapshot:
Robert Griesemer [Thu, 16 Oct 2008 17:16:59 +0000 (10:16 -0700)]
snapshot:
- fallthrough stat, label decls
- improved printing layout

R=r
OCL=17283
CL=17283

16 years agodiagnose export of incomplete type
Russ Cox [Thu, 16 Oct 2008 00:51:23 +0000 (17:51 -0700)]
diagnose export of incomplete type

R=ken
OCL=17253
CL=17253

16 years agoremove hack now that vector of int works.
Rob Pike [Thu, 16 Oct 2008 00:20:37 +0000 (17:20 -0700)]
remove hack now that vector of int works.

R=rsc
DELTA=9  (0 added, 3 deleted, 6 changed)
OCL=17248
CL=17250