1
0
mirror of https://github.com/golang/go synced 2024-10-04 09:31:22 -06:00
go/src/cmd
Robert Griesemer f3ffd93a61 ast:
- 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
2009-07-16 17:11:18 -07:00
..
5a Added ld/go.c functionality into 5l, primarily dead code 2009-06-09 20:51:53 -07:00
5c move 6c/pgen.c, 6c/pswt.c into cc 2009-07-07 10:07:15 -07:00
5g added missing pieces required by reflection 2009-07-13 22:06:28 -07:00
5l fix undefined function error. 2009-07-13 16:48:09 -07:00
6a throw away most of the compat.h compatibility layer 2009-03-24 12:12:57 -07:00
6c compilers were inconsistent about 2009-07-13 19:20:43 -07:00
6g update 6g to new REGARG convention. 2009-07-13 23:30:30 -07:00
6l compilers were inconsistent about 2009-07-13 19:20:43 -07:00
8a make 8a, 8c build again. 2009-03-24 18:04:19 -07:00
8c compilers were inconsistent about 2009-07-13 19:20:43 -07:00
8g bug168 (dsymonds) + fix 2009-07-09 12:08:50 -07:00
8l compilers were inconsistent about 2009-07-13 19:20:43 -07:00
ar allow forward declaration of struct in another file 2009-06-29 15:13:37 -07:00
cc fix bug in codegen when we modified move instruction instead 2009-07-13 20:33:59 -07:00
cov new flags to 6cov 2008-11-20 11:58:07 -08:00
ebnflint update remaining files to match new scanner/parser interface 2009-07-14 10:46:18 -07:00
gc step toward no function prototypes. 2009-07-13 23:38:39 -07:00
gobuild ast: 2009-07-16 17:11:18 -07:00
godefs make godefs work better for generating Go. 2009-06-01 22:14:25 -07:00
godoc ast: 2009-07-16 17:11:18 -07:00
gofmt ast: 2009-07-16 17:11:18 -07:00
gotest restructure makefiles, scripts to factor out O= logic. 2009-06-05 10:59:55 -07:00
ld dead code 2009-07-14 09:28:42 -07:00
nm fix gotest by fixing nm -s to print in file order by storing a sequence number 2009-04-15 21:57:55 -07:00
prof libmach: 2009-02-03 15:00:09 -08:00
clean.bash ebnflint command 2009-07-13 10:26:58 -07:00
make.bash fix build 2009-06-16 09:39:57 -07:00