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
Fixed warning for "if Foo f = expr:"
2008-09-26
Thomas L
e
onar
d
Fixed w
a
rning for "if Foo
f =
e
x
p
r
:"
commit
|
commitdiff
|
tree
2008-09-26
Thomas Leonard
"cast(Foo) foo" has type "Foo?"
commit
|
commitdiff
|
tree
2008-09-25
Thomas
Le
o
n
ard
Warn abou
t
"assert X,Y"
commit
|
commitdiff
|
tree
2008-09-24
Th
o
mas Leonard
All
o
w impl
i
cit conv
e
rsion
"foo*?" to "
v
oid*"
commit
|
commitdiff
|
tree
2008-09-24
Thomas Leonard
Skip not
-
null checks for _argp
t
r an
d
_ar
g
uments
commit
|
commitdiff
|
tree
2008-09-23
Thomas Leonard
Moved _externals module to
d
l
t
.
_ex
t
e
rnals
commit
|
commitdiff
|
tree
2008-09-23
Thom
a
s Leonar
d
U
p
dated setu
p
paths to use gc
c
/dlt,
not gcc/
d
commit
|
commitdiff
|
tree
2008-09-22
Thomas Leonar
d
Accept
"is
n
ot"
f
or "!is"
commit
|
commitdiff
|
tree
2008-09-22
Thomas
L
eonard
Allow log statements
to
be u
s
ed in t
e
mpl
a
tes
commit
|
commitdiff
|
tree
2008-09-22
Thomas Leon
a
rd
In Delig
h
t
, "override" mu
s
t alw
a
ys be u
s
ed when over
r
iding
.
.
.
commit
|
commitdiff
|
tree
2008-09-22
Thomas
L
eonard
Fixed semi-colon parsing
i
n C-s
t
yle for loops
commit
|
commitdiff
|
tree
2008-09-20
Thomas
L
eon
a
r
d
Generate val
i
d
names for Typ
e
Info_M
a
ybe
t
y
pes
commit
|
commitdiff
|
tree
2008-09-20
Thomas
L
eonard
Improve
d
s
o
me error messages
.
commit
|
commitdiff
|
tree
2008-09-19
T
h
omas Leona
r
d
Delay
in
c
rementin
g
the
line n
u
m
b
er unti
l
a
f
t
er se
n
ding
.
.
.
commit
|
commitdiff
|
tree
2008-09-19
Thoma
s
Leonard
Fixed some lexing problems with DOS li
n
e-endings
commit
|
commitdiff
|
tree
2008-09-19
T
h
oma
s
Leonard
Parse "implements"
commit
|
commitdiff
|
tree
2008-09-19
Thomas
Leonard
Catch S
y
st
e
mExi
t
fro
m
main and pass to Ex
t
ern
a
l
s
for
.
.
.
commit
|
commitdiff
|
tree
2008-09-19
Th
o
mas
Leona
r
d
Disallow
'&&' and '||' in dlt
.
M
u
s
t use
'and' and
.
.
.
commit
|
commitdiff
|
tree
2008-09-19
Thomas Le
o
nard
Added Delight
"n
o
rmal"
m
od
e
r
e
s
tric
t
ions
commit
|
commitdiff
|
tree
2008-09-19
Th
o
mas Leonard
Merge in maybe type check
i
ng b
r
anch
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leonard
Simplify
n
o
n
-nul
l
n
a
me manging
commit
|
commitdiff
|
tree
2008-09-19
T
h
o
mas
Leon
a
rd
Copy maybe flag wh
e
n
c
opying syn
t
ax for a
T
ypeI
d
ent
i
fier
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leonard
Support covariant maybe return type
s
commit
|
commitdiff
|
tree
2008-09-19
Thom
a
s
Leonard
Allow
i
m
plicit con
v
ersation from Subc
l
ass? to
Super?
commit
|
commitdiff
|
tree
2008-09-19
Thomas
L
e
on
a
r
d
Error on poin
t
le
s
s may
b
e annotations
commit
|
commitdiff
|
tree
2008-09-19
Tho
m
as Leonard
D
e
lay wrap
p
ing a TypeIde
n
tifie
r
in a
TypeMay
b
e until
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leona
r
d
Do
n
't merge T
y
p
e
Maybe
i
f it depend
s
on
a
n unreso
l
ved
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thom
a
s
Leonard
Fix parsing
p
roblem with a
r
ray initialisers
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leonard
Ignore maybe attribut
e
s when matching te
m
plat
e
s
commit
|
commitdiff
|
tree
2008-09-18
Thom
a
s
L
e
onard
S
trip not-null chara
c
t
e
r
s
from symbol names
commit
|
commitdiff
|
tree
2008-09-18
Th
o
mas Leonard
Giv
e
a
b
ette
r
e
rror
w
h
e
n
d
oi
n
g pointer arithmetic on
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas
Leonard
K
eep tr
a
ck of when we are
i
nstantiating D templates
commit
|
commitdiff
|
tree
2008-09-18
Thomas
L
e
onard
Work
h
a
rder to prevent getting void
*
?
commit
|
commitdiff
|
tree
2008-09-18
Thoma
s
Le
o
nard
DArr
a
y
.
ptr gets maybe type "c
h
ar *?"
commit
|
commitdiff
|
tree
2008-09-18
Th
o
mas L
e
onard
Fo
r
templates ke
e
p track of wh
e
th
e
r they came from
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas Le
o
n
ard
Don't
add mayb
e
qualifiers t
o
a
l
iases i
n
D
s
ou
r
ce
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leona
r
d
Check t
h
at all non-null fiel
d
s in a class get initia
l
ised
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
T
h
omas L
e
onard
Use mayb
e
rule
s
for pointers
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas
Leonard
Don't include dynamic a
r
r
ays
in non
-
nul
l
che
c
ks
commit
|
commitdiff
|
tree
2008-09-18
Thomas L
e
onard
Still generate
a newline token after a "#" comment
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thom
a
s Leonard
Error if you don'
t
initialis
e
a
n
on-
n
u
ll
t
ype
commit
|
commitdiff
|
tree
2008-09-18
Thomas L
e
onard
Fix mangled nam
e
of Typ
e
Info init funct
i
ons
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leonard
Don
'
t al
l
ow "
a
~b" if
e
i
t
her could
b
e null
commit
|
commitdiff
|
tree
2008-09-18
Thoma
s
Leona
r
d
Support
m
aybe dynamic a
r
rays
.
commit
|
commitdiff
|
tree
2008-09-18
Thoma
s
Leonard
Don't all
o
w implic
i
t conversio
n
of null to a class
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas L
e
onard
Bette
r
error message when
at
t
empting to access a proper
t
y
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas
Leonard
F
ixed parsing o
f
maybe types in stateme
n
t
s
commit
|
commitdiff
|
tree
2008-09-17
T
hom
a
s L
e
onard
Delegat
e
most maybe operation
s
to b
a
se type
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leon
a
rd
Allow "T[]" -> "T[]?"
commit
|
commitdiff
|
tree
2008-09-17
T
h
o
mas Leonard
Allow imp
l
icit cast from nu
l
l
to maybe types
(
"Type?")
commit
|
commitdiff
|
tree
2008-09-17
Thomas Le
o
nard
Added Maybe type
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Fixed parsing for Delight "for
()" statements
commit
|
commitdiff
|
tree
2008-09-17
Th
o
mas Leonard
"
s
tatic if (X)" to "s
t
atic if X"
commit
|
commitdiff
|
tree
2008-09-17
Th
o
mas Leon
a
r
d
Cope with
Main not being a class
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Fi
x
e
d
parsin
g
of D return stat
e
ments
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonar
d
"enum A:B {
}
" ->
"enum A e
x
tends B:"
commit
|
commitdiff
|
tree
2008-09-17
Tho
m
as Leonard
Use
Tango log
l
evels and names
commit
|
commitdiff
|
tree
2008-09-17
Tho
m
as Leonard
Use d
l
t
.
cor
e
.
_
_
lo
g
() for
l
o
g
ging
commit
|
commitdiff
|
tree
2008-09-17
Tho
m
as Leonard
Auto
-
import
dlt
.
core in
t
o
a
l
l modules
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Don't impor
t
_ex
t
ernals f
r
om every module
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leo
n
ard
Allow log_ stateme
n
t
s outside of a cl
a
s
s
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leona
r
d
Ad
d
ed LogStatement
commit
|
commitdiff
|
tree
2008-09-17
Thom
a
s
Leonard
I
m
plicit
l
y
add all "in" in
s
tance va
r
i
ables
to each
.
.
.
commit
|
commitdiff
|
tree
2008-09-17
Tho
m
as Leo
n
ard
Delay auto-generating the main
f
u
n
c
t
i
o
n
until
the end
.
.
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Accept "in"
i
n
s
ta
n
ce variables
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonar
d
Include log le
v
e
l in
l
og messages
commit
|
commitdiff
|
tree
2008-09-17
Thomas
L
e
onard
Include cla
s
sinfo in lo
g
mess
a
g
e
s
.
commit
|
commitdiff
|
tree
2008-09-17
T
h
o
m
as Leonar
d
A
dded log_* state
m
e
n
ts
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leona
r
d
Added
a
n
_externals
.
E
xt
e
rnals
c
l
a
ss
commit
|
commitdiff
|
tree
2008-09-17
Thomas Le
o
nard
Also sup
p
ly argum
e
nts
a
utoma
t
ically to main m
e
thod
commit
|
commitdiff
|
tree
2008-09-17
T
homas
Le
o
nard
Minor refactoring
commit
|
commitdiff
|
tree
2008-09-17
T
homas Leona
r
d
After constructing M
a
in
,
call
i
ts mai
n
() meth
o
d
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonar
d
Pass args as a Ma
i
n constructor
a
rgument if need
e
d
commit
|
commitdiff
|
tree
2008-09-17
T
homas Leonard
Passes a
r
guments t
o
Main constructor
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Pars
e
D
break and throw statement
s
corre
c
tly again
commit
|
commitdiff
|
tree
2008-09-17
Th
o
m
as Leonard
A
ut
o
matically
c
onstruct Main cla
s
s on startup
commit
|
commitdiff
|
tree
2008-09-17
Thomas
L
e
onard
"cond
?
yes : no"
to
"yes if cond
e
lse no"
commit
|
commitdiff
|
tree
2008-09-17
Thomas Le
o
nard
D import syntax works aga
i
n
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
"
c
lass A : B
{
}
"
-> "class A extend
s
B:"
commit
|
commitdiff
|
tree
2008-09-17
Thom
a
s
Leon
a
rd
Upda
t
e
d parser to support Delight's ":" and newline
.
.
.
commit
|
commitdiff
|
tree
2008-09-17
T
homas Leo
n
a
rd
Add
e
d s
u
pport
f
or lexing Dlt fil
e
s
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leon
a
rd
Detect
w
hen t
h
e inpu
t
e
n
ds in
.
dlt and use D
l
tPars
e
r
commit
|
commitdiff
|
tree
2008-09-17
Thomas
Leonard
Renamed langua
g
e to
d
lt (Delig
h
t)
commit
|
commitdiff
|
tree