summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-08-06meteor-contestRob Pike5-1/+1334
R=rsc DELTA=1276 (1275 added, 0 deleted, 1 changed) OCL=32851 CL=32854
2009-08-06- allow more general type switch syntaxRobert Griesemer6-36/+150
- support for reverse printing of AST (for compiler testing) - added -reverse flag to gofmt R=rsc DELTA=163 (125 added, 11 deleted, 27 changed) OCL=32808 CL=32853
2009-08-06mandelbrotRob Pike5-2/+204
R=rsc DELTA=147 (145 added, 0 deleted, 2 changed) OCL=32840 CL=32845
2009-08-06Make ptrace_linux compile with recent changes to switch typeAustin Clements1-11/+11
checking. R=rsc APPROVED=rsc DELTA=11 (0 added, 0 deleted, 11 changed) OCL=32839 CL=32841
2009-08-06add runtime.GOMAXPROCS, allowing a program to, in effect, set $GOMAXPROCSRob Pike3-1/+28
R=rsc DELTA=29 (28 added, 1 deleted, 0 changed) OCL=32829 CL=32837
2009-08-06k-nucleotideRob Pike5-1/+424
R=rsc DELTA=367 (366 added, 0 deleted, 1 changed) OCL=32832 CL=32836
2009-08-06- bufio.ReadRune fix for empty reads w/o errorsRobert Griesemer2-5/+59
- added testcases R=rsc DELTA=61 (56 added, 2 deleted, 3 changed) OCL=32831 CL=32834
2009-08-06minor fixRobert Griesemer1-1/+1
R=rsc DELTA=2 (1 added, 1 deleted, 0 changed) OCL=32828 CL=32830
2009-08-05parallel spectral-normRob Pike2-1/+112
R=rsc DELTA=85 (84 added, 1 deleted, 0 changed) OCL=32810 CL=32810
2009-08-05spectral-normRob Pike6-11/+205
make regexp-dna use bytes not strings (no significant timing change) R=rsc DELTA=149 (138 added, 1 deleted, 10 changed) OCL=32804 CL=32807
2009-08-05- FieldByName lookup through anonymous fieldsRobert Griesemer6-60/+276
- FieldByIndex - changed StructField.Index type from int -> []int - adjustments to reflect clients R=rsc,r DELTA=336 (263 added, 47 deleted, 26 changed) OCL=32731 CL=32802
2009-08-05support []byte (more efficient) as well as string in the interfaces.Rob Pike7-33/+188
change the names; Match is for []byte and MatchString is for string, etc. R=rsc DELTA=195 (155 added, 0 deleted, 40 changed) OCL=32800 CL=32800
2009-08-05special case: recognize '[^\n]' and make it as fast as '.'Rob Pike2-2/+24
R=rsc DELTA=25 (23 added, 1 deleted, 1 changed) OCL=32793 CL=32799
2009-08-05Make os.RemoveAll return no error if path does not exist.Austin Clements1-4/+8
This fixes a problem introduced by CL 32684 into gobuild, which used to use 'rm -rf' to remove the _obj directory. R=rsc APPROVED=rsc DELTA=8 (4 added, 0 deleted, 4 changed) OCL=32794 CL=32796
2009-08-05regex-dnaRob Pike5-1/+301
R=rsc DELTA=243 (242 added, 0 deleted, 1 changed) OCL=32786 CL=32791
2009-08-05Implement struct types, selector expressions, and typeAustin Clements8-59/+557
declarations. R=rsc APPROVED=rsc DELTA=587 (519 added, 21 deleted, 47 changed) OCL=32754 CL=32788
2009-08-05fannkuchRob Pike5-1/+299
R=rsc DELTA=240 (239 added, 0 deleted, 1 changed) OCL=32783 CL=32785
2009-08-05delay range processing. old2new is goneRuss Cox9-363/+286
R=ken OCL=32780 CL=32780
2009-08-05delay := processingRuss Cox14-338/+227
R=ken OCL=32772 CL=32772
2009-08-05fix amd64 buildRuss Cox1-4/+4
R=ken OCL=32771 CL=32771
2009-08-04make Syms smaller.Russ Cox14-418/+210
collapse a lot of duplication in dcl.c switch to NodeList* from Dcl* R=ken OCL=32770 CL=32770
2009-08-04binary treeRob Pike6-1/+413
R=rsc DELTA=324 (323 added, 0 deleted, 1 changed) OCL=32759 CL=32768
2009-08-04get function calls out of the way beforeRuss Cox3-15/+68
allocating registers in shift and div. fix behavior when res == a reserved register. R=ken OCL=32765 CL=32767
2009-08-04move various bits of code aroundRuss Cox7-1238/+1232
and delete some dead code. no actual changes here. R=ken OCL=32764 CL=32764
2009-08-04fix division bugRuss Cox1-2/+27
R=ken OCL=32760 CL=32760
2009-08-04add info about Sqrt instructionRob Pike2-5/+10
couple of fixes to timing.sh R=rsc DELTA=10 (5 added, 0 deleted, 5 changed) OCL=32742 CL=32756
2009-08-04delayed evaluation of var blocksRuss Cox7-50/+99
R=ken OCL=32750 CL=32753
2009-08-04fix buildRob Pike1-2/+2
R=gri,rsc OCL=32748 CL=32748
2009-08-04nbody benchmarkRob Pike5-16/+392
timing.sh improvements R=rsc DELTA=334 (319 added, 0 deleted, 15 changed) OCL=32734 CL=32736
2009-08-04trailing newlinesRuss Cox2-2/+2
R=r DELTA=0 (0 added, 0 deleted, 0 changed) OCL=32730 CL=32735
2009-08-04improve myrandom() in fasta.Rob Pike3-10/+81
add script to automate timing R=rsc DELTA=78 (68 added, 0 deleted, 10 changed) OCL=32729 CL=32732
2009-08-04another benchmark: reverse-complementRob Pike5-0/+397
R=rsc DELTA=682 (511 added, 171 deleted, 0 changed) OCL=32725 CL=32727
2009-08-04move select into its own file.Russ Cox6-237/+184
split into typecheck + walk R=ken OCL=32726 CL=32726
2009-08-04type checking of assignments, switch, if, forRuss Cox6-643/+411
R=ken OCL=32716 CL=32720
2009-08-04clean up the code a bitRob Pike3-37/+205
start a log of progress R=rsc DELTA=222 (185 added, 17 deleted, 20 changed) OCL=32701 CL=32718
2009-08-03benchmark checkpoint milestone checkin submissionRob Pike2-0/+371
R=rsc DELTA=311 (311 added, 0 deleted, 0 changed) OCL=32696 CL=32699
2009-08-03print profile to stderr. sheesh.Rob Pike1-40/+41
R=rsc DELTA=40 (0 added, 0 deleted, 40 changed) OCL=32694 CL=32698
2009-08-03WriteStringRob Pike2-0/+41
R=rsc DELTA=41 (41 added, 0 deleted, 0 changed) OCL=32692 CL=32697
2009-08-03this time really clean up a TODORob Pike1-24/+4
R=rsc DELTA=28 (0 added, 20 deleted, 8 changed) OCL=32676 CL=32684
2009-08-03clean up a TODORob Pike1-17/+41
R=rsc DELTA=45 (28 added, 4 deleted, 13 changed) OCL=32673 CL=32675
2009-08-03don't crash printing a nil mapRob Pike2-1/+19
R=rsc DELTA=19 (18 added, 0 deleted, 1 changed) OCL=32656 CL=32670
2009-08-03more 6g reorg; checkpoint.Russ Cox25-1404/+1166
typecheck.c is now responsible for all type checking except for assignment and function argument "..." R=ken OCL=32661 CL=32667
2009-08-03printer.go:Robert Griesemer3-38/+102
- emit line tag id's in html mode - support for general html tags - better names for a few identifiers godoc.go: - emit links from exported names to source code (actual placement needs fine-tuning) R=rsc DELTA=108 (68 added, 4 deleted, 36 changed) OCL=32639 CL=32654
2009-07-31fix long-standing bug in doc reader:Robert Griesemer1-7/+22
- replace forward-declared types with complete declaration when it is found R=rsc DELTA=23 (15 added, 0 deleted, 8 changed) OCL=32618 CL=32618
2009-07-31language re: conversion of left operand in shift operationsRobert Griesemer1-0/+5
DELTA=5 (5 added, 0 deleted, 0 changed) OCL=32484 CL=32617
2009-07-31printer:Robert Griesemer5-94/+165
- prepare for generation of HTML id tags and links - do HTML-escaping in central print routine - move tabwriter setup into printer - fixed various TODOs godoc: - removed tabwriter setup, need for various HTML-escaping R=rsc DELTA=210 (107 added, 36 deleted, 67 changed) OCL=32612 CL=32616
2009-07-31more info about commentsRob Pike1-8/+100
R=rsc DELTA=100 (82 added, 4 deleted, 14 changed) OCL=32609 CL=32615
2009-07-31Implement type compatibility and fix places where I thoughtAustin Clements4-142/+164
types were supposed to be identical but only needed to be compatible. This gets rid of the Type.literal method. I renamed the Type.rep method to Type.lit because I believe it corresponds to the term "literal" as used in the spec. R=rsc APPROVED=rsc DELTA=228 (57 added, 35 deleted, 136 changed) OCL=32606 CL=32608
2009-07-31Implement var declarations. Variables, constants, and types now carryAustin Clements5-71/+184
the position where they were defined so I can produce good error messages on redefinitions. R=rsc APPROVED=rsc DELTA=204 (126 added, 13 deleted, 65 changed) OCL=32599 CL=32605
2009-07-31add test of invariant in findVarRob Pike1-0/+23
R=rsc DELTA=23 (23 added, 0 deleted, 0 changed) OCL=32592 CL=32595