1. 14 Jul, 2009 3 commits
  2. 13 Jul, 2009 10 commits
    • Rob Pike's avatar
      rpc. · 9126b75e
      Rob Pike authored
      client library.
      muxes on both ends.
      
      R=rsc
      DELTA=178  (132 added, 26 deleted, 20 changed)
      OCL=31541
      CL=31556
      9126b75e
    • Russ Cox's avatar
      fix undefined function error. · 29e93590
      Russ Cox authored
      before:
      	mainstart: undefined: main·init in mainstart
      	mainstart: branch out of range in mainstart
      	(95)    CALL    ,0(PC) [main·init]
      	mainstart: undefined: main·main in mainstart
      	mainstart: branch out of range in mainstart
      	(97)    CALL    ,0(PC) [main·main]
      	mainstart: doasm: notfound from=6f to=6f (95)    CALL    ,
      	mainstart: doasm: notfound from=6f to=6f (97)    CALL    ,
      	mainstart: doasm: notfound from=6f to=6f (95)    CALL    ,
      	mainstart: doasm: notfound from=6f to=6f (97)    CALL    ,
      	mainstart: doasm: notfound from=6f to=6f (95)    CALL    ,
      	mainstart: doasm: notfound from=6f to=6f (97)    CALL    ,
      
      after:
      	mainstart: undefined: main·init in mainstart
      	mainstart: undefined: main·main in mainstart
      
      R=r
      DELTA=7  (1 added, 0 deleted, 6 changed)
      OCL=31555
      CL=31555
      29e93590
    • Russ Cox's avatar
      add note about once and closures · 8afc6008
      Russ Cox authored
      R=r
      DELTA=13  (13 added, 0 deleted, 0 changed)
      OCL=31535
      CL=31549
      8afc6008
    • Robert Griesemer's avatar
      - handle type forward declarations correctly · 32cd8875
      Robert Griesemer authored
      R=r
      DELTA=8  (6 added, 0 deleted, 2 changed)
      OCL=31537
      CL=31537
      32cd8875
    • Rob Pike's avatar
      the beginnings of an rpc service. · efb918b7
      Rob Pike authored
      server side only; no client help yet (but it's easy).
      no http yet.
      service is synchronous.
      all this will improve.
      
      R=rsc
      DELTA=403  (403 added, 0 deleted, 0 changed)
      OCL=31522
      CL=31536
      efb918b7
    • Rob Pike's avatar
      the name of the type was being sent twice. drop the outer instance. · b2a66adc
      Rob Pike authored
      R=rsc
      DELTA=10  (5 added, 1 deleted, 4 changed)
      OCL=31523
      CL=31526
      b2a66adc
    • Robert Griesemer's avatar
      ebnflint command · 7b7b83ba
      Robert Griesemer authored
      - basic verification of EBNF grammars
      - tested with (and has testcase for) go_spec.html
      
      R=rsc
      DELTA=150  (148 added, 0 deleted, 2 changed)
      OCL=31481
      CL=31517
      7b7b83ba
    • Robert Griesemer's avatar
      Basic EBNF package: · ef4347f1
      Robert Griesemer authored
      - parsing of EBNF grammars
      - basic consistency checks
      
      R=rsc
      DELTA=695  (695 added, 0 deleted, 0 changed)
      OCL=31479
      CL=31516
      ef4347f1
    • Kai Backman's avatar
      fixed typo where output arguments where pushed on to R0 · 092d6290
      Kai Backman authored
      instead of SP.
      
      R=rsc
      APPROVED=rsc
      DELTA=13  (3 added, 7 deleted, 3 changed)
      OCL=31488
      CL=31501
      092d6290
    • Kai Backman's avatar
      Fixed minor typo in asm file. · 7842b03f
      Kai Backman authored
      R=rsc
      APPROVED=rsc
      DELTA=1  (0 added, 0 deleted, 1 changed)
      OCL=31487
      CL=31500
      7842b03f
  3. 11 Jul, 2009 2 commits
  4. 10 Jul, 2009 13 commits
  5. 09 Jul, 2009 11 commits
    • Robert Griesemer's avatar
      fix to scanner_test after change to //-style comment token · f7b92bb4
      Robert Griesemer authored
      R=rsc
      OCL=31421
      CL=31421
      f7b92bb4
    • Russ Cox's avatar
      no longer necessary; directory not empty anymore · ee5fe775
      Russ Cox authored
      R=r
      DELTA=2  (0 added, 2 deleted, 0 changed)
      OCL=31417
      CL=31420
      ee5fe775
    • Russ Cox's avatar
      various spec tunings · ec9b0428
      Russ Cox authored
      R=gri
      DELTA=6  (0 added, 1 deleted, 5 changed)
      OCL=31415
      CL=31419
      ec9b0428
    • Robert Griesemer's avatar
      Show BUG comments in godoc: · 38e7fddc
      Robert Griesemer authored
      ast.go:
      - rename Comments -> CommentGroup (less confusion)
      - change all comments/docs to be *CommentGroup
      
      filter.go:
      - do not remove unassociated comments from program as part
        of export filtering (they are needed by doc.go for BUG comments)
      
      scanner.go:
      - exclude '\n' from //-style comments
      
      parser.go:
      - rewrote collection of comments: now all collected comments
        are *ast.CommentGroups
      - clarified distinction between leading and trailing comments
      - fixed a bug in comment collection (parseGenDecl);
        corresponding test case is in printer/testdata
      - extra documentation
      
      doc.go:
      - collect BUG comments
      - corresponding fix for parser bug in comment collection
      
      comment.go:
      - simplified regex
      
      printer.go:
      - adjust comment printing to new representation
      
      printer_test.go, testdata/*:
      - enable printing of doc comments
      - extended tests
      
      package.html, package.txt:
      - added Bugs section
      
      gofmt:
      - enable printing of doc comments
      
      R=rsc
      DELTA=339  (126 added, 38 deleted, 175 changed)
      OCL=31403
      CL=31416
      38e7fddc
    • Rob Pike's avatar
      store ids rather than Types in the structs so they can be encoded. · ec23467e
      Rob Pike authored
      change Type to gobType.
      fix some bugs around recursive structures.
      lots of cleanup.
      add the first cut at a type encoder.
      
      R=rsc
      DELTA=400  (287 added, 11 deleted, 102 changed)
      OCL=31401
      CL=31406
      ec23467e
    • Russ Cox's avatar
      bug168 (dsymonds) + fix · 7472f4c9
      Russ Cox authored
      R=ken
      OCL=31399
      CL=31399
      7472f4c9
    • Ken Thompson's avatar
      segment fault · 5ff7d848
      Ken Thompson authored
      R=rsc
      OCL=31396
      CL=31396
      5ff7d848
    • David Symonds's avatar
      archive/tar cleanups: · 600d7828
      David Symonds authored
        - rename untar{,_test}.go to reader{,_test}.go.
        - fix up some comments.
        - improve test output if it fails.
      
      R=rsc
      APPROVED=rsc
      DELTA=821  (400 added, 392 deleted, 29 changed)
      OCL=31376
      CL=31378
      600d7828
    • Russ Cox's avatar
      reflection for functions · bba278a4
      Russ Cox authored
      add channel send type check (thanks austin).
      fix type mismatch message.
      
      R=r
      DELTA=241  (225 added, 5 deleted, 11 changed)
      OCL=31370
      CL=31375
      bba278a4
    • Ken Thompson's avatar
      another nil reference · a68b1da3
      Ken Thompson authored
      R=rsc
      OCL=31373
      CL=31373
      a68b1da3
    • David Symonds's avatar
      Basic POSIX-compatible tar writer. · d6d0a390
      David Symonds authored
      R=rsc
      APPROVED=rsc
      DELTA=456  (382 added, 66 deleted, 8 changed)
      OCL=31246
      CL=31372
      d6d0a390
  6. 08 Jul, 2009 1 commit
    • Russ Cox's avatar
      ANY is already checked separately, · 903d28bd
      Russ Cox authored
      so remove code from go.y.
      
      show original types in badtype; don't remove pointers.
      not sure why this was here but it confuses things
      if the bad part involves two named pointer types
      with different names but the same pointed-at type.
      
      R=ken
      OCL=31369
      CL=31369
      903d28bd