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 Le
o
nard
F
i
xed
w
arning for "
i
f Foo f =
e
xp
r
:"
commit
|
commitdiff
|
tree
2008-09-26
Th
o
m
a
s Leonard
"cast(F
o
o) fo
o
" has typ
e
"
F
oo
?
"
commit
|
commitdiff
|
tree
2008-09-25
Thomas Leo
n
ard
Warn about "assert
X,Y"
commit
|
commitdiff
|
tree
2008-09-24
Thoma
s
Le
o
na
r
d
A
l
low im
p
licit con
v
ersion "foo
*
?
" to "void*"
commit
|
commitdiff
|
tree
2008-09-24
Tho
m
as
L
eonard
Sk
i
p
not-null checks for _argptr and _arguments
commit
|
commitdiff
|
tree
2008-09-23
Thoma
s
Leonar
d
Moved _extern
a
ls mo
d
ule to dlt
.
_exter
n
als
commit
|
commitdiff
|
tree
2008-09-23
Tho
m
as Leonard
U
pda
t
ed setup
p
aths to use gcc/d
l
t,
not gcc/d
commit
|
commitdiff
|
tree
2008-09-22
Thomas Leona
r
d
A
ccep
t
"is no
t
"
f
or "
!
i
s
"
commit
|
commitdiff
|
tree
2008-09-22
Th
o
mas Leon
a
rd
A
l
l
ow log s
t
atem
e
nts to
be used
i
n t
e
mpla
t
es
commit
|
commitdiff
|
tree
2008-09-22
T
homas Leonard
In Deli
g
ht, "override" must always be
u
s
ed when overriding
.
.
.
commit
|
commitdiff
|
tree
2008-09-22
Thomas Leonard
F
i
xed semi-colon p
a
r
s
i
n
g in C-style fo
r
loo
p
s
commit
|
commitdiff
|
tree
2008-09-20
Thomas Leona
r
d
Gen
e
rate
v
alid
names for TypeI
n
fo_Maybe types
commit
|
commitdiff
|
tree
2008-09-20
Thomas Le
o
nard
Im
p
r
o
ved
some error messages
.
commit
|
commitdiff
|
tree
2008-09-19
Thomas
L
e
onard
D
e
lay increment
i
ng the line num
b
er un
t
il
a
fter sending
.
.
.
commit
|
commitdiff
|
tree
2008-09-19
Thoma
s
Leonard
Fix
e
d some lexi
n
g problems with
D
OS
l
ine-endings
commit
|
commitdiff
|
tree
2008-09-19
Thomas L
e
onard
Parse "impleme
n
ts"
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leo
n
ard
Catch SystemExit
f
rom main a
n
d pass to Externa
l
s for
.
.
.
commit
|
commitdiff
|
tree
2008-09-19
Thomas L
e
onard
Disallow '&&' an
d
'||' in dlt
.
Must use 'and' and
.
.
.
commit
|
commitdiff
|
tree
2008-09-19
Thomas
Leonard
Added Del
i
ght "normal"
m
ode
r
e
striction
s
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leo
n
ard
M
erge in
ma
y
b
e
type checki
n
g branc
h
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leonard
Simplify non-null name
mangi
n
g
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leonar
d
Copy
m
ay
b
e flag when copying s
y
ntax for a Ty
p
eId
e
ntifier
commit
|
commitdiff
|
tree
2008-09-19
Tho
m
a
s Leon
a
rd
Su
p
po
r
t cova
r
iant mayb
e
retur
n
type
s
commit
|
commitdiff
|
tree
2008-09-19
Thomas L
e
o
nard
All
o
w
implicit conve
r
s
ation from Subclass?
t
o Super?
commit
|
commitdiff
|
tree
2008-09-19
Tho
m
a
s Leonard
Error
o
n poi
n
tless maybe annotations
commit
|
commitdiff
|
tree
2008-09-19
Tho
m
as Leona
r
d
Delay
w
rapping a
TypeIdentifier i
n
a TypeMaybe until
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Tho
m
as Leonard
D
on't mer
g
e T
y
peMaybe
i
f
it depends
o
n an unresolved
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
T
h
omas Leonard
F
i
x parsing pr
o
blem wi
t
h
array
i
n
iti
a
lise
r
s
commit
|
commitdiff
|
tree
2008-09-18
Thoma
s
Leonard
Ignor
e
m
a
ybe attribut
e
s whe
n
match
i
ng templat
e
s
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leonard
Stri
p
n
o
t-nu
l
l cha
r
acters fro
m
symb
o
l names
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leonard
Give
a
better error when do
i
ng p
o
i
n
ter a
r
i
t
hmetic on
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas
L
eona
r
d
K
eep tra
c
k
of when we are instantiating D templ
a
tes
commit
|
commitdiff
|
tree
2008-09-18
Thomas Le
o
nard
W
o
rk
harder to
p
revent getting void*?
commit
|
commitdiff
|
tree
2008-09-18
Thom
a
s Leonard
D
A
rray
.
ptr gets ma
y
be
t
y
pe "char *?"
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leonard
For templ
a
tes keep tra
c
k of whether they
came
from
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thoma
s
L
eonard
D
o
n't add
m
aybe qualifiers to
a
liases in D source
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leonard
C
heck that
a
ll n
o
n-null
f
ield
s
in a class get initialised
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
T
h
om
a
s Leonard
Use maybe rules for p
o
inters
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leon
a
rd
Don't
i
nclude dynamic arra
y
s in non-null che
c
ks
commit
|
commitdiff
|
tree
2008-09-18
Thom
a
s
Leo
n
ard
Still generate
a newline token
a
fte
r
a "#" comment
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thoma
s
Leonard
Error
i
f
y
ou
d
o
n't
i
nitialise
a non-null type
commit
|
commitdiff
|
tree
2008-09-18
Th
o
mas Leonard
Fix mangled
nam
e
of Ty
p
e
I
n
f
o
init functions
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leonard
Don't allow "a~b" if either could b
e
null
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leo
n
ard
S
u
pport
m
a
y
be dy
n
am
i
c arrays
.
commit
|
commitdiff
|
tree
2008-09-18
T
homas
Leonar
d
Don't all
o
w impl
i
cit conversion of null to
a
class
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leonard
Bet
t
e
r erro
r
mes
s
age
w
hen a
t
tem
p
ting
to ac
c
ess a pr
o
perty
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thom
a
s
Le
o
nard
Fixed parsing of maybe types in
s
tatements
commit
|
commitdiff
|
tree
2008-09-17
Th
o
mas Leo
n
a
r
d
Delegate m
o
st maybe operations to ba
s
e
t
ype
.
commit
|
commitdiff
|
tree
2008-09-17
Thoma
s
Le
o
nard
All
o
w
"T[
]
" -> "T[]?"
commit
|
commitdiff
|
tree
2008-09-17
T
h
om
a
s Leonard
All
o
w
i
m
plicit cast from
n
u
l
l to ma
y
be
types (
"
Type?
"
)
commit
|
commitdiff
|
tree
2008-09-17
Tho
m
as Leonar
d
A
dded Maybe type
commit
|
commitdiff
|
tree
2008-09-17
Th
o
mas Le
o
nard
Fixed parsing f
o
r Delight "f
o
r
()"
statements
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leona
r
d
"st
a
tic if
(
X)" to "static if X"
commit
|
commitdiff
|
tree
2008-09-17
Th
o
mas Leon
a
r
d
Cope with Main n
o
t
being a class
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas
Leon
a
r
d
Fixed parsing of D return stateme
n
ts
.
commit
|
commitdiff
|
tree
2008-09-17
Tho
m
as Leonard
"enum A:B {
}
" -> "enum A extends B:"
commit
|
commitdiff
|
tree
2008-09-17
Th
o
mas Leona
r
d
Use T
a
ngo l
o
g leve
l
s
and names
commit
|
commitdiff
|
tree
2008-09-17
Th
o
mas Leonar
d
Use dlt
.
co
r
e
.
__
l
og() for loggi
n
g
commit
|
commitdiff
|
tree
2008-09-17
Thomas Le
o
nard
Auto-import dlt
.
core
into all modules
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Don't import
_external
s
f
r
om
e
very module
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Allo
w
l
o
g_
s
t
atement
s
outside of
a
class
commit
|
commitdiff
|
tree
2008-09-17
Thomas Le
o
nard
A
d
ded LogStatement
commit
|
commitdiff
|
tree
2008-09-17
T
homa
s
Leonard
Impl
i
citly add all
"
in" inst
a
nc
e
vari
a
bles t
o
ea
c
h
.
.
.
commit
|
commitdiff
|
tree
2008-09-17
Thom
a
s Leo
n
ard
Delay au
t
o
-
generating the main fun
c
tion until
the e
n
d
.
.
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leon
a
rd
Accept
"in" inst
a
nce vari
a
b
les
commit
|
commitdiff
|
tree
2008-09-17
Tho
m
a
s
Leonard
Include log level in l
o
g messag
e
s
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Include classinfo in log messages
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas
L
eonard
Added log_*
statements
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Added an _e
x
ter
n
als
.
E
x
ter
n
a
ls cl
a
s
s
commit
|
commitdiff
|
tree
2008-09-17
Tho
m
as Leonard
Also
s
u
ppl
y
arguments automatic
a
lly to
m
ain method
commit
|
commitdiff
|
tree
2008-09-17
Thomas L
e
onard
Minor refacto
r
ing
commit
|
commitdiff
|
tree
2008-09-17
Th
o
mas
L
e
on
a
rd
After
c
o
n
str
u
cting Main, ca
l
l its main() m
e
thod
commit
|
commitdiff
|
tree
2008-09-17
Thomas
Leonard
Pass a
r
gs a
s
a Main con
s
t
ructor argument if needed
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Passes arguments to
Main constr
u
ctor
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Parse D bre
a
k and th
r
ow state
m
ents corre
c
tly again
commit
|
commitdiff
|
tree
2008-09-17
T
h
omas L
e
onard
Automatically construct Ma
i
n class on startup
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
"
cond
?
yes : no"
t
o "yes if cond
else no
"
commit
|
commitdiff
|
tree
2008-09-17
T
homas Leo
n
ard
D import s
y
nt
a
x works again
commit
|
commitdiff
|
tree
2008-09-17
Thomas
L
eon
a
rd
"class A :
B {}" -> "class
A
ext
e
nds B:"
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leo
n
ard
Updated parser to su
p
po
r
t Delig
h
t's "
:
" and newline
.
.
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leon
a
rd
Added suppor
t
for l
e
xing Dlt files
commit
|
commitdiff
|
tree
2008-09-17
Thom
a
s Leonard
Detect wh
e
n
t
he input end
s
in
.
dlt and us
e
Dlt
P
arser
commit
|
commitdiff
|
tree
2008-09-17
Thoma
s
Leonard
Renamed language to dlt (Deli
g
ht)
commit
|
commitdiff
|
tree