- 06 Mar, 2009 4 commits
-
-
Russ Cox authored
(renamed to avoid any conflict with old p4 copies). this approach doesn't require auto-generating files also kept in p4, so it should be easier on go users who don't sync very often. this approach will be more work for go developers: builtin.c needs to be copied to builtin.c.boot in p4 as new functions are added. mkbuiltin does this for certain $USERs to help us remember. R=r DELTA=343 (176 added, 162 deleted, 5 changed) OCL=25803 CL=25805
-
Rob Pike authored
R=rsc DELTA=25 (25 added, 0 deleted, 0 changed) OCL=25798 CL=25802
-
Robert Griesemer authored
- removed any symbol table stuff - some interface cleanup - removed lot's of dead wood - half the support for type switches (simple form) - name capitalization Several rounds to come. R=r OCL=25797 CL=25797
-
Rob Pike authored
R=rsc DELTA=9 (4 added, 0 deleted, 5 changed) OCL=25793 CL=25795
-
- 05 Mar, 2009 21 commits
-
-
Russ Cox authored
R=ken OCL=25787 CL=25791
-
Ken Thompson authored
in preparation of type switch. no functional change (yet). R=r OCL=25784 CL=25788
-
Russ Cox authored
R=r DELTA=368 (87 added, 14 deleted, 267 changed) OCL=25773 CL=25786
-
Russ Cox authored
R=r DELTA=110 (64 added, 19 deleted, 27 changed) OCL=25761 CL=25782
-
Robert Griesemer authored
R=r DELTA=1 (0 added, 0 deleted, 1 changed) OCL=25732 CL=25777
-
Russ Cox authored
R=r DELTA=50 (28 added, 0 deleted, 22 changed) OCL=25763 CL=25770
-
Rob Pike authored
deletion beats documentation for deprecation. R=rsc,gri DELTA=509 (2 added, 490 deleted, 17 changed) OCL=25737 CL=25768
-
Russ Cox authored
R=r DELTA=173 (74 added, 14 deleted, 85 changed) OCL=25753 CL=25767
-
Rob Pike authored
R=rsc DELTA=36 (30 added, 0 deleted, 6 changed) OCL=25740 CL=25766
-
Rob Pike authored
R=rsc DELTA=26 (17 added, 1 deleted, 8 changed) OCL=25731 CL=25734
-
Rob Pike authored
also write to stderr not stdout R=rsc DELTA=48 (38 added, 2 deleted, 8 changed) OCL=25729 CL=25733
-
Rob Pike authored
R=rsc OCL=25730 CL=25730
-
Rob Pike authored
R=gri DELTA=3 (0 added, 1 deleted, 2 changed) OCL=25728 CL=25728
-
Russ Cox authored
R=r DELTA=63 (57 added, 1 deleted, 5 changed) OCL=25727 CL=25727
-
Rob Pike authored
add commentary. R=rsc DELTA=231 (41 added, 24 deleted, 166 changed) OCL=25724 CL=25726
-
Rob Pike authored
say a little more about package main. R=rsc DELTA=7 (4 added, 0 deleted, 3 changed) OCL=25725 CL=25725
-
Russ Cox authored
R=ken OCL=25720 CL=25720
-
Russ Cox authored
TBR=gri OCL=25719 CL=25719
-
Russ Cox authored
Major ones: * Be consistent: "numeric type" and "arithmetic operator". * if/swtch take "simple statement" not "short variable declaration". * There was a comment that implied for x,y := range z() might evaluate z() multiple times. I deleted it. R=r,gri DELTA=124 (24 added, 4 deleted, 96 changed) OCL=25706 CL=25715
-
Robert Griesemer authored
R=r OCL=25714 CL=25714
-
Robert Griesemer authored
- move scanner to into lib/lang - added test - adjusted various make and build files R=r DELTA=1731 (973 added, 753 deleted, 5 changed) OCL=25668 CL=25713
-
- 04 Mar, 2009 7 commits
-
-
Russ Cox authored
R=ken OCL=25705 CL=25705
-
Russ Cox authored
fix grammar for forward declaration of interface, struct. move array down next to slice. fix type equal example for structs. R=r,gri DELTA=247 (122 added, 114 deleted, 11 changed) OCL=25694 CL=25704
-
Robert Griesemer authored
- separated out token definition from scanner - cleaned up token and scanner implementation - added comments to exported interfaces R=r OCL=25665 CL=25665
-
Rob Pike authored
R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=25652 CL=25656
-
Rob Pike authored
R=rsc DELTA=5 (0 added, 0 deleted, 5 changed) OCL=25651 CL=25655
-
Rob Pike authored
R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=25648 CL=25654
-
Robert Griesemer authored
- require ()'s around composite literals at the if/for/switch control clause level - fixed a nasty bug: passing a value instead of a pointer to a value to an interface variable - and not noticing that the value is copied R=r OCL=25649 CL=25649
-
- 03 Mar, 2009 8 commits
-
-
Russ Cox authored
(i.e., the status quo with braces in composite literals). DELTA=20 (16 added, 0 deleted, 4 changed) OCL=25640 CL=25646
-
Russ Cox authored
R=ken DELTA=131 (60 added, 41 deleted, 30 changed) OCL=25617 CL=25633
-
Russ Cox authored
plus significant hand editing. Back to T{x} for composite literals. R=r OCL=25612 CL=25632
-
Russ Cox authored
allow conversions between equal types. R=r DELTA=15 (4 added, 4 deleted, 7 changed) OCL=25618 CL=25630
-
Robert Griesemer authored
- removed unneeded code that accumulated over time - change src from string to []byte (perhaps should be io.Read but that has some other disadvantages) - simplified interface R=r OCL=25615 CL=25615
-
Rob Pike authored
R=rsc OCL=25614 CL=25614
-
Rob Pike authored
R=rsc DELTA=41 (9 added, 4 deleted, 28 changed) OCL=25611 CL=25611
-
Robert Griesemer authored
- more test cases R=rsc DELTA=97 (52 added, 4 deleted, 41 changed) OCL=25585 CL=25607
-