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
T
h
omas Leonard
M
e
rged
D
el
i
ght changes to D1 into D2
commit
|
commitdiff
|
tree
2008-09-27
Thom
a
s
L
eonard
A
dded suppor
t
for anon
y
mous functions
commit
|
commitdiff
|
tree
2008-09-27
Thomas Le
o
nard
Better e
r
ror if the user tries to make
a
n anon
y
mous
.
.
.
commit
|
commitdiff
|
tree
2008-09-27
Thomas Leon
a
rd
The expression
"x i
n
dict" is now a maybe t
y
pe
commit
|
commitdiff
|
tree
2008-09-27
T
h
o
mas Leonard
Rej
e
ct stat
i
c variable
s
d
u
r
ing the s
e
mantic pass,
n
ot
.
.
.
commit
|
commitdiff
|
tree
2008-09-26
Thomas Leonard
Disallo
w
ol
d
style
a
rray decl
a
r
at
i
ons in Delig
h
t
commit
|
commitdiff
|
tree
2008-09-26
Thomas Le
o
nard
Fixed
pa
r
s
i
ng of mi
x
i
n e
x
pressions
.
commit
|
commitdiff
|
tree
2008-09-26
Thomas Leo
n
ar
d
Allow
s
t
at
i
c inner
class
e
s
commit
|
commitdiff
|
tree
2008-09-26
Thomas
Leonard
A
l
l
ow nested
c
lasses
commit
|
commitdiff
|
tree
2008-09-26
T
homas L
e
o
n
a
rd
Ma
t
c
hed object in an if is
n
e
ver
n
u
l
l
commit
|
commitdiff
|
tree
2008-09-26
Thomas Leonard
Fixed warning
f
or
"
if Foo f
= expr
:
"
commit
|
commitdiff
|
tree
2008-09-26
Thomas L
e
onard
"cast(F
o
o)
f
oo
"
has type "Fo
o
?"
commit
|
commitdiff
|
tree
2008-09-25
Th
o
m
a
s Leonard
Warn abou
t
"asse
r
t X,
Y
"
commit
|
commitdiff
|
tree
2008-09-24
Thomas Leon
a
r
d
Allow
i
mplicit
c
o
nvers
i
o
n
"foo*?"
t
o
"
v
oid*"
commit
|
commitdiff
|
tree
2008-09-24
Thom
a
s L
e
onard
Skip not-
n
ull checks for _argptr and
_
arguments
commit
|
commitdiff
|
tree
2008-09-23
Thom
a
s Leonar
d
Mo
v
e
d
_
externals module to dlt
.
_exte
r
nals
commit
|
commitdiff
|
tree
2008-09-23
T
hom
a
s Leon
a
r
d
Updated
setup paths
to
u
se gcc/dlt, not g
c
c/d
commit
|
commitdiff
|
tree
2008-09-22
Thomas
Le
o
nard
Accept "is n
o
t" for "!is"
commit
|
commitdiff
|
tree
2008-09-22
Thomas L
e
onard
Allo
w
log statements
to be used
in templates
commit
|
commitdiff
|
tree
2008-09-22
Thoma
s
Leo
n
ard
In De
l
ight,
"override"
m
u
s
t
al
w
ays be use
d
when ov
e
rriding
.
.
.
commit
|
commitdiff
|
tree
2008-09-22
Thoma
s
L
eo
n
a
r
d
F
ixed semi-col
o
n par
s
ing
i
n C-style fo
r
loops
commit
|
commitdiff
|
tree
2008-09-20
Thomas Leonard
Generate
valid na
m
es for TypeInfo_Maybe type
s
commit
|
commitdiff
|
tree
2008-09-20
Thom
a
s Leona
r
d
Improve
d
s
om
e
error mess
a
g
e
s
.
commit
|
commitdiff
|
tree
2008-09-19
Thomas L
e
ona
r
d
Delay in
c
reme
n
ting the l
i
ne number unt
i
l af
t
e
r sendi
n
g
.
.
.
commit
|
commitdiff
|
tree
2008-09-19
Th
o
mas Leon
a
rd
Fixed s
o
me lexing prob
l
e
m
s
w
i
t
h
D
OS line-e
n
dings
commit
|
commitdiff
|
tree
2008-09-19
Th
o
mas Leon
a
r
d
Parse "
i
mp
l
emen
t
s"
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leonar
d
Ca
t
ch SystemExit from main and pass to Ext
e
rnals for
.
.
.
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leonard
Dis
a
l
low '
&
&' a
n
d '||' in dlt
.
Must use 'and'
a
n
d
.
.
.
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leonard
Ad
d
ed Delight "normal" mode restrictions
commit
|
commitdiff
|
tree
2008-09-19
Thoma
s
Le
o
n
a
rd
Merge in maybe type
c
hecking branch
commit
|
commitdiff
|
tree
2008-09-19
Thomas Le
o
nard
S
i
mplify non-null name manging
commit
|
commitdiff
|
tree
2008-09-19
Tho
m
as Leonard
Copy maybe flag whe
n
copying syntax for a Ty
p
eIdentifi
e
r
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leonard
Sup
p
ort covari
a
nt maybe return types
commit
|
commitdiff
|
tree
2008-09-19
T
h
o
m
a
s
Leona
r
d
Allow im
p
licit conversation from Su
b
class? t
o
Super?
commit
|
commitdiff
|
tree
2008-09-19
T
homas
L
eonard
Error on poi
n
t
le
s
s
maybe annota
t
ions
commit
|
commitdiff
|
tree
2008-09-19
T
homas Leonard
D
el
a
y
wrapping a TypeId
e
ntif
i
er
in a TypeMayb
e
until
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
T
h
omas Leonard
Don't
m
erg
e
T
yp
e
Maybe if it dep
e
n
d
s on an
unre
s
olv
e
d
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thoma
s
Leona
r
d
Fix parsing proble
m
wit
h
array initialisers
commit
|
commitdiff
|
tree
2008-09-18
Th
o
mas Leonard
Ig
n
o
r
e
m
aybe
a
t
tributes wh
e
n ma
t
ching te
m
plate
s
commit
|
commitdiff
|
tree
2008-09-18
Thomas L
e
onard
S
t
rip not-null character
s
f
r
om
s
ymbo
l
n
a
m
es
commit
|
commitdiff
|
tree
2008-09-18
Th
o
mas Leonard
G
i
ve a better er
r
or when d
o
ing pointe
r
arithmetic o
n
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leon
a
rd
Keep tr
a
ck of when we are instant
i
a
t
i
n
g D temp
l
ates
commit
|
commitdiff
|
tree
2008-09-18
Tho
m
a
s Leonard
Work
harder t
o
pre
v
en
t
getting void*?
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leon
a
r
d
DArray
.
ptr
gets may
b
e
t
ype "
c
har *?"
commit
|
commitdiff
|
tree
2008-09-18
Thomas
Leonard
For te
m
plates keep
track of whether they came from
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leo
n
ard
Don't add maybe
qualif
i
ers to aliases in
D
source
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leonar
d
Check that all non-null fiel
d
s in a clas
s
get initialised
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
T
h
omas Leonard
U
s
e
m
aybe
rules for po
i
nte
r
s
.
commit
|
commitdiff
|
tree
2008-09-18
Thom
a
s Leo
n
ard
Don'
t
include dynamic arra
y
s in non-null
c
he
c
k
s
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leonard
Still generate a newline
token after a "#" co
m
men
t
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Tho
m
a
s
Leon
a
rd
Error if you
d
on't initialise a
non-null type
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leo
n
ard
Fix mangled n
a
me of TypeInf
o
in
i
t
f
u
nc
t
ions
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leonard
Don't all
o
w "a~b" if
e
it
h
er could be n
u
ll
commit
|
commitdiff
|
tree
2008-09-18
T
homas Le
o
nard
Support mayb
e
dynamic a
r
rays
.
commit
|
commitdiff
|
tree
2008-09-18
Thoma
s
L
eonard
Don't allow imp
l
icit co
n
v
ersion
o
f null to a class
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Tho
m
as Leonard
Bet
t
e
r
error message when att
e
mpting to
access a prope
r
ty
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas L
e
o
nard
F
i
xed pa
r
sing o
f
maybe types in stat
e
ment
s
commit
|
commitdiff
|
tree
2008-09-17
T
homas
L
e
o
n
a
rd
D
eleg
a
te
most ma
y
be o
p
e
rati
o
ns
t
o
base type
.
commit
|
commitdiff
|
tree
2008-09-17
T
h
omas Leonard
A
l
l
o
w
"
T
[]" -> "T[]?"
commit
|
commitdiff
|
tree
2008-09-17
T
homas
L
eonard
Allow
implicit cas
t
from null to mayb
e
t
ypes ("Type?")
commit
|
commitdiff
|
tree
2008-09-17
Th
o
m
as Leonard
Added Ma
y
be type
commit
|
commitdiff
|
tree
2008-09-17
T
h
omas Leonard
Fixed parsing for Deligh
t
"f
o
r ()" statem
e
nts
commit
|
commitdiff
|
tree
2008-09-17
Tho
m
as Leo
n
ard
"
stati
c
if (X)
"
to "static if X"
commit
|
commitdiff
|
tree
2008-09-17
T
ho
m
a
s
Leonard
Cope with Main not being a cla
s
s
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas
Leona
r
d
Fixed par
s
ing
o
f
D
return statements
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas
L
e
o
n
ard
"enum A:B
{
}
"
->
"enum A
e
xtends B:"
commit
|
commitdiff
|
tree
2008-09-17
Th
o
mas L
e
onard
Us
e
T
a
ngo l
o
g levels an
d
n
a
me
s
commit
|
commitdiff
|
tree
2008-09-17
T
homas
L
eo
n
ard
Use dlt
.
core
.
_
_log
(
) f
o
r logging
commit
|
commitdiff
|
tree
2008-09-17
Thoma
s
Leonard
Auto
-
import
d
lt
.
core into al
l
modu
l
es
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Don't im
p
or
t
_e
x
t
e
rnals
from every modu
l
e
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Allow log_
s
t
a
tements outside of a class
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Added LogStatement
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leona
r
d
Implicitly add
all
"in" instan
c
e v
a
riables
t
o
each
.
.
.
commit
|
commitdiff
|
tree
2008-09-17
T
h
omas Leo
n
ard
Delay auto-
g
enerating the main
f
u
ncti
o
n until
t
he end
.
.
.
commit
|
commitdiff
|
tree
2008-09-17
Th
o
mas Le
o
nard
Accept "in" i
n
s
t
a
n
ce va
r
ia
b
les
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leon
a
r
d
Includ
e
lo
g
level
i
n log mes
s
ages
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Incl
u
de
c
lassi
n
fo
in l
o
g messages
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas
L
eonard
A
dded log_* state
m
ents
commit
|
commitdiff
|
tree
2008-09-17
Thom
a
s L
e
onard
Added an
_externals
.
Externals cl
a
ss
commit
|
commitdiff
|
tree
2008-09-17
Tho
m
as
L
eonard
A
lso supply arguments automatically to
main method
commit
|
commitdiff
|
tree
2008-09-17
Thom
a
s Leonard
Minor refactori
n
g
commit
|
commitdiff
|
tree
2008-09-17
T
h
omas Le
o
nard
After con
s
tr
u
ctin
g
Main,
c
all its main() method
commit
|
commitdiff
|
tree
2008-09-17
T
homa
s
Leonard
Pass arg
s
as
a Main co
n
s
tructo
r
argument if
nee
d
ed
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leo
n
ard
Passes
a
rguments
t
o
Mai
n
con
s
tructor
commit
|
commitdiff
|
tree
2008-09-17
T
homas Leon
a
rd
P
a
rse D
b
reak and throw s
t
a
t
e
me
n
t
s cor
r
ec
t
ly
a
gain
commit
|
commitdiff
|
tree
2008-09-17
T
homas Leonard
Aut
o
matically con
s
truct M
a
in class on startu
p
commit
|
commitdiff
|
tree
2008-09-17
Tho
m
as L
e
onard
"co
n
d ?
y
es : no" to "yes if c
o
nd else no"
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
D import syntax
works aga
i
n
commit
|
commitdiff
|
tree
2008-09-17
Thomas
L
e
o
nard
"cla
s
s A : B
{
}" -> "class A extends B:"
commit
|
commitdiff
|
tree
2008-09-17
T
h
o
mas Leonard
Updated parser to support Deligh
t
's
"
:
"
and newline
.
.
.
commit
|
commitdiff
|
tree
2008-09-17
Th
o
mas Leonard
Ad
d
ed support for lexing D
l
t files
commit
|
commitdiff
|
tree
2008-09-17
T
homas
L
e
on
a
rd
De
t
e
c
t when the
i
n
put ends in
.
d
l
t a
n
d use Dlt
P
a
r
ser
commit
|
commitdiff
|
tree
2008-09-17
Thomas
L
e
ona
r
d
Rena
m
e
d
langua
g
e
to d
l
t (Delight
)
commit
|
commitdiff
|
tree