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
Allow implicit conversion "foo*?" to "void*"
2008-09-24
Thomas Leonar
d
Allow
i
m
p
l
icit conversion "foo*?" to
"
void*"
commit
|
commitdiff
|
tree
2008-09-24
Thomas Leonard
Skip not-n
u
l
l
checks for _a
r
gptr and _arg
u
ments
commit
|
commitdiff
|
tree
2008-09-23
Thom
a
s Leon
a
rd
Moved _externals module to d
l
t
.
_
e
xt
e
rnals
commit
|
commitdiff
|
tree
2008-09-23
T
h
omas Le
o
nard
U
pdated
s
et
u
p paths to use gcc/dlt, n
o
t gcc/d
commit
|
commitdiff
|
tree
2008-09-22
T
homas Leonard
Accept "
i
s not" for "!is"
commit
|
commitdiff
|
tree
2008-09-22
Thomas L
e
onard
Allow log statements to be used in templates
commit
|
commitdiff
|
tree
2008-09-22
Thomas Leonard
In Delight, "overri
d
e" must
alway
s
be used whe
n
overrid
i
ng
.
.
.
commit
|
commitdiff
|
tree
2008-09-22
Thomas Le
o
na
r
d
F
i
xe
d
semi-colon parsing
in C-style for loops
commit
|
commitdiff
|
tree
2008-09-20
Th
o
mas Leonard
Generate v
a
l
i
d
names
fo
r
TypeInf
o
_Maybe types
commit
|
commitdiff
|
tree
2008-09-20
Tho
m
as Leonard
Impr
o
v
e
d some error
messag
e
s
.
commit
|
commitdiff
|
tree
2008-09-19
T
h
om
a
s Leonar
d
Dela
y
inc
r
ementing the line n
u
mber until after sending
.
.
.
commit
|
commitdiff
|
tree
2008-09-19
T
hom
a
s Leonard
F
i
xed som
e
lexing pro
b
lem
s
with DOS l
i
ne-end
i
ngs
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leonard
Par
s
e "
i
mplements"
commit
|
commitdiff
|
tree
2008-09-19
Thoma
s
Leonard
C
a
t
c
h S
y
stemExit
f
rom m
a
in and pass to Ext
e
rnals for
.
.
.
commit
|
commitdiff
|
tree
2008-09-19
Thomas
Leonard
Disal
l
o
w '&
&
' a
n
d '||' in dl
t
.
M
ust use 'and' a
n
d
.
.
.
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leo
n
ard
Adde
d
Delight "normal" m
o
de restrictions
commit
|
commitdiff
|
tree
2008-09-19
Thomas
Leonard
M
erge i
n
m
a
y
be type checking branch
commit
|
commitdiff
|
tree
2008-09-19
Thomas
Leon
a
r
d
S
i
mplify non-null name man
g
i
ng
commit
|
commitdiff
|
tree
2008-09-19
Thomas
L
eonard
Copy maybe f
l
ag when cop
y
i
n
g synta
x
for a TypeIdent
i
fier
commit
|
commitdiff
|
tree
2008-09-19
Thoma
s
Leonard
S
upport covariant maybe
return types
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leonard
Allow implicit con
v
ersation from Subcl
a
s
s? to
Super?
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leona
r
d
Er
r
or on po
i
nt
l
es
s
maybe annota
t
i
o
ns
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leonard
Delay
wrapp
i
n
g
a
T
ype
I
dentifier
i
n a
T
ypeMaybe until
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
T
h
omas
Leonard
Don't merge Type
M
aybe
if
i
t de
p
ends on an unr
e
so
l
ved
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
T
homas L
e
on
a
rd
Fix parsing problem
w
ith arra
y
initialisers
commit
|
commitdiff
|
tree
2008-09-18
Tho
m
a
s
Le
o
nard
Ignore may
b
e at
t
ribut
e
s
w
h
en mat
c
hin
g
template
s
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leonard
St
r
ip not-null chara
c
ters from sy
m
bol names
commit
|
commitdiff
|
tree
2008-09-18
Thom
a
s Le
o
nard
G
ive a better error when doi
n
g
pointer arithm
e
tic on
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Tho
m
as Leonard
Kee
p
t
r
ack of when we
are instantiating D templates
commit
|
commitdiff
|
tree
2008-09-18
Thoma
s
L
eonard
Work harder to
prevent g
e
tting void*?
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leonard
DArray
.
ptr
g
ets m
a
y
be type
"
c
har *?
"
commit
|
commitdiff
|
tree
2008-09-18
Thoma
s
L
e
onard
For templa
t
e
s
k
e
e
p
t
rack
o
f whether th
e
y came f
r
om
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Th
o
m
a
s Leon
a
r
d
Do
n
't add
m
aybe qualifiers to aliases in D
s
o
u
r
ce
commit
|
commitdiff
|
tree
2008-09-18
Thomas
L
eonard
C
h
e
ck that all non-nul
l
fields
in a class
g
e
t
i
nitialised
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Tho
m
a
s L
e
o
n
ard
Use maybe rules fo
r
point
e
rs
.
commit
|
commitdiff
|
tree
2008-09-18
Thom
a
s Leonard
Don't inc
l
ude
d
y
n
ami
c
ar
r
ay
s
in non-null checks
commit
|
commitdiff
|
tree
2008-09-18
T
h
omas Leonard
Still generate
a newline token after a "#" comment
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Th
o
mas
Leonard
Error
if you do
n
't initialise a
n
on-null type
commit
|
commitdiff
|
tree
2008-09-18
Thoma
s
Leonard
Fix mangled name of
TypeInfo init function
s
.
commit
|
commitdiff
|
tree
2008-09-18
Thom
a
s Leona
r
d
Don't allow "a~b" if either coul
d
be nu
l
l
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leonar
d
Support maybe dynamic
ar
r
ays
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas
L
e
onar
d
Don't a
l
low
implicit co
n
ver
s
ion of null t
o
a
c
lass
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thom
a
s Leon
a
r
d
Bett
e
r error me
s
sag
e
when
a
ttempting
t
o ac
c
ess a p
r
o
perty
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thom
a
s
Leonard
Fixe
d
par
s
ing
o
f maybe
types in
statements
commit
|
commitdiff
|
tree
2008-09-17
Tho
m
as Leonard
D
e
l
egate most maybe opera
t
ions
t
o
b
ase ty
p
e
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
A
l
low "T[
]
" -> "T[]?"
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
A
l
l
ow implicit cast from null to
m
a
y
be types
("Ty
p
e?")
commit
|
commitdiff
|
tree
2008-09-17
Thomas L
e
onard
Added Maybe typ
e
commit
|
commitdiff
|
tree
2008-09-17
Thomas L
e
onard
Fixed pars
i
ng
f
o
r
Deligh
t
"for ()" st
a
tements
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leona
r
d
"static
i
f (X)" to "s
t
atic if X
"
commit
|
commitdiff
|
tree
2008-09-17
Thoma
s
L
e
onar
d
Cope with M
a
i
n
not being a cl
a
ss
.
commit
|
commitdiff
|
tree
2008-09-17
Thom
a
s Leo
n
ard
Fixed pa
r
sing of D return stat
e
men
t
s
.
commit
|
commitdiff
|
tree
2008-09-17
T
homa
s
L
e
o
nard
"e
n
um A:B {}" -> "
e
num A extends B:"
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leona
r
d
Use Tango log levels a
n
d name
s
commit
|
commitdiff
|
tree
2008-09-17
Tho
m
as L
e
onard
Use dlt
.
core
.
__log() for logging
commit
|
commitdiff
|
tree
2008-09-17
Thoma
s
Leona
r
d
Auto-import dlt
.
c
o
r
e
into
a
ll modu
l
e
s
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Do
n
't im
p
ort _ext
e
rnals from eve
r
y mo
d
ule
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leona
r
d
Allow log
_
st
a
tem
e
n
ts out
s
ide of a cla
s
s
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonar
d
Add
e
d LogStatement
commit
|
commitdiff
|
tree
2008-09-17
Thomas
L
eonard
Im
p
licitly ad
d
al
l
"in" instance v
a
riables to each
.
.
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leon
a
rd
Delay
auto-gen
e
ratin
g
t
he mai
n
func
t
io
n
unt
i
l the end
.
.
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Accept "in
"
i
nstance variables
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
I
nclude log
l
eve
l
in lo
g
m
essages
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Include class
i
nfo in log messages
.
commit
|
commitdiff
|
tree
2008-09-17
Th
o
mas Leo
n
ard
Added log_*
statements
commit
|
commitdiff
|
tree
2008-09-17
Thomas Le
o
nard
Add
e
d
a
n _externa
l
s
.
Extern
a
ls
class
commit
|
commitdiff
|
tree
2008-09-17
Thomas
Le
o
nard
Al
s
o su
p
ply argumen
t
s
autom
a
ticall
y
to
m
ain
m
ethod
commit
|
commitdiff
|
tree
2008-09-17
Thomas L
e
onar
d
M
inor refac
t
oring
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leon
a
rd
After c
o
nstructing Main, call its main() method
commit
|
commitdiff
|
tree
2008-09-17
Th
o
mas Leonard
Pa
s
s args
as
a
M
a
in
c
o
n
structor argument if
needed
commit
|
commitdiff
|
tree
2008-09-17
T
hom
a
s Leonard
P
a
s
s
e
s a
r
g
u
ments to M
a
in constructor
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Parse D break
a
n
d
t
hrow state
m
ents correctl
y
a
g
ain
commit
|
commitdiff
|
tree
2008-09-17
Thom
a
s Leonard
Automatically construct
M
a
in class on startup
commit
|
commitdiff
|
tree
2008-09-17
Thoma
s
Leonard
"cond
?
y
es : no" to "yes if cond else no"
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
D import synt
a
x w
o
rks again
commit
|
commitdiff
|
tree
2008-09-17
Thomas
L
eonard
"class A : B {}" -> "
c
l
as
s
A e
x
t
e
nds B:"
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leo
n
a
rd
Updated parser to suppor
t
Delight's ":" and
newline
.
.
.
commit
|
commitdiff
|
tree
2008-09-17
T
h
om
a
s Leon
a
rd
Added support fo
r
lexing D
l
t files
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Detect when th
e
input ends in
.
dlt and use DltParser
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonar
d
Renamed
l
anguage
t
o dlt (Delight)
commit
|
commitdiff
|
tree