Age | Commit message (Collapse) | Author | Files | Lines |
|
plus significant hand editing.
Back to T{x} for composite literals.
R=r
OCL=25612
CL=25632
|
|
- removed unneeded code that accumulated over time
- change src from string to []byte (perhaps should be io.Read
but that has some other disadvantages)
- simplified interface
R=r
OCL=25615
CL=25615
|
|
R=r
OCL=25526
CL=25528
|
|
- converted more of AST and parser to use interfaces and explicit
structs for individual Go constructs (can be replaced now with
interface calls such that the parser becomes AST structure
independent, as suggested by rsc)
- added more tests (find all .go files under GOROOT)
- (temporarily) lost html links for identifiers when generating
html output
- TODO: lots of cleanups
R=r
OCL=25518
CL=25518
|
|
R=r
OCL=25343
CL=25343
|
|
- accept embedded interfaces in interfaces
- missing: output incorrect, but at least all source code is accepted again
R=r
OCL=25223
CL=25223
|
|
- remove all parsing heuristics
- as a result, accept a wider syntax, but parser is simpler
R=r
OCL=25029
CL=25029
|
|
- updated some file (but not all - left array package in place for now)
R=rsc
DELTA=530 (483 added, 0 deleted, 47 changed)
OCL=25025
CL=25025
|
|
only non-trivial changes are in
convlit1.go
golden.out
R=gri
OCL=25019
CL=25024
|
|
(now in sync with the spec and with 6g)
- fixed incorrect logging statement in gds
R=r
OCL=24970
CL=24970
|
|
R=r
OCL=24349
CL=24913
|
|
- directory listings w/ working links
- some links working in source code (most don't do the right thing yet)
- use of logging
R=r
OCL=24728
CL=24728
|
|
- first stab at a Go Documentation Server (gds)
- various fixes to make initial version of gds work
R=r
OCL=24588
CL=24588
|
|
- moved Object, Type, Scope out of AST into symboltable
- moved universe into symboltable
- removed dead code
- fixed dependency computation (pretty -d filename.go)
- lots of cleanups
- removed tocken channel connection between parser and scanner
(was cute, but not really needed)
R=r
OCL=24545
CL=24545
|
|
- more elegant tracing code
- removed some dead code, cleanups
R=r
OCL=24452
CL=24452
|
|
- ast statements now use interfaces
- deleted old (now unused) code
R=r
OCL=24422
CL=24422
|
|
R=r
OCL=24380
CL=24380
|
|
using interfaces properly => much cleaner code
- converted tracing code to use 'defer' statement
- next steps: convert rest of ast as well
R=r
OCL=24277
CL=24277
|
|
'def' instead of 'func', 'const', or 'type'
R=r
OCL=24092
CL=24094
|
|
- added more test cases
- fixed a bug in test script which prevented errors to show up...
R=r
OCL=23832
CL=23974
|
|
(most of this has been integrated into pretty,
the rest has been archived).
R=r
OCL=23842
CL=23842
|
|
R=r
OCL=23821
CL=23823
|
|
R=r
OCL=23542
CL=23542
|
|
R=r
OCL=23403
CL=23403
|
|
- fine-tuning of ast
- more accurate block pos info (improved printing in some cases)
- collecting local variables and fields
- more work on type checking
- lots of minor tweaks
R=r
OCL=23375
CL=23375
|
|
R=r
OCL=23134
CL=23134
|
|
TBR=r
OCL=23121
CL=23127
|
|
R=r
OCL=22998
CL=22998
|
|
R=r
OCL=22978
CL=22984
|
|
R=r
OCL=22899
CL=22899
|
|
R=r
OCL=22871
CL=22871
|
|
Use: pretty -naming files
R=r
OCL=22859
CL=22859
|
|
the raw fmt routines will be another, smaller but subtler pass.
R=rsc
DELTA=157 (0 added, 0 deleted, 157 changed)
OCL=22851
CL=22851
|
|
- fixed a bug with error column reporting in the presence of utf-8 chars
- fixed an assertion failure
R=r
OCL=22762
CL=22762
|
|
R=r
OCL=22601
CL=22601
|
|
R=r
OCL=22475
CL=22475
|
|
- consolidation of files, cleanup
- more success producing idempotent output for some files with comments
containing tabs
- snapshot of the day
R=r
OCL=22474
CL=22474
|
|
fixed everything except the tutorial.
R=rsc
DELTA=404 (94 added, 139 deleted, 171 changed)
OCL=22414
CL=22422
|
|
(e.g. pretty -html source.go > source.html; then look at the html.file in a browser)
R=r
OCL=22331
CL=22331
|
|
- moving scope handling into parser (simpler)
- snapshot of work today so far
R=r
OCL=22301
CL=22301
|
|
- snapshot of today
R=r
OCL=22247
CL=22247
|
|
- removed dead code
- snapshot before making a lareger structural change
R=r
OCL=22226
CL=22226
|
|
R=r
OCL=22185
CL=22185
|
|
(this code doesn't match the existing language at this point,
but it's a large code base which compiles - will eventually go
away)
- enable compilation of it again in run.bash
R=r
DELTA=1147 (534 added, 311 deleted, 302 changed)
OCL=22176
CL=22176
|
|
R=r
OCL=22171
CL=22171
|
|
R=r
OCL=22160
CL=22160
|
|
(will help produce html output where we can click on identifiers and
get to the declaration)
- snapshot before changing back to old new
R=r
OCL=22159
CL=22159
|
|
R=gri
DELTA=15 (13 added, 1 deleted, 1 changed)
OCL=21632
CL=21639
|
|
fix bugs left over from *[] to [] conversion.
TBR=r
OCL=21576
CL=21581
|
|
R=r
OCL=21385
CL=21385
|