1. 17 Jul, 2009 1 commit
    • Robert Griesemer's avatar
      ast: · f3ffd93a
      Robert Griesemer authored
      - renamed Program -> SourceFile
      - added Package node representing the AST for an entire package
      - added filter function to create a source file mimicking the
        interface of an entire package
      
      parser:
      - parser entry to parse entire packages
      - unified naming of parser entry points
      - factored out entry points into new file (interface.go)
      
      gofmt:
      - extended to accept single .go files, and package paths:
        gofmt file.go	     	    // formatting of a single file
        gofmt -x file.go	    // interface of a single file
        gofmt -x ./MyPackage	    // interface of a local package
        gofmt -x math		    // interface of a $GOROOT relative package
      
      Various adjustments in dependent files, documentation.
      
      R=rsc
      DELTA=634  (369 added, 153 deleted, 112 changed)
      OCL=31743
      CL=31748
      f3ffd93a
  2. 16 Jul, 2009 7 commits
    • Rob Pike's avatar
      fix some bad testing prints · b75df2f6
      Rob Pike authored
      R=rsc
      DELTA=5  (0 added, 0 deleted, 5 changed)
      OCL=31740
      CL=31742
      b75df2f6
    • Rob Pike's avatar
      clean up the decode loop and fix a couple of bad prints · 04ae91cf
      Rob Pike authored
      R=rsc
      DELTA=15  (8 added, 2 deleted, 5 changed)
      OCL=31738
      CL=31738
      04ae91cf
    • Austin Clements's avatar
      Fix handling of non-waitable zombie threads. Now they are not · 19022830
      Austin Clements authored
      considered running, so WaitStop doesn't lock up and
      breakpoints get installed and uninstalled.  We also don't try
      to detach from them, since that will fail.
      
      R=rsc
      APPROVED=rsc
      DELTA=35  (26 added, 2 deleted, 7 changed)
      OCL=31683
      CL=31731
      19022830
    • David Symonds's avatar
      exvar: new Timer var type. · 13960ae8
      David Symonds authored
      R=rsc
      APPROVED=r
      DELTA=146  (142 added, 0 deleted, 4 changed)
      OCL=31654
      CL=31716
      13960ae8
    • Rob Pike's avatar
      add rpc to the build · a9be3f46
      Rob Pike authored
      R=rsc
      DELTA=3  (3 added, 0 deleted, 0 changed)
      OCL=31693
      CL=31714
      a9be3f46
    • Rob Pike's avatar
      /usr/local/bin might not exist so use /usr/bin in the chdir test. · 7d94cfdf
      Rob Pike authored
      R=rsc
      DELTA=1  (0 added, 0 deleted, 1 changed)
      OCL=31708
      CL=31713
      7d94cfdf
    • Austin Clements's avatar
      Make Value always represent an l-value and never a generic · 816e3da2
      Austin Clements authored
      container for values.
      
      Instead of having one evaluator function that returns a
      generic Value, there is now an evaluator function for each
      generalized type that simply returns a native type.
      
      The compiler is more type-safe now because there are almost no
      type conversions at evaluation time and it's impossible to
      invoke a nil evaluator function during evaluation.  This also
      makes ideals and pointers really clean.
      
      As an added bonus, expression evaluation should be faster
      because it doesn't require heap allocation for every
      intermediate value, type switches, or lots of conversions to
      and from Value.  It also involves fewer function calls.
      
      R=rsc
      APPROVED=rsc
      DELTA=431  (280 added, 115 deleted, 36 changed)
      OCL=31705
      CL=31709
      816e3da2
  3. 15 Jul, 2009 14 commits
  4. 14 Jul, 2009 18 commits