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
The expression "x in dict" is now a maybe type
2008-09-27
Thomas Leonard
The expression
"x in
d
ict" is now a m
a
y
b
e
type
commit
|
commitdiff
|
tree
2008-09-27
Thomas Leona
r
d
Reject stati
c
v
ariables dur
i
ng
t
he semantic
p
a
s
s, not
.
.
.
commit
|
commitdiff
|
tree
2008-09-26
Thomas Leonard
Disallow old
s
t
yle
array declarations in
D
elight
commit
|
commitdiff
|
tree
2008-09-26
Thomas L
e
onar
d
Fixed parsing of mi
x
in expressions
.
commit
|
commitdiff
|
tree
2008-09-26
Thomas Leonard
Allow static inner classes
commit
|
commitdiff
|
tree
2008-09-26
Thomas Leonard
Allow nes
t
e
d
classes
commit
|
commitdiff
|
tree
2008-09-26
T
h
omas Leonar
d
Matched object in
an i
f
is
n
e
ver null
commit
|
commitdiff
|
tree
2008-09-26
Thomas L
e
onard
F
i
xed
warning for "if
F
oo f = exp
r
:"
commit
|
commitdiff
|
tree
2008-09-26
Thomas Leonard
"
c
a
s
t(Foo) foo" has type "Foo?"
commit
|
commitdiff
|
tree
2008-09-25
Thomas Leonard
Warn about "assert X,Y"
commit
|
commitdiff
|
tree
2008-09-24
Th
o
mas Leonard
A
l
low
i
m
p
l
ici
t
c
o
nversion "foo
*
?" to "void*"
commit
|
commitdiff
|
tree
2008-09-24
Thomas
Leon
a
rd
Skip not
-
null ch
e
c
ks for _ar
g
ptr and _argum
e
nts
commit
|
commitdiff
|
tree
2008-09-23
Thomas Leona
r
d
M
o
v
ed _externals module
to dlt
.
_ex
t
ernals
commit
|
commitdiff
|
tree
2008-09-23
Thomas Leonard
Updated setup
pat
h
s
t
o use
g
cc/d
l
t
,
not gcc/d
commit
|
commitdiff
|
tree
2008-09-22
Thomas Leonar
d
A
c
cept
"is no
t
"
for
"
!is"
commit
|
commitdiff
|
tree
2008-09-22
Th
o
mas L
e
onard
Allow log statements
t
o be
u
sed in templa
t
es
commit
|
commitdiff
|
tree
2008-09-22
Thomas Le
o
nard
In Delight, "
o
verride" must always be used
w
h
en overriding
.
.
.
commit
|
commitdiff
|
tree
2008-09-22
T
homas L
e
onard
Fixed semi-co
l
on pars
i
ng in C-st
y
l
e
for lo
o
ps
commit
|
commitdiff
|
tree
2008-09-20
T
h
omas Leonard
G
e
n
e
r
at
e
val
i
d names for TypeInfo_Maybe typ
e
s
commit
|
commitdiff
|
tree
2008-09-20
T
homa
s
L
e
on
a
rd
Improved
som
e
error mes
s
ages
.
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leonard
Delay incrementing the
l
i
n
e number until after
sending
.
.
.
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leonard
F
ixed
s
ome lexi
n
g problems with
DOS line-endings
commit
|
commitdiff
|
tree
2008-09-19
Thomas
Leonard
Pa
r
se
"imple
m
ents"
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leonard
Cat
c
h S
y
stem
E
xit from ma
i
n and pass t
o
Ext
e
rnals for
.
.
.
commit
|
commitdiff
|
tree
2008-09-19
T
h
omas Leonard
Disallo
w
'&&' and
'
||' in dlt
.
Must use 'and' and
.
.
.
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leonar
d
Add
e
d De
l
ight "n
o
r
m
al" mode r
e
stric
t
i
ons
commit
|
commitdiff
|
tree
2008-09-19
Thomas
Leona
r
d
Me
r
ge in maybe typ
e
c
h
ecking branch
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leonard
Simplify
n
on-null name manging
commit
|
commitdiff
|
tree
2008-09-19
T
h
omas Leonard
Copy may
b
e flag when copying syn
t
a
x for a Type
I
den
t
i
f
ier
commit
|
commitdiff
|
tree
2008-09-19
Tho
m
as Leonar
d
Support covariant mayb
e
r
e
t
urn types
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leonard
Allow implicit
conversation
from S
u
bclass
?
to Super?
commit
|
commitdiff
|
tree
2008-09-19
T
h
om
a
s Le
o
nard
Error on po
i
ntles
s
ma
y
be annotatio
n
s
commit
|
commitdiff
|
tree
2008-09-19
Thomas
L
eonard
Delay wrap
p
ing a TypeI
d
entifier in a TypeMaybe until
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leonard
D
on't
me
r
ge TypeMayb
e
if it depe
n
d
s
on an unresolv
e
d
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leonard
Fi
x
parsing prob
l
e
m
w
i
th a
r
ray initialise
r
s
commit
|
commitdiff
|
tree
2008-09-18
Thomas L
e
onard
Ign
o
r
e maybe att
r
ibutes when
m
a
tch
i
n
g temp
l
a
t
e
s
commit
|
commitdiff
|
tree
2008-09-18
T
homas Leonard
S
tr
i
p not
-
n
u
l
l c
h
a
rac
t
e
rs f
r
om symbol names
commit
|
commitdiff
|
tree
2008-09-18
Thomas L
e
onar
d
Give a better error when doing
pointer a
r
ithmet
i
c
o
n
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
T
homas Leonard
Keep
t
r
a
c
k
of w
h
en we a
r
e instantiat
i
ng
D
templa
t
e
s
commit
|
commitdiff
|
tree
2008-09-18
Tho
m
as Leonard
Work harder to prevent getting void*
?
commit
|
commitdiff
|
tree
2008-09-18
T
h
o
mas L
e
o
nard
DA
r
ray
.
p
tr gets may
b
e type
"
ch
a
r *?"
commit
|
commitdiff
|
tree
2008-09-18
T
h
oma
s
L
e
ona
r
d
For templates ke
e
p track
o
f
whether they came from
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leonard
Don't a
d
d maybe qu
a
lifiers to alia
s
e
s
i
n
D source
commit
|
commitdiff
|
tree
2008-09-18
Thomas
L
e
o
n
ard
Check that all non-null fields
in a class
get init
i
alised
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thom
a
s
L
eonar
d
Use maybe rules for pointers
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leonard
Don't
i
nc
l
ude dynamic arr
a
ys i
n
non-null ch
e
cks
commit
|
commitdiff
|
tree
2008-09-18
T
h
omas
L
eo
n
ard
S
t
ill generate a newline
token after
a
"#" com
m
e
n
t
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leonar
d
E
r
ro
r
i
f
you
don't
ini
t
ialise
a non-null type
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leonard
Fix mangled name of Typ
e
I
n
fo init func
t
ions
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leonard
Don
'
t al
l
ow "a~b" if ei
t
her could be null
commit
|
commitdiff
|
tree
2008-09-18
Tho
m
as Le
o
n
a
r
d
Supp
o
rt maybe dyna
m
ic ar
r
ays
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas Le
o
nard
Do
n
't allow implicit
conversion of null
to a
c
lass
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leon
a
rd
Better
e
rr
o
r m
e
ss
a
ge wh
e
n attempting to acce
s
s a pr
o
perty
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leonard
Fixe
d
parsing of maybe
ty
p
es in stateme
n
t
s
commit
|
commitdiff
|
tree
2008-09-17
Th
o
m
as Leonard
Delegate most ma
y
b
e operations to ba
s
e type
.
commit
|
commitdiff
|
tree
2008-09-17
Thom
a
s L
e
on
a
r
d
A
l
low "T[]" ->
"T[]?"
commit
|
commitdiff
|
tree
2008-09-17
T
h
omas
L
eonard
Allow implici
t
c
a
st from null to maybe
types
("Type?")
commit
|
commitdiff
|
tree
2008-09-17
Thom
a
s Leonard
Added M
a
yb
e
t
yp
e
commit
|
commitdiff
|
tree
2008-09-17
Tho
m
as Leonard
Fixed parsing for Deligh
t
"
for ()"
s
tatements
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leon
a
rd
"
sta
t
ic if (X)" to "st
a
tic if X"
commit
|
commitdiff
|
tree
2008-09-17
Th
o
mas Leona
r
d
Cope w
i
th Main no
t
being a
c
l
ass
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leon
a
rd
Fixed parsing of
D
re
t
urn statements
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
"
e
num A:B
{}" -> "enum A exten
d
s B
:
"
commit
|
commitdiff
|
tree
2008-09-17
T
homas Leonard
U
se Tango log levels and names
commit
|
commitdiff
|
tree
2008-09-17
Thomas
Leona
r
d
Use dlt
.
c
ore
.
__log() for l
o
gging
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leo
n
ard
Auto-import dlt
.
c
o
r
e into all modules
commit
|
commitdiff
|
tree
2008-09-17
T
h
om
a
s Le
o
na
r
d
Don
'
t import
_
externals f
r
o
m
every module
commit
|
commitdiff
|
tree
2008-09-17
Thomas
Leonard
Allow l
o
g_ statement
s
ou
t
side of a c
l
a
ss
commit
|
commitdiff
|
tree
2008-09-17
Th
o
mas
L
eonard
Added LogStatement
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Implici
t
ly add all
"
in"
i
nstance
v
ariables to each
.
.
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonar
d
De
l
ay auto-gene
r
ati
n
g the main function un
t
il
t
h
e
end
.
.
.
commit
|
commitdiff
|
tree
2008-09-17
T
h
omas Leonard
Ac
c
ept "in" instan
c
e variables
commit
|
commitdiff
|
tree
2008-09-17
Thoma
s
Leonard
Incl
u
de l
o
g level in log messages
commit
|
commitdiff
|
tree
2008-09-17
Thomas Le
o
n
a
r
d
I
n
clude
classinfo in log message
s
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas
Leonard
A
d
ded log_* statements
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Added an _externals
.
Ex
t
e
r
n
als cl
a
ss
commit
|
commitdiff
|
tree
2008-09-17
T
h
omas Leo
n
ard
Also supply
a
r
guments a
u
t
o
matically to main
m
ethod
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Minor refactoring
commit
|
commitdiff
|
tree
2008-09-17
Thom
a
s Leonard
A
fter constructi
n
g
Main, call
its ma
i
n() method
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Pa
s
s a
r
gs
a
s
a Main constru
c
tor argument if n
e
eded
commit
|
commitdiff
|
tree
2008-09-17
Tho
m
as Leo
n
a
r
d
P
as
s
e
s
arguments t
o
M
ain cons
t
ructor
commit
|
commitdiff
|
tree
2008-09-17
Tho
m
as
L
eonard
Parse D break
and thro
w
statements correctly again
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Autom
a
tically con
s
truct Main
c
l
ass on startup
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leon
a
rd
"cond ?
yes
:
no" to
"
yes i
f
cond else no
"
commit
|
commitdiff
|
tree
2008-09-17
Thomas
L
e
onard
D
i
mpo
r
t syntax works again
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leon
a
rd
"class A : B {}
"
-> "class A
extends
B
:"
commit
|
commitdiff
|
tree
2008-09-17
Th
o
mas Le
o
na
r
d
U
pdate
d
p
a
rser to s
u
pport Delig
h
t's ":" and new
l
i
n
e
.
.
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas Le
o
nard
Adde
d
support for lexi
n
g Dlt fi
l
e
s
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
D
e
tect when the input e
n
ds i
n
.
dlt
a
nd use Dl
t
Parser
commit
|
commitdiff
|
tree
2008-09-17
Tho
m
as L
e
onard
R
e
na
m
ed language t
o
d
l
t (D
e
lig
h
t)
commit
|
commitdiff
|
tree