Age | Commit message (Collapse) | Author | Files | Lines |
|
new feature 'case nil:' in type switch
will match iff the interface is nil.
R=r
OCL=26404
CL=26404
|
|
runtime not finished.
R=r
OCL=26217
CL=26217
|
|
R=ken
OCL=24501
CL=24566
|
|
R=ken
OCL=23520
CL=23520
|
|
though they still build in src/runtime.
use cgo instead of hand-written wrappers.
R=r
DELTA=740 (289 added, 300 deleted, 151 changed)
OCL=23326
CL=23331
|
|
TBR=r
OCL=23121
CL=23127
|
|
R=r
OCL=22978
CL=22984
|
|
R=r
DELTA=139 (101 added, 38 deleted, 0 changed)
OCL=22462
CL=22466
|
|
the possibility of large objects in interface values.
R=r
DELTA=171 (97 added, 22 deleted, 52 changed)
OCL=22382
CL=22382
|
|
mainly a syntactic change: the compiler representations don't change
(chan and map are now hidden pointers like string).
R=ken
OCL=21578
CL=21582
|
|
R=r
OCL=21563
CL=21571
|
|
R=r
OCL=21570
CL=21570
|
|
R=r
OCL=21564
CL=21564
|
|
R=r
OCL=20794
CL=20794
|
|
R=r
OCL=20667
CL=20667
|
|
R=r
DELTA=349 (348 added, 0 deleted, 1 changed)
OCL=20380
CL=20472
|
|
* add gotype string to symbol table
* fill in gotype in 6l for known funcs/vars
* print gotype with nm -t
* load symbol and pc/ln tables into memory at magic address 0x99<<32.
* add sys.symdat() to retrieve raw bytes of symbol table
and pc/ln table.
most of this should be considered experimental
and subject to change.
R=r
DELTA=157 (128 added, 0 deleted, 29 changed)
OCL=19746
CL=19750
|
|
R=rsc
DELTA=32 (32 added, 0 deleted, 0 changed)
OCL=19084
CL=19091
|
|
R=rsc
DELTA=21 (21 added, 0 deleted, 0 changed)
OCL=18709
CL=18718
|
|
R=r
OCL=18646
CL=18646
|
|
whatever the final syntax ends up being.
R=ken
OCL=18414
CL=18414
|
|
add sys.unreflect, which uses gotypesigs.
R=r
DELTA=170 (152 added, 12 deleted, 6 changed)
OCL=18396
CL=18404
|
|
int is new type
R=r
OCL=18023
CL=18023
|
|
sys: add sys.reflect
runtime: add canfail flag for later
R=ken
OCL=17583
CL=17583
|
|
R=rsc
DELTA=21 (0 added, 21 deleted, 0 changed)
OCL=17123
CL=17136
|
|
R=r
OCL=17116
CL=17118
|
|
R=r
OCL=16929
CL=16929
|
|
R=rsc
DELTA=7 (0 added, 0 deleted, 7 changed)
OCL=16600
CL=16630
|
|
package flag
export type flag.Flag struct { name flag.string; usage flag.string; \
value flag.Value; next *flag.Flag }
type flag.string string
type flag.Value interface { AsBool () (? *flag.BoolValue); \
AsInt () (? *flag.IntValue); AsString () (? *flag.StringValue); \
IsBool () (? flag.bool); IsInt () (? flag.bool); IsString () (? flag.bool); \
Str () (? flag.string); ValidValue (str flag.string) (? flag.bool) }
type flag.BoolValue struct { val flag.bool; p *flag.bool }
type flag.IntValue struct { val flag.int64; p *flag.int64 }
type flag.StringValue struct { val flag.string; p *flag.string }
type flag.bool bool
func (e *flag.StringValue) AsBool () (? *flag.BoolValue)
func (e *flag.StringValue) AsInt () (? *flag.IntValue)
...
the \ continuations are for this message, not real.
changed delimiter for import from (( )) to $$ $$.
replaced mksys.bash with mksys.c
changed sys.go to use leading export,
fake package name is now SYS not foop
don't always require ; on forward func decls
R=ken,r
DELTA=1827 (446 added, 1083 deleted, 298 changed)
OCL=16433
CL=16463
|
|
prints that insert spaces and new line
R=r
OCL=16370
CL=16370
|
|
R=r
OCL=15786
CL=15792
|
|
to string convert. if the byte array has length 0,
the computation of &a[0] throws an index bounds error.
for fixed size arrays, this ends up invoking arrays2d
unnecessarily, but it works.
R=ken
DELTA=304 (44 added, 28 deleted, 232 changed)
OCL=15674
CL=15678
|
|
R=r
OCL=15664
CL=15664
|
|
R=r
OCL=15627
CL=15627
|
|
2 added dynamic calls to throw for array bounds
and 'fn wo return'
3 small optimization on index[constant]
R=r
OCL=15281
CL=15281
|
|
R=r
OCL=14603
CL=14603
|
|
* kick off new os procs (machs) as needed
* add sys·sleep for testing
* add Lock, Rendez
* properly lock mal, sys·newproc, scheduler
* linux syscall arg #4 is in R10, not CX
* chans are not multithread-safe yet
* multithreading disabled by default;
set $gomaxprocs=2 (or 1000) to turn it on
This should build on OS X but may not.
Rob and I will fix soon after submitting.
TBR=r
OCL=13784
CL=13842
|
|
R=r
DELTA=517 (137 added, 98 deleted, 282 changed)
OCL=13495
CL=13495
|
|
R=r
APPROVED=r
DELTA=638 (433 added, 21 deleted, 184 changed)
OCL=13426
CL=13438
|
|
allow print of pointers
SVN=127548
|
|
SVN=127437
|
|
SVN=127153
|
|
SVN=126958
|
|
arg space magic number for morestack
SVN=126936
|
|
SVN=126929
|
|
SVN=126423
|
|
SVN=126321
|
|
fixed a,b,c := x,x,x
SVN=126250
|
|
SVN=126152
|
|
add isNaN, isInf, NaN, Inf
SVN=125389
|