Age | Commit message (Collapse) | Author | Files | Lines |
|
- delete some unused files (copies archived elsewhere)
TBR=r
OCL=34994
CL=34994
|
|
- delete utility files which contained functionality that is now elsewhere
(or saved the files away for now)
- cleanup Makefile (remove unnecessary deps)
- minor adjustments to godoc, fixed a couple of bugs
- make pretty.go self-contained
TBR=r
DELTA=625 (81 added, 510 deleted, 34 changed)
OCL=27700
CL=27702
|
|
- no interface extraction yet
R=r
OCL=25808
CL=25808
|
|
- removed any symbol table stuff
- some interface cleanup
- removed lot's of dead wood
- half the support for type switches (simple form)
- name capitalization
Several rounds to come.
R=r
OCL=25797
CL=25797
|
|
plus significant hand editing.
Back to T{x} for composite literals.
R=r
OCL=25612
CL=25632
|
|
only non-trivial changes are in
convlit1.go
golden.out
R=gri
OCL=25019
CL=25024
|
|
R=r
OCL=23821
CL=23823
|
|
R=r
OCL=23542
CL=23542
|
|
TBR=r
OCL=23121
CL=23127
|
|
R=r
OCL=22899
CL=22899
|
|
- fixed a bug with error column reporting in the presence of utf-8 chars
- fixed an assertion failure
R=r
OCL=22762
CL=22762
|
|
- moving scope handling into parser (simpler)
- snapshot of work today so far
R=r
OCL=22301
CL=22301
|
|
R=r
OCL=22185
CL=22185
|
|
fix bugs left over from *[] to [] conversion.
TBR=r
OCL=21576
CL=21581
|
|
R=r
OCL=21030
CL=21030
|
|
- first cut at html writer (will do html escaping, html tag production)
- first cut at generating basic html output via pretty
- some cleanups
R=r
OCL=20550
CL=20550
|
|
- rewrote declaration printing - was unreadable before
- no semicolons after closing "}" for types
R=r
OCL=20379
CL=20379
|
|
- fixed printing of empty structs/interfaces
- enable two more tests
R=r
OCL=20296
CL=20296
|
|
- by default consider extra newlines in src for better formatting
- additional flags for control (-newlines, -maxnewlines, -optsemicolons)
- don't print ()'s around single anonymous result types
Status: Comparing the output of pretty with the input for larger files
shows mostly whitespace/formatting differences, which is what is desired.
TODO:
- Handling of overlong lines
- some esoteric cases which look funny
R=r
OCL=20293
CL=20293
|
|
for end of declarations, blocks, parameter lists, etc.
- use extra src positions to more accurately print comments
- fine-tuned low-level printing routine for comments
- added better debugging support
Status:
- comments now appear at the right place (inbetween the right tokens)
- newline control needs improvement (not very hard)
- comment printing disabled for now because pretty is not idempotent
with it; to enable: -comments
R=r
OCL=20079
CL=20079
|
|
(to be moved into std lib eventually)
- rewrote tabwriter to use byte buffers instead of strings
(byte buffers to be moved into stdlib eventually)
- support for recent syntax changes
- no space printed after function name and before function parameters
- comments still disabled due to a known bug
R=r
OCL=19430
CL=19430
|
|
- implemented elastic tabstops algorithm, now correct and documented
- first cut at printing comments (use -comments flag, disabled for now)
- struct field types are now aligned (using elastic tab stops)
- needs more fine-tuning
* fixed a bug in test script
* added quick smoke test to makefile and invoke it in run.bash
instead of the full test
R=r
OCL=19220
CL=19220
|