• Russ Cox's avatar
    new import/export format · b8babed7
    Russ Cox authored
        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
    b8babed7
Name
Last commit
Last update
..
bugs Loading commit data...
chan Loading commit data...
fixedbugs Loading commit data...
ken Loading commit data...
235.go Loading commit data...
args.go Loading commit data...
bufiolib.go Loading commit data...
char_lit.go Loading commit data...
complit.go Loading commit data...
const.go Loading commit data...
dialgoogle.go Loading commit data...
env.go Loading commit data...
errchk Loading commit data...
float_lit.go Loading commit data...
fmt_test.go Loading commit data...
for.go Loading commit data...
func.go Loading commit data...
func1.go Loading commit data...
func2.go Loading commit data...
func3.go Loading commit data...
golden.out Loading commit data...
hashmap.go Loading commit data...
helloworld.go Loading commit data...
if.go Loading commit data...
if1.go Loading commit data...
int_lit.go Loading commit data...
iota.go Loading commit data...
literal.go Loading commit data...
map.go Loading commit data...
math.go Loading commit data...
nil.go Loading commit data...
peano.go Loading commit data...
printbig.go Loading commit data...
readfile.go Loading commit data...
run Loading commit data...
sieve.go Loading commit data...
simassign.go Loading commit data...
sorting.go Loading commit data...
string_lit.go Loading commit data...
stringslib.go Loading commit data...
switch.go Loading commit data...
switch1.go Loading commit data...
tcpserver.go Loading commit data...
test0.go Loading commit data...
timelib.go Loading commit data...
turing.go Loading commit data...
utf.go Loading commit data...
vectors.go Loading commit data...