repo.or.cz
/
delight
/
core.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Merged Delight changes to D1 into D2
2008-09-28
Th
o
m
a
s Leonard
Merge
d
Delight changes to
D
1 into D2
commit
|
commitdiff
|
tree
2008-09-27
Tho
m
as Leonard
Added
sup
p
o
r
t f
o
r
anony
m
ous functions
commit
|
commitdiff
|
tree
2008-09-27
Thomas Leonard
Better error if
t
he use
r
t
ries
to make an anonymous
.
.
.
commit
|
commitdiff
|
tree
2008-09-27
Thomas
L
e
onard
The expression
"
x
in dict
"
is now a m
a
ybe
t
y
p
e
commit
|
commitdiff
|
tree
2008-09-27
Thomas Leonard
Reject st
a
tic variables d
u
r
i
ng t
h
e semantic p
a
ss, not
.
.
.
commit
|
commitdiff
|
tree
2008-09-26
Th
o
mas Leon
a
r
d
D
i
sa
l
lo
w
old style array
declaratio
n
s
in Delight
commit
|
commitdiff
|
tree
2008-09-26
Thomas Leonard
Fixed parsing of
mixin
e
xp
r
essions
.
commit
|
commitdiff
|
tree
2008-09-26
T
h
omas Leonard
Allow stati
c
inner classes
commit
|
commitdiff
|
tree
2008-09-26
Thomas Leo
n
ard
Allow ne
s
ted clas
s
es
commit
|
commitdiff
|
tree
2008-09-26
Thomas Leonard
Matched obje
c
t in an if
i
s
never null
commit
|
commitdiff
|
tree
2008-09-26
Thomas Leonard
Fixed
w
arning for "if Foo f = e
x
pr:"
commit
|
commitdiff
|
tree
2008-09-26
T
homa
s
Leonard
"cast(Foo
)
foo" h
a
s
t
ype "Foo?"
commit
|
commitdiff
|
tree
2008-09-25
T
h
om
a
s
L
e
onard
Wa
r
n about "as
s
ert X,Y"
commit
|
commitdiff
|
tree
2008-09-24
Tho
m
as Leonard
Allow implic
i
t
c
onversion "foo*?" to "void*"
commit
|
commitdiff
|
tree
2008-09-24
Thomas Leona
r
d
S
kip not-null che
c
ks for
_argptr and _
a
r
gum
e
n
t
s
commit
|
commitdiff
|
tree
2008-09-23
Thomas
Leonard
Mov
e
d _externals module to dlt
.
_extern
a
l
s
commit
|
commitdiff
|
tree
2008-09-23
Thomas
Leonard
U
p
d
a
ted set
u
p
paths to use g
c
c/dlt, not gcc/d
commit
|
commitdiff
|
tree
2008-09-22
Thomas Leonard
Accept "is not" for "!is"
commit
|
commitdiff
|
tree
2008-09-22
Thomas
Leonard
A
llow
log stat
e
ments to be used in templates
commit
|
commitdiff
|
tree
2008-09-22
T
h
omas Leonard
In Deligh
t
, "overrid
e
" mu
s
t alwa
y
s be
u
sed w
h
en ove
r
riding
.
.
.
commit
|
commitdiff
|
tree
2008-09-22
Thomas
Leonard
F
ixed
s
emi-co
l
on p
a
r
sing
i
n C
-
style for loo
p
s
commit
|
commitdiff
|
tree
2008-09-20
Thomas Leo
n
a
r
d
Generat
e
valid name
s
for T
y
peInfo_Maybe
t
y
p
e
s
commit
|
commitdiff
|
tree
2008-09-20
T
h
oma
s
Leonard
Improved some error messages
.
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leona
r
d
De
l
ay incrementing the line number until
a
fter send
i
ng
.
.
.
commit
|
commitdiff
|
tree
2008-09-19
Thomas
Leonard
Fi
x
e
d
some lexing problems w
i
th D
O
S
lin
e
-end
i
ngs
commit
|
commitdiff
|
tree
2008-09-19
Thomas
L
e
o
nard
Pars
e
"implemen
t
s
"
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leo
n
a
rd
Catch SystemExit from
m
ain and pa
s
s to Externals f
o
r
.
.
.
commit
|
commitdiff
|
tree
2008-09-19
T
h
omas Leonard
Di
s
allow '&&'
and '||'
i
n
dlt
.
Mu
s
t u
s
e 'and'
and
.
.
.
commit
|
commitdiff
|
tree
2008-09-19
Th
o
mas Leo
n
ard
Add
e
d
D
elight "no
r
ma
l
" mode restrictions
commit
|
commitdiff
|
tree
2008-09-19
Thoma
s
Le
o
n
ard
Merge in maybe typ
e
c
hecki
n
g branch
commit
|
commitdiff
|
tree
2008-09-19
Thomas L
e
onard
Simpl
i
fy non-null name mangi
n
g
commit
|
commitdiff
|
tree
2008-09-19
T
h
omas Leonard
Copy maybe flag when copying synt
a
x for a TypeIdentifier
commit
|
commitdiff
|
tree
2008-09-19
Thomas Le
o
nard
Support covariant maybe
return types
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leonard
All
o
w
i
mpl
i
cit conversation from Subclass
?
t
o
Super?
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leonard
Error o
n
pointless
m
aybe annotatio
n
s
commit
|
commitdiff
|
tree
2008-09-19
Tho
m
as
L
eonard
Delay wrapping a Typ
e
I
d
entifi
e
r in a TypeMaybe until
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
T
h
oma
s
Leonard
Don't
m
e
r
ge TypeMaybe if it depends
on an unresolved
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
T
homas
L
e
onard
Fix pa
r
sing problem
with array
i
nitial
i
sers
commit
|
commitdiff
|
tree
2008-09-18
Thomas Le
o
nard
I
gnore maybe att
r
ibutes when matching templates
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leo
n
ard
Strip not-null
c
haracters from symbol na
m
es
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leon
a
rd
Give
a
better er
r
or wh
e
n doing
pointe
r
arithm
e
ti
c
on
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas
Leonard
K
e
ep track of whe
n
we
a
re
instanti
a
t
ing
D templates
commit
|
commitdiff
|
tree
2008-09-18
Thom
a
s Leonard
Wo
r
k
harder
t
o p
r
event g
e
t
ting void*?
commit
|
commitdiff
|
tree
2008-09-18
T
homas Leo
n
ard
DAr
r
ay
.
ptr gets maybe type
"char
*?"
commit
|
commitdiff
|
tree
2008-09-18
T
h
omas Le
o
nard
F
or tem
p
lates keep track o
f
wh
e
ther they
came from
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
T
h
o
mas Leonard
Don't add maybe qua
l
ifiers to
al
i
a
ses
i
n D source
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leonard
C
heck t
h
a
t all no
n
-
n
ull f
i
elds in a class get initia
l
ised
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Tho
m
as Leonard
U
se maybe rules for po
i
nters
.
commit
|
commitdiff
|
tree
2008-09-18
T
h
omas Leonard
D
o
n't in
c
lude dynamic arrays
in
n
on-null chec
k
s
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leonard
Still gener
a
t
e
a newlin
e
to
k
en after
a
"#" comme
n
t
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thom
a
s
L
eo
n
ard
Error
i
f
y
ou
d
o
n
'
t
initialise a
non-nu
l
l type
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leo
n
a
r
d
Fix
mangle
d
name o
f
TypeInfo ini
t
functions
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas L
e
ona
r
d
Don't
a
l
l
o
w
"a
~
b"
if either could
be null
commit
|
commitdiff
|
tree
2008-09-18
T
homas Leonar
d
S
upport
m
aybe dyn
a
mic
arrays
.
commit
|
commitdiff
|
tree
2008-09-18
T
homas
Leonard
D
o
n't allow
i
mp
l
icit
conv
e
r
sion of
null to
a class
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas
Leonard
Bet
t
er error mess
a
ge wh
e
n attemp
t
in
g
t
o
a
c
cess a property
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leonard
Fixed parsing of
maybe types i
n
statements
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Delegate mos
t
maybe op
e
r
a
t
i
ons to base type
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Al
l
ow
"T[]" -> "T[]?"
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Allow i
m
pli
c
i
t
cast
from
n
ull to maybe t
y
pes
(
"Type?")
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leon
a
rd
Added Maybe t
y
p
e
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonar
d
Fixed parsing fo
r
Delig
h
t
"
fo
r
()" stateme
n
ts
commit
|
commitdiff
|
tree
2008-09-17
Thomas L
e
on
a
r
d
"
s
t
atic if (X
)
" to "static if X"
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Co
p
e
with Mai
n
not being a clas
s
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Fixed parsi
n
g of D return
s
t
a
temen
t
s
.
commit
|
commitdiff
|
tree
2008-09-17
Th
o
m
as Leonard
"e
n
u
m
A:B
{}" -> "enum A ext
e
nds B:"
commit
|
commitdiff
|
tree
2008-09-17
Thomas
Leonard
Use T
a
n
g
o log le
v
els and names
commit
|
commitdiff
|
tree
2008-09-17
T
homas Leonard
Use
d
l
t
.
core
.
__log() fo
r
loggin
g
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Auto-import dlt
.
core in
t
o all modules
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Don't import _extern
a
ls from every module
commit
|
commitdiff
|
tree
2008-09-17
Th
o
mas Leonard
Allo
w
log_ state
m
ents outside
of a class
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonar
d
Added LogSta
t
em
e
nt
commit
|
commitdiff
|
tree
2008-09-17
T
h
o
m
a
s Leonar
d
Imp
l
icitly add al
l
"in" instan
c
e variables to ea
c
h
.
.
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas L
e
o
n
ard
D
e
lay
auto-generati
n
g the main f
u
nction until t
h
e en
d
.
.
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Accept "in" instanc
e
varia
b
les
commit
|
commitdiff
|
tree
2008-09-17
Th
o
m
as Leonard
Include log le
v
el in
l
og me
s
sages
commit
|
commitdiff
|
tree
2008-09-17
T
homas L
e
o
nard
Include classinfo in l
o
g messages
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonar
d
A
dded log_* s
t
ate
m
e
n
ts
commit
|
commitdiff
|
tree
2008-09-17
Thoma
s
Leonard
Adde
d
an _externa
l
s
.
E
x
t
e
r
nals
c
lass
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Also supply argu
m
ents autom
a
tically
to
m
ain met
h
od
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leo
n
ard
M
i
nor ref
a
ctoring
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leon
a
rd
Afte
r
construct
i
ng Main, call its main() method
commit
|
commitdiff
|
tree
2008-09-17
T
homas Leonard
Pass args as a Main constr
u
ctor argume
n
t
if
n
eeded
commit
|
commitdiff
|
tree
2008-09-17
Th
o
mas L
e
on
a
rd
Passes arguments to Main
c
o
nstruc
t
or
commit
|
commitdiff
|
tree
2008-09-17
Thomas
L
e
o
nard
P
a
rse D break and throw statements correctly
ag
a
in
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leon
a
rd
Automatic
a
lly constr
u
ct Main class
o
n
s
tartup
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
"
cond
?
yes :
no"
to "
y
es if cond else no"
commit
|
commitdiff
|
tree
2008-09-17
Thomas Le
o
nard
D import syntax
w
orks again
commit
|
commitdiff
|
tree
2008-09-17
Th
o
mas Leonard
"class A : B {}" -> "cla
s
s
A extends
B
:
"
commit
|
commitdiff
|
tree
2008-09-17
T
h
omas Leonard
Up
d
ated par
s
er to sup
p
o
rt Delig
h
t's
":" and newline
.
.
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas L
e
onard
Added suppor
t
fo
r
lexi
n
g
D
l
t files
commit
|
commitdiff
|
tree
2008-09-17
T
homas Leo
n
ard
Detect when the input e
n
ds in
.
d
lt and us
e
DltPars
e
r
commit
|
commitdiff
|
tree
2008-09-17
Thoma
s
Leonard
Rename
d
lang
u
a
g
e t
o
dl
t
(
Delight)
commit
|
commitdiff
|
tree