1
0
mirror of https://github.com/golang/go synced 2024-11-24 10:40:10 -07:00
Commit Graph

25999 Commits

Author SHA1 Message Date
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
Rob Pike
c870ac239e add sys.writefile; support for darwin only in this CL
SVN=127153
2008-07-14 20:54:55 -07:00
Rob Pike
e9a194382e disambiguate error message
SVN=127152
2008-07-14 20:54:16 -07:00
Ken Thompson
c6e8e1cebf go call fn address
SVN=127151
2008-07-14 20:40:48 -07:00
Rob Pike
42ae6851c0 fix bug names
add a new one: go func() { print "ok\n" } ();

SVN=127144
2008-07-14 19:31:06 -07:00
Robert Griesemer
230230c880 - no column info in error messages for Rob
- fixed parsing of function literals
- added first round of scope handling

SVN=127124
2008-07-14 18:06:41 -07:00
Ken Thompson
2d9ff40774 chan asynch
SVN=127121
2008-07-14 17:41:38 -07:00
Robert Griesemer
fbab6ae9b5 - added universe, universe initialization
- fixed types, added missing exports, etc.

SVN=127104
2008-07-14 16:57:42 -07:00
Robert Griesemer
08b5993b8e - filed 6g crash bug
SVN=127093
2008-07-14 16:26:41 -07:00