1
0
mirror of https://github.com/golang/go synced 2024-09-25 07:30:13 -06:00
Commit Graph

279 Commits

Author SHA1 Message Date
Robert Griesemer
de5442893d A small but powerful change in constant declarations. Proposal by ken
after some discussion about enums. Implementation should be trivial.
Wording in the doc should be improved, probably.

SVN=125946
2008-07-03 13:19:07 -07:00
Robert Griesemer
ed9743dc3a - more Go scanner work
SVN=125831
2008-07-02 23:19:31 -07:00
Robert Griesemer
85728a2da7 - implemented first cut at Go scanner in Go
SVN=125785
2008-07-02 17:02:55 -07:00
Robert Griesemer
8b45c369fb - filed a bug
SVN=125596
2008-07-01 18:06:00 -07:00
Robert Griesemer
ceb01373bc - more minor fixes
SVN=125574
2008-07-01 17:18:28 -07:00
Robert Griesemer
27b4b2e4d3 - fixed .x file permissions
- implemented -strict mode if statement
- added readfile() to sys pkg
- removed outdated sys.go

SVN=125572
2008-07-01 16:48:31 -07:00
Robert Griesemer
bc8ef4d526 - minor update
SVN=125471
2008-07-01 09:02:04 -07:00
Robert Griesemer
8af8dff65b - updated doc
SVN=125468
2008-07-01 08:48:24 -07:00
Rob Pike
0b6e6afb76 add test that was mistakenly not checked in, now fixed
SVN=125408
2008-06-30 16:52:17 -07:00
Rob Pike
6973e3813f update golden
fix a comment

SVN=125405
2008-06-30 16:30:53 -07:00
Rob Pike
03febb6773 clean up rearrangement of runtime functions in the source
add isNaN, isInf, NaN, Inf

SVN=125389
2008-06-30 15:30:47 -07:00
Rob Pike
d3204ef19f makes stack traces work for segmented stacks
SVN=125371
2008-06-30 14:39:47 -07:00
Rob Pike
8e82a673db Break runtime.c into separate pieces for maps, strings, print, etc.
Share common assembler for amd64 runtime

SVN=125317
2008-06-30 11:50:36 -07:00
Ken Thompson
b987f7a757 segmented stacks
SVN=125267
2008-06-29 20:40:08 -07:00
Ken Thompson
d3237f9a2a more line numbers
SVN=125265
2008-06-28 17:27:39 -07:00
Ken Thompson
dc1602ca23 more line numbers
SVN=125261
2008-06-28 13:58:00 -07:00
Rob Pike
ff4b01b440 fix two (!) bugs printing floating point zero
SVN=125260
2008-06-28 12:54:24 -07:00
Rob Pike
eca23cfd92 slice doesn't work on a string literal
SVN=125259
2008-06-28 12:50:33 -07:00
Rob Pike
00368bae8c new test - map failure
SVN=125258
2008-06-28 11:38:07 -07:00
Rob Pike
282356bf4f update: hashmap compiles now
SVN=125233
2008-06-27 17:58:13 -07:00
Ken Thompson
ca029d34b6 another both sides functions
SVN=125230
2008-06-27 17:53:23 -07:00
Ken Thompson
57d80398e6 line numbers
SVN=125228
2008-06-27 17:35:42 -07:00
Rob Pike
4331293f41 update to new world. still can't use it but it's a lot of editing....
SVN=125218
2008-06-27 17:06:23 -07:00
Ken Thompson
390d5fe5b2 fixed fncall both sides
SVN=125217
2008-06-27 16:59:14 -07:00
Ken Thompson
102fcc6689 sametype message
SVN=125216
2008-06-27 16:43:02 -07:00
Ken Thompson
73f85f8a53 map index of index bug
SVN=125213
2008-06-27 16:30:20 -07:00
Rob Pike
e95481a938 test wasn't being run. it works fine.
SVN=125179
2008-06-27 14:25:50 -07:00
Rob Pike
34cb7c299e export sys.exit
update tests to use exit rather than return
ignore return value from main (actually done in prior CL)

SVN=125173
2008-06-27 14:15:06 -07:00
Rob Pike
3719aa4d9a update darwin for segmented stacks
SVN=125154
2008-06-27 13:10:56 -07:00
Ken Thompson
1f6828bcdf segmented stack
SVN=125151
2008-06-27 13:03:19 -07:00
Rob Pike
f977e251fa add a test
fix make.bash for runtime - sysfile.6 depends on OS so simplest thing is to build just our own version

SVN=125130
2008-06-27 11:36:40 -07:00
Rob Pike
1f672596c5 fix a few spelling mistakes in messages
SVN=125108
2008-06-27 10:29:02 -07:00
Robert Griesemer
0f99bec402 - added calc cmd
SVN=125025
2008-06-26 18:35:22 -07:00
Ken Thompson
75937c2a16 better line numbers
SVN=125018
2008-06-26 17:54:44 -07:00
Rob Pike
695e3938a0 add readfile test
update golden

SVN=125006
2008-06-26 17:08:39 -07:00
Robert Griesemer
553771314c - moved integer code into src/pkg
SVN=125003
2008-06-26 16:52:15 -07:00
Ken Thompson
f710e8ed04 simultaneous assignment test
SVN=124994
2008-06-26 16:21:51 -07:00
Robert Griesemer
433ac8e57b - a couple of fixes for integer.go
- added pkg dir

SVN=124991
2008-06-26 16:15:43 -07:00
Rob Pike
bcfd31f0e9 repair struct definition
SVN=124985
2008-06-26 15:35:43 -07:00
Rob Pike
f28ec1af7f slight change to file names
SVN=124982
2008-06-26 15:27:21 -07:00
Rob Pike
66b240c7a4 make readfile work on darwin
parameterize the system interface a bit

SVN=124981
2008-06-26 15:26:27 -07:00
Robert Griesemer
2b8db5a439 - added bug against maps
SVN=124977
2008-06-26 15:15:38 -07:00
Ken Thompson
e42d6a5fe2 add pointer to val type of maps
SVN=124971
2008-06-26 14:58:23 -07:00
Rob Pike
3e4e83ab1e add sys.readfile()
add args to linux runtime

SVN=124961
2008-06-26 14:09:26 -07:00
Robert Griesemer
7e21ec3007 - filed a bug against len()
SVN=124926
2008-06-26 11:56:17 -07:00
Rob Pike
9ff0e6288e runtime needs runtime.c
6l needs to know that there is no rt_amd64.6

SVN=124766
2008-06-25 21:31:17 -07:00
Rob Pike
41abdad5ec maybe now $O is right
SVN=124764
2008-06-25 21:24:14 -07:00
Rob Pike
5132d10305 O=6 not O=o
SVN=124763
2008-06-25 21:23:14 -07:00
Rob Pike
c87597de2c put a makefile into runtime
make the runtime library an archive (rt0 is still separate)
update 6l to use the archive
add fakeobj.c, missing from prior change

SVN=124762
2008-06-25 21:19:05 -07:00
Rob Pike
250a091922 add plan 9 ar, which understands our symbol tables
SVN=124761
2008-06-25 20:58:35 -07:00