1. 07 Oct, 2008 5 commits
    • Russ Cox's avatar
      fix bug: · 96da920f
      Russ Cox authored
      	type T struct
      	export type T struct { a int }
      
      was not exporting T
      
      R=ken
      OCL=16650
      CL=16650
      96da920f
    • Russ Cox's avatar
      test that mutually recursive interfaces compile · eb452f4b
      Russ Cox authored
      R=r
      DELTA=18  (18 added, 0 deleted, 0 changed)
      OCL=16639
      CL=16647
      eb452f4b
    • Russ Cox's avatar
      implement new semicolon rules: · d364d281
      Russ Cox authored
       *  1. all statements and declarations are terminated by semicolons
       *  2. semicolons can be omitted at top level.
       *  3. semicolons can be omitted before and after the closing ) or }
       *	on a list of statements or declarations.
      
      now that semicolons are in, uncomment forward declaration
      	of interfaces
      
      R=ken
      DELTA=285  (124 added, 114 deleted, 47 changed)
      OCL=16638
      CL=16646
      d364d281
    • Russ Cox's avatar
      update code to follow new semicolon rules: · 983f06bd
      Russ Cox authored
       *  1. all statements and declarations are terminated by semicolons
       *  2. semicolons can be omitted at top level.
       *  3. semicolons can be omitted before and after the closing ) or }
       *	on a list of statements or declarations.
      
      /home/rsc/bin/addsemi and then diff+tweak.
      
      R=r,gri
      OCL=16620
      CL=16643
      983f06bd
    • Rob Pike's avatar
      sys.stringtorune doesn't need a length parameter. · 7ee60b17
      Rob Pike authored
      R=rsc
      DELTA=7  (0 added, 0 deleted, 7 changed)
      OCL=16600
      CL=16630
      7ee60b17
  2. 06 Oct, 2008 4 commits
  3. 05 Oct, 2008 3 commits
  4. 04 Oct, 2008 4 commits
  5. 03 Oct, 2008 7 commits
    • Russ Cox's avatar
      silence gcc warnings · 45f4e385
      Russ Cox authored
      R=ken
      OCL=16449
      CL=16466
      45f4e385
    • Russ Cox's avatar
      new import/export format · b8babed7
      Russ Cox authored
          package flag
      	export type flag.Flag struct { name flag.string; usage flag.string; \
      		value flag.Value; next *flag.Flag }
      	type flag.string string
      	type flag.Value interface { AsBool () (? *flag.BoolValue); \
      		AsInt () (? *flag.IntValue); AsString () (? *flag.StringValue); \
      		IsBool () (? flag.bool); IsInt () (? flag.bool); IsString () (? flag.bool); \
      		Str () (? flag.string); ValidValue (str flag.string) (? flag.bool) }
      	type flag.BoolValue struct { val flag.bool; p *flag.bool }
      	type flag.IntValue struct { val flag.int64; p *flag.int64 }
      	type flag.StringValue struct { val flag.string; p *flag.string }
      	type flag.bool bool
      	func (e *flag.StringValue) AsBool () (? *flag.BoolValue)
      	func (e *flag.StringValue) AsInt () (? *flag.IntValue)
      	...
      
      the \ continuations are for this message, not real.
      
      changed delimiter for import from (( )) to $$ $$.
      
      replaced mksys.bash with mksys.c
      
      changed sys.go to use leading export,
      	fake package name is now SYS not foop
      
      don't always require ; on forward func decls
      
      R=ken,r
      DELTA=1827  (446 added, 1083 deleted, 298 changed)
      OCL=16433
      CL=16463
      b8babed7
    • Ken Thompson's avatar
      interfaces of all types · 8877d27b
      Ken Thompson authored
      R=r
      OCL=16462
      CL=16462
      8877d27b
    • Rob Pike's avatar
      allow prof to launch the process · bbb908fe
      Rob Pike authored
      R=rsc
      DELTA=32  (30 added, 0 deleted, 2 changed)
      OCL=16440
      CL=16445
      bbb908fe
    • Robert Griesemer's avatar
      - precise scope rules · 347cf67a
      Robert Griesemer authored
      - clarified naming of invisible fields
      - fixed syntax of expression statements
      
      R=r
      DELTA=70  (33 added, 4 deleted, 33 changed)
      OCL=16424
      CL=16439
      347cf67a
    • Rob Pike's avatar
      Revised wording about sends. · 569a107e
      Rob Pike authored
      Evaluation is done before communication starts.
      
      R=gri
      DELTA=19  (4 added, 1 deleted, 14 changed)
      OCL=16357
      CL=16416
      569a107e
    • Ken Thompson's avatar
      more on arbitrary receiver types · ed139c1e
      Ken Thompson authored
      this CL passes the tests, but should
      be considered unstable
      
      R=r
      OCL=16390
      CL=16390
      ed139c1e
  6. 02 Oct, 2008 7 commits
  7. 01 Oct, 2008 5 commits
  8. 30 Sep, 2008 5 commits