Age | Commit message (Collapse) | Author | Files | Lines |
|
other [] cleanup.
convert() is gone.
R=r
DELTA=352 (144 added, 68 deleted, 140 changed)
OCL=21660
CL=21662
|
|
R=r
OCL=20794
CL=20794
|
|
new syntax for exact mp floating constants
decimal_int ( "p" | "P" ) [ "+" | "-" ] decimal_int
the value is decimal1 * 2^decimal2
R=r
OCL=20357
CL=20357
|
|
R=r
OCL=20185
CL=20185
|
|
TBR=r
OCL=19612
CL=19612
|
|
makes lineno correct for statements without semicolons.
R=ken
OCL=19454
CL=19454
|
|
int is new type
R=r
OCL=18023
CL=18023
|
|
* print int as int, not P.int
* write type info for non-exported types
in its own new section.
ar:
skip over rest of line after $$
R=ken
OCL=17568
CL=17568
|
|
the comment talked about printing, but now
t->recur is only used for typehash.
in typehash it is important to compute different
hashes for the different basic types.
add test that makes sure an interface { X() int8 }
cannot be used as interface { X() int64 }
R=ken
OCL=17396
CL=17396
|
|
R=ken
OCL=17320
CL=17320
|
|
R=r
OCL=17116
CL=17118
|
|
R=ken
OCL=16449
CL=16466
|
|
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
|
|
bug fix in named-return
R=r
OCL=16377
CL=16377
|
|
prints that insert spaces and new line
R=r
OCL=16370
CL=16370
|
|
binary <- is send
unary <- is recv
-< is gone
case a := <-ch: works in select
case a = <-ch: works in select
support for new cases is not yet in the compiler but all non-select
code works
second CL will update affected go source
R=ken
OCL=15414
CL=15414
|
|
R=r
OCL=14603
CL=14603
|
|
R=r
OCL=14140
CL=14140
|
|
R=r
DELTA=138 (75 added, 12 deleted, 51 changed)
OCL=14129
CL=14131
|
|
R=r
DELTA=37 (31 added, 4 deleted, 2 changed)
OCL=14089
CL=14089
|
|
R=r
DELTA=149 (80 added, 62 deleted, 7 changed)
OCL=14029
CL=14029
|
|
R=r
DELTA=381 (142 added, 26 deleted, 213 changed)
OCL=14011
CL=14016
|
|
these guys really really want long to be 32-bits,
so ,s/long/int32/ (and then manual fixup).
still passes all tests.
(i started out looking for just those longs that
needed to be int32 instead, and it was just too hard
to track them down one by one.)
the longs were rare enough that i don't think
it will cause integration problems.
R=ken
OCL=13787
CL=13789
|
|
R=r
DELTA=18 (6 added, 1 deleted, 11 changed)
OCL=13504
CL=13504
|
|
random bugs fixed
SVN=128149
|
|
SVN=127437
|
|
handle archives with __.PKGDEF elements (although we can't create them yet)
introduce a pkg directory
search the pkg directory for packages during compilation
SVN=126574
|
|
more on go statement
SVN=126421
|
|
SVN=126049
|
|
arguments in first block for diagnostics
thomo return
better syntax error recovery
SVN=126045
|
|
SVN=125265
|
|
added to 6g to autoload
the included import files.
SVN=124759
|
|
half-step toward multivalued map indexing
SVN=124019
|
|
expressions.
start of generics for calling builtin
functions
start of map type
'any' demoted from reserved word to type
SVN=122808
|
|
SVN=122793
|
|
SVN=122584
|
|
SVN=122309
|
|
SVN=121737
|
|
SVN=121622
|
|
SVN=121620
|
|
SVN=121574
|
|
SVN=121562
|
|
SVN=121553
|
|
SVN=121367
|
|
SVN=121175
|
|
SVN=121164
|