Age | Commit message (Collapse) | Author | Files | Lines |
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/194126
|
|
- provide scope to parse functions; if non-nil, parser uses the scope
to declare and lookup identifiers
- resolve forward references where possible
R=rsc
CC=golang-dev
http://codereview.appspot.com/194098
|
|
- Identifiers refer now to the language entity (Object)
that they denote. At the moment this is at best an
approximation.
- Initial data structures for language entities (Objects)
and expression types (Type) independent of the actual
type notations.
- Initial support for declaring and looking up identifiers.
- Updated various dependent files and added support functions.
- Extensively tested to avoid breakage. This is an AST change.
R=rsc
CC=golang-dev, rog
http://codereview.appspot.com/189080
|
|
Fixes issue 531.
R=r
CC=golang-dev
http://codereview.appspot.com/189078
|
|
Manual changes to the following files:
src/pkg/Makefile
src/pkg/exp/vector/Makefile (now: src/pkg/container/vector/Makefile)
R=rsc, r
CC=golang-dev
http://codereview.appspot.com/181041
|
|
R=r
CC=golang-dev
http://codereview.appspot.com/180108
|
|
R=gri
CC=rsc
http://codereview.appspot.com/178048
Committer: Robert Griesemer <gri@golang.org>
|
|
now that the parser doesn't do this test anymore
R=rsc
CC=golang-dev
http://codereview.appspot.com/179105
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/179099
|
|
in parser's ParsePkgFile and ParsePackage functions.
R=rsc
CC=golang-dev, rog
http://codereview.appspot.com/180070
|
|
parsing and printing to new syntax.
Use -oldparser to parse the old syntax,
use -oldprinter to print the old syntax.
2) Change default gofmt formatting settings
to use tabs for indentation only and to use
spaces for alignment. This will make the code
alignment insensitive to an editor's tabwidth.
Use -spaces=false to use tabs for alignment.
3) Manually changed src/exp/parser/parser_test.go
so that it doesn't try to parse the parser's
source files using the old syntax (they have
new syntax now).
4) gofmt -w src misc test/bench
2nd set of files.
R=rsc
CC=golang-dev
http://codereview.appspot.com/179067
|
|
This change removes the necessity to have GOBIN in $PATH,
and also doesn't assume that the build is being run from
$GOROOT/src. This is a minimal set of necessary changes
to get Go to build happily from the FreeBSD ports
collection.
R=rsc
CC=golang-dev
http://codereview.appspot.com/171044
Committer: Russ Cox <rsc@golang.org>
|
|
- oldparser parse old syntax (required semicolons)
- oldprinter print old syntax (required semicolons)
By default, these flags are enabled for now.
Setting -oldparser=false has no effect until go/parser is changed
to accept the new syntax.
Enabled exp/parser in Makefile; update dependent exp/eval.
R=rsc
http://codereview.appspot.com/174051
|
|
to allow simultaneous import with the
current go/parser
R=rsc
http://codereview.appspot.com/174053
|
|
R=rsc
CC=r
http://codereview.appspot.com/175045
|
|
R=rsc
http://codereview.appspot.com/172042
|
|
R=rsc
http://codereview.appspot.com/172041
|
|
add README explaining how to try the
web demos.
Fixes issue 339.
R=r
CC=barry.d.silverman, bss, vadim
http://codereview.appspot.com/165057
|
|
Modify iterFunc to take chan<- instead of just chan.
R=rsc, dsymonds1
CC=golang-dev, r
http://codereview.appspot.com/160064
Committer: Russ Cox <rsc@golang.org>
|
|
this breaks the dependency of package io on package bytes.
R=rsc
CC=golang-dev
http://codereview.appspot.com/163085
|
|
(compile tested only)
R=r, rsc
http://codereview.appspot.com/161069
Committer: Russ Cox <rsc@golang.org>
|
|
this is the exact same thing issue #115 is about. fix makefiles to use relative
path to work in the case we have whitespaces as part of GOROOT.
R=rsc
http://codereview.appspot.com/162055
Committer: Russ Cox <rsc@golang.org>
|
|
This provides an experimental X11 backend for the exp/draw interface.
It does not aim to provide a complete implementation of the X11 client protocol.
This works for me (Ubuntu Hardy 8.04, GOARCH=386). Your mileage my vary.
R=r, rsc, r1
CC=golang-dev
http://codereview.appspot.com/156109
|
|
- removed New(len int) in favor of new(Vector).Resize(len, cap)
- removed Init(len int) in favor of Resize(len, cap)
- runs all.bash
Fixes issue 294.
R=rsc, r, r1
http://codereview.appspot.com/157143
|
|
R=dsymonds1, rsc
http://codereview.appspot.com/156079
Committer: Russ Cox <rsc@golang.org>
|
|
the bash scripts and makefiles for building go didn't take into account
the fact $GOROOT / $GOBIN could both be directories containing whitespaces,
and was not possible to build it in such a situation.
this commit adjusts the various makefiles/scripts to make it aware of that
possibility, and now it builds successfully when using a path with whitespaces
as well.
Fixes issue 115.
R=rsc, dsymonds1
http://codereview.appspot.com/157067
Committer: Russ Cox <rsc@golang.org>
|
|
Meant as illustration of the Go pattern that is using
goroutines and channels to handle exceptional situations.
Note: There is no need for "Finally" since the
"try block" (the function f supplied to Try)
cannot do a Smalltalk-style non-local return
and terminate the function surrounding Try.
Replaces CL 157083.
R=r, rsc
http://codereview.appspot.com/157087
|
|
R=r, gri
CC=golang-dev
http://codereview.appspot.com/156115
|
|
R=r, rsc
http://codereview.appspot.com/157082
|
|
R=rsc
http://codereview.appspot.com/155065
Committer: Russ Cox <rsc@golang.org>
|
|
This does still contain some FreeBSD-specific bits, but
it's a pain to do partial diffs.
R=rsc
http://codereview.appspot.com/152138
Committer: Russ Cox <rsc@golang.org>
|
|
Thanks to Allister Macleod
Fixes issue 112.
R=rsc
CC=golang-dev
http://codereview.appspot.com/152102
|
|
rsc's algorithm
- applied gofmt -w misc src
- partial CL (remaining files in other CLs)
R=rsc, r
http://go/go-review/1026036
|
|
R=rsc, r
http://go/go-review/1025029
|
|
R=rsc
CC=go-dev
http://go/go-review/1026014
Committer: Russ Cox <rsc@golang.org>
|
|
- enabled for function declarations (not just function literals)
- applied gofmt -w $GOROOT/src
(look for instance at src/pkg/debug/elf/elf.go)
R=r, rsc
CC=go-dev
http://go/go-review/1026006
|
|
- added a list of issues to printer/nodes.go
R=rsc
http://go/go-review/1024002
|
|
R=rsc
http://go/go-review/1016055
|
|
R=rsc
http://go/go-review/1017055
|
|
R=rsc
http://go/go-review/1016054
|
|
R=rsc
http://go/go-review/1016053
|
|
R=rsc
http://go/go-review/1018062
|
|
R=rsc
http://go/go-review/1018061
|
|
R=r
http://go/go-review/1016017
|
|
R=rsc
http://go/go-review/1018005
|
|
implement any type checking or semantics for interfaces.
R=rsc
APPROVED=rsc
DELTA=305 (289 added, 10 deleted, 6 changed)
OCL=35889
CL=35995
|
|
Remove remainder of usr/dsymonds.
R=rsc,r
APPROVED=r
DELTA=685 (275 added, 409 deleted, 1 changed)
OCL=35810
CL=35933
|
|
R=r
DELTA=9147 (9147 added, 0 deleted, 0 changed)
OCL=35734
CL=35776
|
|
R=r
DELTA=3 (3 added, 0 deleted, 0 changed)
OCL=35732
CL=35775
|
|
R=r
OCL=35736
CL=35746
|