]> Cypherpunks repositories - gostls13.git/log
gostls13.git
16 years agocasify reflect.
Rob Pike [Fri, 16 Jan 2009 20:48:07 +0000 (12:48 -0800)]
casify reflect.

R=rsc
DELTA=513  (0 added, 2 deleted, 511 changed)
OCL=22954
CL=22956

16 years agocasify misc
Russ Cox [Fri, 16 Jan 2009 20:47:24 +0000 (12:47 -0800)]
casify misc

R=r
DELTA=247  (20 added, 50 deleted, 177 changed)
OCL=22951
CL=22955

16 years ago- more bignum_test letter case fixes
Robert Griesemer [Fri, 16 Jan 2009 20:04:40 +0000 (12:04 -0800)]
- more bignum_test letter case fixes

R=r
OCL=22952
CL=22952

16 years agocasify syscall and sequelae
Rob Pike [Fri, 16 Jan 2009 19:36:44 +0000 (11:36 -0800)]
casify syscall and sequelae

R=rsc
DELTA=337  (0 added, 1 deleted, 336 changed)
OCL=22950
CL=22950

16 years agocasify http
Russ Cox [Fri, 16 Jan 2009 19:06:42 +0000 (11:06 -0800)]
casify http

R=r
DELTA=33  (0 added, 0 deleted, 33 changed)
OCL=22947
CL=22949

16 years agocasify DNS
Russ Cox [Fri, 16 Jan 2009 19:04:44 +0000 (11:04 -0800)]
casify DNS

R=r
DELTA=221  (0 added, 0 deleted, 221 changed)
OCL=22946
CL=22948

16 years agore-export of bools was changing
Russ Cox [Fri, 16 Jan 2009 18:45:28 +0000 (10:45 -0800)]
re-export of bools was changing
format from hex to decimal, confusing
ar's strcmp-based value comparison.

switched export format to "true" or "false"
to keep bools separate from ints.

R=ken
OCL=22944
CL=22944

16 years agorecasify regexp to use underscores and clean up the tests more
Rob Pike [Fri, 16 Jan 2009 18:34:36 +0000 (10:34 -0800)]
recasify regexp to use underscores and clean up the tests more

R=rsc
DELTA=174  (0 added, 0 deleted, 174 changed)
OCL=22917
CL=22942

16 years agocasify a few more
Rob Pike [Fri, 16 Jan 2009 18:34:21 +0000 (10:34 -0800)]
casify a few more

R=rsc
DELTA=72  (0 added, 9 deleted, 63 changed)
OCL=22918
CL=22941

16 years agocasify json
Russ Cox [Fri, 16 Jan 2009 18:14:38 +0000 (10:14 -0800)]
casify json

R=r
DELTA=163  (0 added, 0 deleted, 163 changed)
OCL=22910
CL=22939

16 years agocasify hash
Russ Cox [Fri, 16 Jan 2009 18:14:28 +0000 (10:14 -0800)]
casify hash

R=r
DELTA=235  (6 added, 26 deleted, 203 changed)
OCL=22907
CL=22938

16 years agocasify time
Russ Cox [Fri, 16 Jan 2009 18:14:12 +0000 (10:14 -0800)]
casify time

R=r
DELTA=103  (1 added, 0 deleted, 102 changed)
OCL=22914
CL=22937

16 years agoredo and clean up math.
Russ Cox [Fri, 16 Jan 2009 03:11:32 +0000 (19:11 -0800)]
redo and clean up math.

R=r
DELTA=243  (60 added, 72 deleted, 111 changed)
OCL=22909
CL=22912

16 years agocasify tutorial examples
Rob Pike [Fri, 16 Jan 2009 01:54:07 +0000 (17:54 -0800)]
casify tutorial examples
will bring document in line in a later CL, which may include revisiting some of the names

R=rsc
DELTA=58  (0 added, 0 deleted, 58 changed)
OCL=22906
CL=22908

16 years agodon't crash on:
Russ Cox [Fri, 16 Jan 2009 01:32:31 +0000 (17:32 -0800)]
don't crash on:

package main
var x int
type x struct { a int }

R=ken
OCL=22903
CL=22903

16 years agoconvert strconv
Russ Cox [Fri, 16 Jan 2009 01:22:17 +0000 (17:22 -0800)]
convert strconv

R=r
DELTA=568  (0 added, 9 deleted, 559 changed)
OCL=22898
CL=22901

16 years agocasify lib/regexp
Rob Pike [Fri, 16 Jan 2009 01:22:15 +0000 (17:22 -0800)]
casify lib/regexp

R=rsc
DELTA=259  (0 added, 0 deleted, 259 changed)
OCL=22897
CL=22900

16 years agocasify pretty
Robert Griesemer [Fri, 16 Jan 2009 01:16:41 +0000 (17:16 -0800)]
casify pretty

R=r
OCL=22899
CL=22899

16 years agocatch export on func.
Russ Cox [Fri, 16 Jan 2009 00:43:51 +0000 (16:43 -0800)]
catch export on func.
print names in message.

R=ken
OCL=22891
CL=22891

16 years agocasify fixup for bufio
Rob Pike [Fri, 16 Jan 2009 00:22:57 +0000 (16:22 -0800)]
casify fixup for bufio

R=rsc
DELTA=88  (0 added, 12 deleted, 76 changed)
OCL=22884
CL=22890

16 years agoadd warning for export of lowercase too.
Russ Cox [Fri, 16 Jan 2009 00:20:21 +0000 (16:20 -0800)]
add warning for export of lowercase too.

R=ken
OCL=22887
CL=22887

16 years agoremove export name-list statement.
Russ Cox [Fri, 16 Jan 2009 00:16:52 +0000 (16:16 -0800)]
remove export name-list statement.
make package local the default.
warn about name case not matching export keyword.

R=ken
OCL=22881
CL=22886

16 years agomake safe for new package local defaults
Russ Cox [Fri, 16 Jan 2009 00:16:42 +0000 (16:16 -0800)]
make safe for new package local defaults

R=r
DELTA=462  (9 added, 33 deleted, 420 changed)
OCL=22879
CL=22885

16 years agomore casifying fixups
Rob Pike [Fri, 16 Jan 2009 00:03:27 +0000 (16:03 -0800)]
more casifying fixups

R=rsc
DELTA=213  (0 added, 0 deleted, 213 changed)
OCL=22878
CL=22882

16 years agocasify fmt and its dependents.
Rob Pike [Thu, 15 Jan 2009 23:40:27 +0000 (15:40 -0800)]
casify fmt and its dependents.

R=rsc
DELTA=224  (0 added, 2 deleted, 222 changed)
OCL=22875
CL=22875

16 years agodiagnose missing symbols instead of
Rob Pike [Thu, 15 Jan 2009 23:21:12 +0000 (15:21 -0800)]
diagnose missing symbols instead of
silently miscompiling.

R=rsc
OCL=22872
CL=22872

16 years ago- fixed untab.go to compile again
Robert Griesemer [Thu, 15 Jan 2009 23:14:19 +0000 (15:14 -0800)]
- fixed untab.go to compile again

R=r
OCL=22871
CL=22871

16 years ago- converted tabwriter to new naming scheme
Robert Griesemer [Thu, 15 Jan 2009 23:10:46 +0000 (15:10 -0800)]
- converted tabwriter to new naming scheme

R=r
OCL=22870
CL=22870

16 years ago- missed a few identifiers
Robert Griesemer [Thu, 15 Jan 2009 22:49:40 +0000 (14:49 -0800)]
- missed a few identifiers

R=r
OCL=22864
CL=22864

16 years ago- lowercase non-exported functions in bignum
Robert Griesemer [Thu, 15 Jan 2009 22:46:31 +0000 (14:46 -0800)]
- lowercase non-exported functions in bignum

R=r
DELTA=117  (1 added, 0 deleted, 116 changed)
OCL=22764
CL=22863

16 years ago- added mechanism to detect capitalization issues
Robert Griesemer [Thu, 15 Jan 2009 22:19:35 +0000 (14:19 -0800)]
- added mechanism to detect capitalization issues
Use: pretty -naming files

R=r
OCL=22859
CL=22859

16 years agoprintf->Printf etc.
Rob Pike [Thu, 15 Jan 2009 21:48:11 +0000 (13:48 -0800)]
printf->Printf etc.
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

16 years agoTest that a const with an explicit type is not treated as
Ian Lance Taylor [Thu, 15 Jan 2009 19:23:35 +0000 (11:23 -0800)]
Test that a const with an explicit type is not treated as
having an abstract type.

R=gri
DELTA=11  (11 added, 0 deleted, 0 changed)
OCL=22829
CL=22832

16 years agoTest that interfaces are correctly handled by pointer and by
Ian Lance Taylor [Thu, 15 Jan 2009 18:15:34 +0000 (10:15 -0800)]
Test that interfaces are correctly handled by pointer and by
value for large and small objects.  Currently one case fails
with 6g.

R=rsc
DELTA=150  (150 added, 0 deleted, 0 changed)
OCL=22823
CL=22827

16 years agoRecognize gccgo error messages:
Ian Lance Taylor [Thu, 15 Jan 2009 18:15:23 +0000 (10:15 -0800)]
Recognize gccgo error messages:

interface5.go:15:5: error: incompatible types in assignment
interface5.go:16:5: error: incompatible types in assignment

(Yes, these could be better).

R=rsc
DELTA=2  (0 added, 0 deleted, 2 changed)
OCL=22821
CL=22826

16 years ago- use new letter definition for pretty
Robert Griesemer [Wed, 14 Jan 2009 23:19:34 +0000 (15:19 -0800)]
- use new letter definition for pretty
- fixed a bug with error column reporting in the presence of utf-8 chars
- fixed an assertion failure

R=r
OCL=22762
CL=22762

16 years agoadd unicode library stub with just
Russ Cox [Wed, 14 Jan 2009 22:05:00 +0000 (14:05 -0800)]
add unicode library stub with just
IsUpper and IsLetter.

R=r
DELTA=746  (746 added, 0 deleted, 0 changed)
OCL=22743
CL=22750

16 years agorestore "os" identifier to keep consistent with text.
Rob Pike [Wed, 14 Jan 2009 16:43:32 +0000 (08:43 -0800)]
restore "os" identifier to keep consistent with text.

R=presotto
OCL=22733
CL=22733

16 years agoAdd cgo2c program to translate mixed Go/C code into C. This
Ian Lance Taylor [Wed, 14 Jan 2009 16:21:25 +0000 (08:21 -0800)]
Add cgo2c program to translate mixed Go/C code into C.  This
lets us use a single source file for both 6c and gcc, handling
the incompatible handling of return values.

R=rsc
DELTA=649  (613 added, 35 deleted, 1 changed)
OCL=22682
CL=22730

16 years agochange another yacc reference to bison.
Russ Cox [Wed, 14 Jan 2009 00:32:46 +0000 (16:32 -0800)]
change another yacc reference to bison.

R=r
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=22662
CL=22691

16 years agodelete playpen copy of malloc
Russ Cox [Wed, 14 Jan 2009 00:32:40 +0000 (16:32 -0800)]
delete playpen copy of malloc

R=r
DELTA=905  (0 added, 905 deleted, 0 changed)
OCL=22663
CL=22690

16 years agoin 6g -r (the rsc flag),
Russ Cox [Tue, 13 Jan 2009 21:46:09 +0000 (13:46 -0800)]
in 6g -r (the rsc flag),
rewrite heap pointer moves as xchg.

R=ken
OCL=22665
CL=22665

16 years agoAdd USED declarations for SysUnused parameters.
Ian Lance Taylor [Tue, 13 Jan 2009 18:24:06 +0000 (10:24 -0800)]
Add USED declarations for SysUnused parameters.

R=rsc
DELTA=2  (2 added, 0 deleted, 0 changed)
OCL=22640
CL=22642

16 years agoTweak code to make it easier to compile with gcc.
Ian Lance Taylor [Tue, 13 Jan 2009 17:55:24 +0000 (09:55 -0800)]
Tweak code to make it easier to compile with gcc.
  + Use macros to name symbols with non-ASCII characters.
  + Make some variables unsigned, because they are compared
    against unsigned values.
  + Fix a few void* pointers to be MLink*.

R=rsc
DELTA=94  (44 added, 3 deleted, 47 changed)
OCL=22303
CL=22638

16 years ago- removed an unnecessary field from AST.Expr nodes
Robert Griesemer [Tue, 13 Jan 2009 01:44:10 +0000 (17:44 -0800)]
- removed an unnecessary field from AST.Expr nodes

R=r
OCL=22601
CL=22601

16 years ago- remove obsolete files (missed before)
Robert Griesemer [Sat, 10 Jan 2009 00:30:00 +0000 (16:30 -0800)]
- remove obsolete files (missed before)

R=r
OCL=22475
CL=22475

16 years ago- preparation to add type info to ast
Robert Griesemer [Sat, 10 Jan 2009 00:28:09 +0000 (16:28 -0800)]
- preparation to add type info to ast
- 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

16 years agofree(nil)
Russ Cox [Sat, 10 Jan 2009 00:22:13 +0000 (16:22 -0800)]
free(nil)

R=iant
DELTA=3  (3 added, 0 deleted, 0 changed)
OCL=22467
CL=22471

16 years agoadd sys.caller
Russ Cox [Fri, 9 Jan 2009 23:52:43 +0000 (15:52 -0800)]
add sys.caller

R=r
DELTA=139  (101 added, 38 deleted, 0 changed)
OCL=22462
CL=22466

16 years agotest of automatic indirect
Russ Cox [Fri, 9 Jan 2009 23:38:01 +0000 (15:38 -0800)]
test of automatic indirect

R=r
DELTA=93  (93 added, 0 deleted, 0 changed)
OCL=22458
CL=22461

16 years agoclean up automatic indirect, delete some dead code.
Russ Cox [Fri, 9 Jan 2009 23:21:41 +0000 (15:21 -0800)]
clean up automatic indirect, delete some dead code.

R=ken
OCL=22454
CL=22457

16 years agoupdate tutorial to new language.
Rob Pike [Fri, 9 Jan 2009 23:16:31 +0000 (15:16 -0800)]
update tutorial to new language.
add a section on printing
add a section on allocation

R=rsc
DELTA=500  (278 added, 15 deleted, 207 changed)
OCL=22381
CL=22456

16 years agoUse make instead of new to allocate a channel.
Ian Lance Taylor [Fri, 9 Jan 2009 23:13:26 +0000 (15:13 -0800)]
Use make instead of new to allocate a channel.

R=r
DELTA=2  (0 added, 0 deleted, 2 changed)
OCL=22452
CL=22455

16 years agonow that TCHAN, TMAP, and TSTRING are real types,
Russ Cox [Fri, 9 Jan 2009 21:50:58 +0000 (13:50 -0800)]
now that TCHAN, TMAP, and TSTRING are real types,
can do methods on them without pointer worries.

R=ken
OCL=22434
CL=22436

16 years agosimplify flag interface. no more BVal etc. you just get a pointer.
Rob Pike [Fri, 9 Jan 2009 21:42:46 +0000 (13:42 -0800)]
simplify flag interface. no more BVal etc. you just get a pointer.
fixed everything except the tutorial.

R=rsc
DELTA=404  (94 added, 139 deleted, 171 changed)
OCL=22414
CL=22422

16 years agotypo
Russ Cox [Fri, 9 Jan 2009 19:17:13 +0000 (11:17 -0800)]
typo

R=r
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=22411
CL=22411

16 years agosilence gcc warnings.
Russ Cox [Fri, 9 Jan 2009 19:13:59 +0000 (11:13 -0800)]
silence gcc warnings.
not sure if the warning in reg.c was a real bug.

R=ken
OCL=22408
CL=22410

16 years ago6g cleanup suggested by ken.
Russ Cox [Fri, 9 Jan 2009 19:13:39 +0000 (11:13 -0800)]
6g cleanup suggested by ken.
remove TPTR wrapper around TMAP, TCHAN, TSTRING.

R=ken
OCL=22406
CL=22409

16 years agoupdate sys.reflect and sys.unreflect to accomodate
Russ Cox [Fri, 9 Jan 2009 08:17:46 +0000 (00:17 -0800)]
update sys.reflect and sys.unreflect to accomodate
the possibility of large objects in interface values.

R=r
DELTA=171  (97 added, 22 deleted, 52 changed)
OCL=22382
CL=22382

16 years agobug046 and bug080 are fixed
Russ Cox [Fri, 9 Jan 2009 04:06:37 +0000 (20:06 -0800)]
bug046 and bug080 are fixed

R=r
DELTA=72  (30 added, 42 deleted, 0 changed)
OCL=22373
CL=22378

16 years agosecond pass on interface fixes and tests.
Russ Cox [Fri, 9 Jan 2009 02:06:06 +0000 (18:06 -0800)]
second pass on interface fixes and tests.

R=ken
OCL=22370
CL=22372

16 years ago- removed temporary work-arounds from bignum_test, not needed anymore
Robert Griesemer [Fri, 9 Jan 2009 01:38:24 +0000 (17:38 -0800)]
- removed temporary work-arounds from bignum_test, not needed anymore

R=r
DELTA=93  (0 added, 61 deleted, 32 changed)
OCL=22348
CL=22366

16 years agonew sort interface - no structs, just slices.
Rob Pike [Thu, 8 Jan 2009 23:12:00 +0000 (15:12 -0800)]
new sort interface - no structs, just slices.

R=rsc
DELTA=37  (0 added, 7 deleted, 30 changed)
OCL=22330
CL=22342

16 years agofix:
Russ Cox [Thu, 8 Jan 2009 23:01:22 +0000 (15:01 -0800)]
fix:
type T []int
var a []int
var t = T(a)

R=ken
OCL=22341
CL=22341

16 years ago- first (global) idents with proper links to declarations in html output
Robert Griesemer [Thu, 8 Jan 2009 22:43:56 +0000 (14:43 -0800)]
- first (global) idents with proper links to declarations in html output
(e.g. pretty -html source.go > source.html; then look at the html.file in a browser)

R=r
OCL=22331
CL=22331

16 years agotypo
Russ Cox [Thu, 8 Jan 2009 22:31:11 +0000 (14:31 -0800)]
typo

R=ken
OCL=22327
CL=22327

16 years agomany interface bug fixes.
Russ Cox [Thu, 8 Jan 2009 22:30:00 +0000 (14:30 -0800)]
many interface bug fixes.

also, after
func g() (int, int)
func f(int, int)
allow
f(g())
and
func h() (int, int) { return g() }

R=ken
DELTA=356  (252 added, 26 deleted, 78 changed)
OCL=22319
CL=22325

16 years ago- fixed a bug with building right-recursive trees iteratively
Robert Griesemer [Thu, 8 Jan 2009 20:04:00 +0000 (12:04 -0800)]
- fixed a bug with building right-recursive trees iteratively
- moving scope handling into parser (simpler)
- snapshot of work today so far

R=r
OCL=22301
CL=22301

16 years agoRemove duplicate typedef declarations.
Ian Lance Taylor [Thu, 8 Jan 2009 17:45:42 +0000 (09:45 -0800)]
Remove duplicate typedef declarations.

R=rsc
DELTA=7  (0 added, 7 deleted, 0 changed)
OCL=22267
CL=22281

16 years ago- more steps towards tracking idents in scopes
Robert Griesemer [Thu, 8 Jan 2009 00:54:03 +0000 (16:54 -0800)]
- more steps towards tracking idents in scopes
- snapshot of today

R=r
OCL=22247
CL=22247

16 years agoCache *os.Error values across all users.
Rob Pike [Thu, 8 Jan 2009 00:37:43 +0000 (16:37 -0800)]
Cache *os.Error values across all users.

R=rsc
DELTA=27  (23 added, 0 deleted, 4 changed)
OCL=22245
CL=22245

16 years agomore
Ken Thompson [Wed, 7 Jan 2009 23:54:08 +0000 (15:54 -0800)]
more

R=r
OCL=22240
CL=22240

16 years agoconversion from closed array to slice
Ken Thompson [Wed, 7 Jan 2009 23:26:11 +0000 (15:26 -0800)]
conversion from closed array to slice

R=r
OCL=22236
CL=22236

16 years ago- enabling tracking of declarations
Robert Griesemer [Wed, 7 Jan 2009 21:58:56 +0000 (13:58 -0800)]
- enabling tracking of declarations
- removed dead code
- snapshot before making a lareger structural change

R=r
OCL=22226
CL=22226

16 years agocorrect signature generation decision
Russ Cox [Wed, 7 Jan 2009 21:29:03 +0000 (13:29 -0800)]
correct signature generation decision
for non-pointer types with methods.

R=r
DELTA=37  (13 added, 14 deleted, 10 changed)
OCL=22217
CL=22219

16 years ago[...] bug
Ken Thompson [Wed, 7 Jan 2009 21:20:10 +0000 (13:20 -0800)]
[...] bug

R=r
OCL=22218
CL=22218

16 years agoiscomposite test in OCONV is unnecessary
Russ Cox [Wed, 7 Jan 2009 20:39:48 +0000 (12:39 -0800)]
iscomposite test in OCONV is unnecessary
now that OCOMP exists

R=ken
OCL=22216
CL=22216

16 years agoclear automatic arrays created with literals
Ken Thompson [Wed, 7 Jan 2009 20:28:23 +0000 (12:28 -0800)]
clear automatic arrays created with literals

R=r
OCL=22215
CL=22215

16 years agouncomment a BUG that is now fixed
Rob Pike [Wed, 7 Jan 2009 18:35:43 +0000 (10:35 -0800)]
uncomment a BUG that is now fixed

R=rsc
DELTA=3  (1 added, 0 deleted, 2 changed)
OCL=22195
CL=22207

16 years agoAdjusted language for literals:
Robert Griesemer [Wed, 7 Jan 2009 17:31:35 +0000 (09:31 -0800)]
Adjusted language for literals:
- now have struct, array, slice, and map literals

DELTA=34  (13 added, 6 deleted, 15 changed)
OCL=22180
CL=22204

16 years ago18 tests are behaving incorrectly
Rob Pike [Wed, 7 Jan 2009 04:17:58 +0000 (20:17 -0800)]
18 tests are behaving incorrectly
no more surprises - all caught up

R=rsc
DELTA=4  (0 added, 0 deleted, 4 changed)
OCL=22194
CL=22194

16 years agofixed and added more tests
Ken Thompson [Wed, 7 Jan 2009 01:44:59 +0000 (17:44 -0800)]
fixed and added more tests

R=r
OCL=22187
CL=22187

16 years ago- support for [...] parsing and pretty printing
Robert Griesemer [Wed, 7 Jan 2009 01:39:25 +0000 (17:39 -0800)]
- support for [...] parsing and pretty printing

R=r
OCL=22185
CL=22185

16 years agoclosed arrays including [...]
Ken Thompson [Wed, 7 Jan 2009 01:31:24 +0000 (17:31 -0800)]
closed arrays including [...]

R=r
OCL=22182
CL=22182

16 years ago- make code in gosrc compile again, check in all pending changes
Robert Griesemer [Wed, 7 Jan 2009 00:26:45 +0000 (16:26 -0800)]
- make code in gosrc compile again, check in all pending changes
  (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

16 years agomake the tutorial programs run again.
Rob Pike [Tue, 6 Jan 2009 23:49:27 +0000 (15:49 -0800)]
make the tutorial programs run again.
(the text still needs fixing)
add the tutorial programs to the test run.

R=rsc
DELTA=41  (6 added, 0 deleted, 35 changed)
OCL=22174
CL=22174

16 years agofix newfn
Russ Cox [Tue, 6 Jan 2009 23:39:28 +0000 (15:39 -0800)]
fix newfn

R=ken
OCL=22173
CL=22173

16 years ago- fix parse heuristic: make(x) must accept a type for x
Robert Griesemer [Tue, 6 Jan 2009 23:30:26 +0000 (15:30 -0800)]
- fix parse heuristic: make(x) must accept a type for x

R=r
OCL=22171
CL=22171

16 years agoupdate utf8_test.go
Rob Pike [Tue, 6 Jan 2009 23:30:07 +0000 (15:30 -0800)]
update utf8_test.go

R=rsc
OCL=22170
CL=22170

16 years agonew new &Point{1,2}
Russ Cox [Tue, 6 Jan 2009 23:24:12 +0000 (15:24 -0800)]
new new &Point{1,2}

R=ken
OCL=22168
CL=22168

16 years agonew new & make
Russ Cox [Tue, 6 Jan 2009 23:19:02 +0000 (15:19 -0800)]
new new & make

R=r
OCL=22166
CL=22166

16 years ago- adjusted pretty to use old new, make
Robert Griesemer [Tue, 6 Jan 2009 23:01:04 +0000 (15:01 -0800)]
- adjusted pretty to use old new, make

R=r
OCL=22160
CL=22160

16 years ago- steps towards augmenting ast with declaration info
Robert Griesemer [Tue, 6 Jan 2009 22:54:18 +0000 (14:54 -0800)]
- steps towards augmenting ast with declaration info
  (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

16 years agomake for slice/map/chan
Ken Thompson [Tue, 6 Jan 2009 22:52:26 +0000 (14:52 -0800)]
make for slice/map/chan
new for pointers

R=r
OCL=22158
CL=22158

16 years agoA richer interface for regexps. Simple boolean matcher, a vector of strings rather...
Rob Pike [Tue, 6 Jan 2009 21:54:53 +0000 (13:54 -0800)]
A richer interface for regexps.  Simple boolean matcher, a vector of strings rather than
indexes, and a global boolean function for quick action.

R=rsc
DELTA=152  (127 added, 12 deleted, 13 changed)
OCL=22140
CL=22142

16 years agobug020 is fixed
Rob Pike [Tue, 6 Jan 2009 21:44:44 +0000 (13:44 -0800)]
bug020 is fixed

R=rsc
DELTA=40  (18 added, 22 deleted, 0 changed)
OCL=22134
CL=22139

16 years ago- documenting old "new()"
Robert Griesemer [Tue, 6 Jan 2009 21:23:20 +0000 (13:23 -0800)]
- documenting old "new()"
- adding "init()"
- fixing some bugs with slice documentation

DELTA=118  (45 added, 7 deleted, 66 changed)
OCL=22084
CL=22136

16 years agomake 8a, 8c, 8l build in go environment.
Russ Cox [Tue, 6 Jan 2009 19:34:02 +0000 (11:34 -0800)]
make 8a, 8c, 8l build in go environment.
,s/int32/long/g in 8a, 8c, 8l.
delete dead code.
move enam.c, 8.out.h, mkenam from 8c to 8l.

R=r
DELTA=1850  (581 added, 983 deleted, 286 changed)
OCL=22119
CL=22129

16 years agocomment sudoaddable;
Russ Cox [Tue, 6 Jan 2009 19:23:58 +0000 (11:23 -0800)]
comment sudoaddable;
remove unused second parameter.

R=ken
OCL=22126
CL=22126

16 years agodelete blyacc
Russ Cox [Tue, 6 Jan 2009 17:53:38 +0000 (09:53 -0800)]
delete blyacc

R=r
DELTA=3562  (0 added, 3560 deleted, 2 changed)
OCL=22112
CL=22114