1
0
mirror of https://github.com/golang/go synced 2024-11-08 18:56:25 -07:00
Commit Graph

46857 Commits

Author SHA1 Message Date
Rob Pike
febbf82e8d fix some bad spaces
OCL=13363
CL=13363
2008-07-22 15:25:09 -07:00
Rob Pike
220edc48da Expand section on compound literals.
R=ken,gri
DELTA=31  (22 added, 0 deleted, 9 changed)
OCL=13351
CL=13362
2008-07-22 15:23:06 -07:00
Rob Pike
c1f5eda7a2 change date
OCL=13331
CL=13331
2008-07-21 18:06:39 -07:00
Rob Pike
05caa7f820 help management of empty pkg and lib directories in perforce
R=gri
DELTA=4  (4 added, 0 deleted, 0 changed)
OCL=13328
CL=13328
2008-07-21 17:10:49 -07:00
Rob Pike
777ee7163b map delete
SVN=128258
2008-07-21 16:18:04 -07:00
Rob Pike
820f223af9 compiler crash in string('a', 'b', '\n');
SVN=128253
2008-07-21 15:41:39 -07:00
Ken Thompson
b78676a49d start of select
random bugs fixed

SVN=128149
2008-07-20 20:13:07 -07:00
Ken Thompson
963753d3f9 tweaks to init
rand using init

SVN=128142
2008-07-20 13:33:45 -07:00
Ken Thompson
f24f8ffae0 init
SVN=128128
2008-07-19 18:39:12 -07:00
Rob Pike
15d472dd53 add an eval function (written by ken)
SVN=128122
2008-07-19 15:11:25 -07:00
Rob Pike
85c85e2b3f test update
SVN=128120
2008-07-19 15:08:56 -07:00
Rob Pike
acf3d59847 update fmt to use some initialization
tweak ar so the pkgdef file doesn't cause it not to generate a symbol table

SVN=128119
2008-07-19 14:52:01 -07:00
Ken Thompson
c92aff2de7 init
SVN=128118
2008-07-19 14:37:02 -07:00
Ken Thompson
90da636c15 init filename vs pkgname
SVN=128117
2008-07-19 14:20:46 -07:00
Ken Thompson
fb3af53f4e initialization
SVN=128115
2008-07-19 13:38:29 -07:00
Robert Griesemer
5a90ede8a4 - scanner returns now triple (tok, tok_pos, tok_val)
- initial try-out of AST data structures
- removed test_parser (not working anymore - parser needs more infrastructure)

SVN=128089
2008-07-18 17:18:29 -07:00
Robert Griesemer
e912c18c7c - missing changes from prev. commit
SVN=128064
2008-07-18 14:23:04 -07:00
Rob Pike
f87a960adf add doug's power series package
SVN=128063
2008-07-18 14:18:07 -07:00
Robert Griesemer
dead164cc0 - made initial export work
- added code for importing (not tested)
- various fixes

SVN=128061
2008-07-18 14:04:21 -07:00
Robert Griesemer
bce1c3f09a - added 2 bugs tests
SVN=128056
2008-07-18 12:26:48 -07:00
Ken Thompson
4c5a165873 len(fixed array)
SVN=128050
2008-07-18 11:59:35 -07:00
Ken Thompson
0ca551fc36 loop in subtype
SVN=127933
2008-07-17 18:15:05 -07:00
Robert Griesemer
c3e9c7d106 - more front-end stuff: hooking up packages, preparing for exports
SVN=127931
2008-07-17 18:02:10 -07:00
Ken Thompson
41861ca7bb one more time for divide
SVN=127911
2008-07-17 16:22:40 -07:00
Robert Griesemer
85303f2715 - moved struct Compilation into globals.go, adjusted deps
- bail out after > 10 errors
- fixed send/recv statements

SVN=127890
2008-07-17 15:11:46 -07:00
Ken Thompson
9e2d185040 div bug
[]ptr bug
proc reuses old g* structures
differnt assignment of offsets to parameters

SVN=127888
2008-07-17 15:03:39 -07:00
Robert Griesemer
d88c759e87 - moved package code into globals.go, adjusted deps
SVN=127887
2008-07-17 14:53:13 -07:00
Rob Pike
6426659db9 update tests
SVN=127826
2008-07-17 11:15:11 -07:00
Rob Pike
30a39e8f29 compiler bug: infinite recursion in subtype()
SVN=127822
2008-07-17 11:04:44 -07:00
Rob Pike
7eb7ff2b36 new channel syntax
select cleans up too

SVN=127816
2008-07-17 10:47:32 -07:00
Ken Thompson
814320c8b4 parameter in fn literals
SVN=127695
2008-07-16 18:31:01 -07:00
Ken Thompson
8003849498 parameter declartions in func literals
SVN=127678
2008-07-16 17:22:54 -07:00
Robert Griesemer
0e67654f94 - changed channel operators
- more work on packages

SVN=127671
2008-07-16 17:00:48 -07:00
Rob Pike
fbe7ba5b6a strengthen test by checking values
SVN=127601
2008-07-16 14:49:01 -07:00
Rob Pike
f6c13bb2b7 add test for non-blocking channel ops
SVN=127595
2008-07-16 14:41:27 -07:00
Ken Thompson
e7d549fbd7 new (more fifo) schedulint algorithm
newproc will reuse dead procs

SVN=127565
2008-07-16 13:50:23 -07:00
Ken Thompson
44b8934d35 back out last chan fix
allow print of pointers

SVN=127548
2008-07-16 12:44:21 -07:00
Ken Thompson
90da10d7ac chan bool offset bug
SVN=127537
2008-07-16 11:46:33 -07:00
Ken Thompson
ac048ce7f4 new chan syntax
SVN=127437
2008-07-15 21:07:59 -07:00
Rob Pike
33101926f9 channel tests with new syntax
SVN=127436
2008-07-15 20:52:07 -07:00
Robert Griesemer
f550cd67e0 - more infrastructure
SVN=127430
2008-07-15 19:59:00 -07:00
Rob Pike
a703c9a926 add a couple of tests
update golden

SVN=127428
2008-07-15 19:19:50 -07:00
Robert Griesemer
a6f87794ff - added more code (package, export, compilation)
- first cut at semantic checks (disabled)

SVN=127348
2008-07-15 15:37:14 -07:00
Rob Pike
1401c11008 improve the examples in the section on iota
SVN=127347
2008-07-15 15:27:31 -07:00
Rob Pike
e9ecc41eb9 update golden.out
SVN=127240
2008-07-15 10:49:26 -07:00
Rob Pike
aff8d9b468 nested breaks handled wrong
SVN=127239
2008-07-15 10:44:02 -07:00
Rob Pike
27e43085a3 new bug
SVN=127232
2008-07-15 10:27:05 -07:00
Robert Griesemer
0cee302802 - func reorg to reduce forward decls and improve structure
SVN=127229
2008-07-15 10:05:17 -07:00
Robert Griesemer
d9d5f3b3bc - fixed issue with parsing function literals in statement lists
SVN=127218
2008-07-15 09:22:20 -07:00
Rob Pike
cbdaa10f8c add linkage for writefile on darwin
SVN=127208
2008-07-15 08:27:50 -07:00