]> Cypherpunks repositories - gostls13.git/log
gostls13.git
16 years agodrop some superfluous file prefixes in runtime
Rob Pike [Thu, 3 Jul 2008 20:42:04 +0000 (13:42 -0700)]
drop some superfluous file prefixes in runtime

SVN=125956

16 years agoA small but powerful change in constant declarations. Proposal by ken
Robert Griesemer [Thu, 3 Jul 2008 20:19:07 +0000 (13:19 -0700)]
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

16 years ago- more Go scanner work
Robert Griesemer [Thu, 3 Jul 2008 06:19:31 +0000 (23:19 -0700)]
- more Go scanner work

SVN=125831

16 years ago- implemented first cut at Go scanner in Go
Robert Griesemer [Thu, 3 Jul 2008 00:02:55 +0000 (17:02 -0700)]
- implemented first cut at Go scanner in Go

SVN=125785

16 years ago- filed a bug
Robert Griesemer [Wed, 2 Jul 2008 01:06:00 +0000 (18:06 -0700)]
- filed a bug

SVN=125596

16 years ago- more minor fixes
Robert Griesemer [Wed, 2 Jul 2008 00:18:28 +0000 (17:18 -0700)]
- more minor fixes

SVN=125574

16 years ago- fixed .x file permissions
Robert Griesemer [Tue, 1 Jul 2008 23:48:31 +0000 (16:48 -0700)]
- fixed .x file permissions
- implemented -strict mode if statement
- added readfile() to sys pkg
- removed outdated sys.go

SVN=125572

16 years ago- minor update
Robert Griesemer [Tue, 1 Jul 2008 16:02:04 +0000 (09:02 -0700)]
- minor update

SVN=125471

16 years ago- updated doc
Robert Griesemer [Tue, 1 Jul 2008 15:48:24 +0000 (08:48 -0700)]
- updated doc

SVN=125468

16 years agoadd test that was mistakenly not checked in, now fixed
Rob Pike [Mon, 30 Jun 2008 23:52:17 +0000 (16:52 -0700)]
add test that was mistakenly not checked in, now fixed

SVN=125408

16 years agoupdate golden
Rob Pike [Mon, 30 Jun 2008 23:30:53 +0000 (16:30 -0700)]
update golden
fix a comment

SVN=125405

16 years agoclean up rearrangement of runtime functions in the source
Rob Pike [Mon, 30 Jun 2008 22:30:47 +0000 (15:30 -0700)]
clean up rearrangement of runtime functions in the source
add isNaN, isInf, NaN, Inf

SVN=125389

16 years agomakes stack traces work for segmented stacks
Rob Pike [Mon, 30 Jun 2008 21:39:47 +0000 (14:39 -0700)]
makes stack traces work for segmented stacks

SVN=125371

16 years agoBreak runtime.c into separate pieces for maps, strings, print, etc.
Rob Pike [Mon, 30 Jun 2008 18:50:36 +0000 (11:50 -0700)]
Break runtime.c into separate pieces for maps, strings, print, etc.

Share common assembler for amd64 runtime

SVN=125317

16 years agosegmented stacks
Ken Thompson [Mon, 30 Jun 2008 03:40:08 +0000 (20:40 -0700)]
segmented stacks

SVN=125267

16 years agomore line numbers
Ken Thompson [Sun, 29 Jun 2008 00:27:39 +0000 (17:27 -0700)]
more line numbers

SVN=125265

16 years agomore line numbers
Ken Thompson [Sat, 28 Jun 2008 20:58:00 +0000 (13:58 -0700)]
more line numbers

SVN=125261

16 years agofix two (!) bugs printing floating point zero
Rob Pike [Sat, 28 Jun 2008 19:54:24 +0000 (12:54 -0700)]
fix two (!) bugs printing floating point zero

SVN=125260

16 years agoslice doesn't work on a string literal
Rob Pike [Sat, 28 Jun 2008 19:50:33 +0000 (12:50 -0700)]
slice doesn't work on a string literal

SVN=125259

16 years agonew test - map failure
Rob Pike [Sat, 28 Jun 2008 18:38:07 +0000 (11:38 -0700)]
new test - map failure

SVN=125258

16 years agoupdate: hashmap compiles now
Rob Pike [Sat, 28 Jun 2008 00:58:13 +0000 (17:58 -0700)]
update: hashmap compiles now

SVN=125233

16 years agoanother both sides functions
Ken Thompson [Sat, 28 Jun 2008 00:53:23 +0000 (17:53 -0700)]
another both sides functions

SVN=125230

16 years agoline numbers
Ken Thompson [Sat, 28 Jun 2008 00:35:42 +0000 (17:35 -0700)]
line numbers

SVN=125228

16 years agoupdate to new world. still can't use it but it's a lot of editing....
Rob Pike [Sat, 28 Jun 2008 00:06:23 +0000 (17:06 -0700)]
update to new world. still can't use it but it's a lot of editing....

SVN=125218

16 years agofixed fncall both sides
Ken Thompson [Fri, 27 Jun 2008 23:59:14 +0000 (16:59 -0700)]
fixed fncall both sides

SVN=125217

16 years agosametype message
Ken Thompson [Fri, 27 Jun 2008 23:43:02 +0000 (16:43 -0700)]
sametype message

SVN=125216

16 years agomap index of index bug
Ken Thompson [Fri, 27 Jun 2008 23:30:20 +0000 (16:30 -0700)]
map index of index bug

SVN=125213

16 years agotest wasn't being run. it works fine.
Rob Pike [Fri, 27 Jun 2008 21:25:50 +0000 (14:25 -0700)]
test wasn't being run. it works fine.

SVN=125179

16 years agoexport sys.exit
Rob Pike [Fri, 27 Jun 2008 21:15:06 +0000 (14:15 -0700)]
export sys.exit
update tests to use exit rather than return
ignore return value from main (actually done in prior CL)

SVN=125173

16 years agoupdate darwin for segmented stacks
Rob Pike [Fri, 27 Jun 2008 20:10:56 +0000 (13:10 -0700)]
update darwin for segmented stacks

SVN=125154

16 years agosegmented stack
Ken Thompson [Fri, 27 Jun 2008 20:03:19 +0000 (13:03 -0700)]
segmented stack

SVN=125151

16 years agoadd a test
Rob Pike [Fri, 27 Jun 2008 18:36:40 +0000 (11:36 -0700)]
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

16 years agofix a few spelling mistakes in messages
Rob Pike [Fri, 27 Jun 2008 17:29:02 +0000 (10:29 -0700)]
fix a few spelling mistakes in messages

SVN=125108

16 years ago- added calc cmd
Robert Griesemer [Fri, 27 Jun 2008 01:35:22 +0000 (18:35 -0700)]
- added calc cmd

SVN=125025

16 years agobetter line numbers
Ken Thompson [Fri, 27 Jun 2008 00:54:44 +0000 (17:54 -0700)]
better line numbers

SVN=125018

16 years agoadd readfile test
Rob Pike [Fri, 27 Jun 2008 00:08:39 +0000 (17:08 -0700)]
add readfile test
update golden

SVN=125006

16 years ago- moved integer code into src/pkg
Robert Griesemer [Thu, 26 Jun 2008 23:52:15 +0000 (16:52 -0700)]
- moved integer code into src/pkg

SVN=125003

16 years agosimultaneous assignment test
Ken Thompson [Thu, 26 Jun 2008 23:21:51 +0000 (16:21 -0700)]
simultaneous assignment test

SVN=124994

16 years ago- a couple of fixes for integer.go
Robert Griesemer [Thu, 26 Jun 2008 23:15:43 +0000 (16:15 -0700)]
- a couple of fixes for integer.go
- added pkg dir

SVN=124991

16 years agorepair struct definition
Rob Pike [Thu, 26 Jun 2008 22:35:43 +0000 (15:35 -0700)]
repair struct definition

SVN=124985

16 years agoslight change to file names
Rob Pike [Thu, 26 Jun 2008 22:27:21 +0000 (15:27 -0700)]
slight change to file names

SVN=124982

16 years agomake readfile work on darwin
Rob Pike [Thu, 26 Jun 2008 22:26:27 +0000 (15:26 -0700)]
make readfile work on darwin
parameterize the system interface a bit

SVN=124981

16 years ago- added bug against maps
Robert Griesemer [Thu, 26 Jun 2008 22:15:38 +0000 (15:15 -0700)]
- added bug against maps

SVN=124977

16 years agoadd pointer to val type of maps
Ken Thompson [Thu, 26 Jun 2008 21:58:23 +0000 (14:58 -0700)]
add pointer to val type of maps

SVN=124971

16 years agoadd sys.readfile()
Rob Pike [Thu, 26 Jun 2008 21:09:26 +0000 (14:09 -0700)]
add sys.readfile()
add args to linux runtime

SVN=124961

16 years ago- filed a bug against len()
Robert Griesemer [Thu, 26 Jun 2008 18:56:17 +0000 (11:56 -0700)]
- filed a bug against len()

SVN=124926

16 years agoruntime needs runtime.c
Rob Pike [Thu, 26 Jun 2008 04:31:17 +0000 (21:31 -0700)]
runtime needs runtime.c
6l needs to know that there is no rt_amd64.6

SVN=124766

16 years agomaybe now $O is right
Rob Pike [Thu, 26 Jun 2008 04:24:14 +0000 (21:24 -0700)]
maybe now $O is right

SVN=124764

16 years agoO=6 not O=o
Rob Pike [Thu, 26 Jun 2008 04:23:14 +0000 (21:23 -0700)]
O=6 not O=o

SVN=124763

16 years agoput a makefile into runtime
Rob Pike [Thu, 26 Jun 2008 04:19:05 +0000 (21:19 -0700)]
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

16 years agoadd plan 9 ar, which understands our symbol tables
Rob Pike [Thu, 26 Jun 2008 03:58:35 +0000 (20:58 -0700)]
add plan 9 ar, which understands our symbol tables

SVN=124761

16 years agoautolib (#pragma lib)
Ken Thompson [Thu, 26 Jun 2008 03:22:10 +0000 (20:22 -0700)]
autolib (#pragma lib)
added to 6g to autoload
the included import files.

SVN=124759

16 years ago- dump registers in case of signal (linux)
Robert Griesemer [Thu, 26 Jun 2008 00:07:22 +0000 (17:07 -0700)]
- dump registers in case of signal (linux)

SVN=124702

16 years agoimprove bug054.go
Rob Pike [Wed, 25 Jun 2008 22:22:27 +0000 (15:22 -0700)]
improve bug054.go
fix integer.ToString to return the proper, not-nul-terminated value

SVN=124654

16 years agoadd new bug: can't compile a, b := sys.frexp(1.0)
Rob Pike [Wed, 25 Jun 2008 21:05:38 +0000 (14:05 -0700)]
add new bug: can't compile a, b := sys.frexp(1.0)

SVN=124622

16 years agosimul assignment
Ken Thompson [Wed, 25 Jun 2008 18:35:06 +0000 (11:35 -0700)]
simul assignment

SVN=124591

16 years agoprevious change was a nit too aggressive - regular comparison should apply when comparing
Rob Pike [Wed, 25 Jun 2008 04:44:48 +0000 (21:44 -0700)]
previous change was a nit too aggressive - regular comparison should apply when comparing
internal symbol names

SVN=124461

16 years agoallow an underscore to match centered dot (rune 00B7), so people don't have to
Rob Pike [Wed, 25 Jun 2008 04:42:54 +0000 (21:42 -0700)]
allow an underscore to match centered dot (rune 00B7), so people don't have to
type a centered dot when debugging.

SVN=124460

16 years agobug in returning a fat function result
Ken Thompson [Wed, 25 Jun 2008 01:14:32 +0000 (18:14 -0700)]
bug in returning a fat function result

SVN=124436

16 years agocenter dots into argument code
Rob Pike [Wed, 25 Jun 2008 01:00:24 +0000 (18:00 -0700)]
center dots into argument code

SVN=124433

16 years agoput center dot into main_main
Rob Pike [Wed, 25 Jun 2008 00:58:18 +0000 (17:58 -0700)]
put center dot into main_main
restore smashed arg code, lost in incorrect resolve

SVN=124432

16 years agomiddle dot as alpha package separator
Ken Thompson [Wed, 25 Jun 2008 00:16:06 +0000 (17:16 -0700)]
middle dot as alpha package separator

SVN=124419

16 years ago- added access to thread state info from the signal handler
Robert Griesemer [Tue, 24 Jun 2008 23:48:54 +0000 (16:48 -0700)]
- added access to thread state info from the signal handler

SVN=124404

16 years agoarguments available
Rob Pike [Tue, 24 Jun 2008 22:31:03 +0000 (15:31 -0700)]
arguments available
argc, argv, envc, envv all in sys now
sys.argc() etc.

SVN=124398

16 years agostring nil same as string ""
Ken Thompson [Tue, 24 Jun 2008 21:11:20 +0000 (14:11 -0700)]
string nil same as string ""

SVN=124381

16 years agoremove explicit import of "sys"
Rob Pike [Tue, 24 Jun 2008 19:54:26 +0000 (12:54 -0700)]
remove explicit import of "sys"
add a boolean printer

SVN=124362

16 years agomap[int] bug
Ken Thompson [Tue, 24 Jun 2008 18:10:47 +0000 (11:10 -0700)]
map[int] bug

SVN=124332

16 years agobug miscalculating ullman
Ken Thompson [Tue, 24 Jun 2008 17:30:33 +0000 (10:30 -0700)]
bug miscalculating ullman
in CALLMETH/DOTMETH

SVN=124321

16 years agosafety checks, waiting for gri's real tracking of PC and SP
Rob Pike [Tue, 24 Jun 2008 03:12:39 +0000 (20:12 -0700)]
safety checks, waiting for gri's real tracking of PC and SP
extant code is too fragile

SVN=124223

16 years agoupdate some tests
Rob Pike [Tue, 24 Jun 2008 00:13:33 +0000 (17:13 -0700)]
update some tests

SVN=124196

16 years agoadd signal handling to mac runtime
Rob Pike [Mon, 23 Jun 2008 23:34:17 +0000 (16:34 -0700)]
add signal handling to mac runtime

SVN=124184

16 years agomaps
Ken Thompson [Mon, 23 Jun 2008 04:02:06 +0000 (21:02 -0700)]
maps

SVN=124030

16 years agomore nearly correct interface code for signals on linux
Rob Pike [Sun, 22 Jun 2008 00:28:37 +0000 (17:28 -0700)]
more nearly correct interface code for signals on linux

SVN=124021

16 years agoadd signal handling and traceback support therein.
Rob Pike [Sat, 21 Jun 2008 22:36:23 +0000 (15:36 -0700)]
add signal handling and traceback support therein.
factor the runtime into architecture-dependent and -independent pieces.
ditto for the OS dependence.

SVN=124020

16 years agoredeclarations of variables in the same block.
Ken Thompson [Sat, 21 Jun 2008 22:11:29 +0000 (15:11 -0700)]
redeclarations of variables in the same block.
half-step toward multivalued map indexing

SVN=124019

16 years agoremove receclarations from tests
Ken Thompson [Sat, 21 Jun 2008 22:08:04 +0000 (15:08 -0700)]
remove receclarations from tests
that are supposed to succeed

SVN=124018

16 years agodelete incorrect offset print
Rob Pike [Fri, 20 Jun 2008 17:55:53 +0000 (10:55 -0700)]
delete incorrect offset print

SVN=123857

16 years agoimproved formatting of traceback
Rob Pike [Thu, 19 Jun 2008 06:25:37 +0000 (23:25 -0700)]
improved formatting of traceback

SVN=123527

16 years agoprint rudimentary stack traceback after panic
Rob Pike [Thu, 19 Jun 2008 06:17:39 +0000 (23:17 -0700)]
print rudimentary stack traceback after panic

SVN=123524

16 years agostack offset
Ken Thompson [Thu, 19 Jun 2008 05:07:09 +0000 (22:07 -0700)]
stack offset

SVN=123521

16 years agostack offseet table marker
Ken Thompson [Thu, 19 Jun 2008 00:51:56 +0000 (17:51 -0700)]
stack offseet table marker
tacked above each TEXT entry

SVN=123496

16 years ago- added large integer arithmetic package and test cases
Robert Griesemer [Thu, 19 Jun 2008 00:09:20 +0000 (17:09 -0700)]
- added large integer arithmetic package and test cases

SVN=123486

16 years agoclean up ken/rob2.go to eliminate a few workarounds
Rob Pike [Wed, 18 Jun 2008 21:47:46 +0000 (14:47 -0700)]
clean up ken/rob2.go to eliminate a few workarounds

SVN=123442

16 years agoadd new test bug055
Rob Pike [Wed, 18 Jun 2008 21:17:24 +0000 (14:17 -0700)]
add new test bug055

SVN=123431

16 years agoa couple of bugs around nil are fixed
Rob Pike [Wed, 18 Jun 2008 20:53:51 +0000 (13:53 -0700)]
a couple of bugs around nil are fixed

SVN=123423

16 years agoforgot command line for bug054
Rob Pike [Wed, 18 Jun 2008 20:08:01 +0000 (13:08 -0700)]
forgot command line for bug054
update golden.out

SVN=123412

16 years ago'default' bug in switch statements is fixed
Rob Pike [Wed, 18 Jun 2008 20:06:09 +0000 (13:06 -0700)]
'default' bug in switch statements is fixed

SVN=123411

16 years agoadd a bug: method call doesn't compile
Rob Pike [Wed, 18 Jun 2008 18:51:21 +0000 (11:51 -0700)]
add a bug: method call doesn't compile

SVN=123403

16 years agobogus diagnostic with
Ken Thompson [Wed, 18 Jun 2008 18:43:50 +0000 (11:43 -0700)]
bogus diagnostic with
default as first case
in a switch

SVN=123398

16 years agomore maps
Ken Thompson [Wed, 18 Jun 2008 05:33:32 +0000 (22:33 -0700)]
more maps
more semi-colons
type assignment of constants

SVN=123278

16 years agoassign nil to interface
Ken Thompson [Wed, 18 Jun 2008 01:07:40 +0000 (18:07 -0700)]
assign nil to interface

SVN=123256

16 years agoSVN=123250
Ken Thompson [Wed, 18 Jun 2008 01:02:06 +0000 (18:02 -0700)]
SVN=123250

16 years agoSVN=123249
Ken Thompson [Wed, 18 Jun 2008 01:01:05 +0000 (18:01 -0700)]
SVN=123249

16 years agoyata
Ken Thompson [Wed, 18 Jun 2008 00:59:06 +0000 (17:59 -0700)]
yata

SVN=123246

16 years agooptional semi-colons
Ken Thompson [Wed, 18 Jun 2008 00:57:31 +0000 (17:57 -0700)]
optional semi-colons

SVN=123245

16 years ago- added another bug test ('len' shouldn't be a keyword)
Robert Griesemer [Tue, 17 Jun 2008 23:22:02 +0000 (16:22 -0700)]
- added another bug test ('len' shouldn't be a keyword)

SVN=123225

16 years ago- added 2 bug tests
Robert Griesemer [Tue, 17 Jun 2008 23:04:33 +0000 (16:04 -0700)]
- added 2 bug tests

SVN=123220

16 years agoadd two more tests
Rob Pike [Tue, 17 Jun 2008 17:56:28 +0000 (10:56 -0700)]
add two more tests

SVN=123143

16 years agomaps
Ken Thompson [Tue, 17 Jun 2008 05:34:50 +0000 (22:34 -0700)]
maps

SVN=123089

16 years agoadded and, or, xor opcodes
Ken Thompson [Tue, 17 Jun 2008 00:04:39 +0000 (17:04 -0700)]
added and, or, xor opcodes

SVN=123031