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
Th
o
mas Leonard
The expr
e
ss
i
on "x in dict" i
s
now a maybe
t
ype
commit
|
commitdiff
|
tree
2008-09-27
T
hom
a
s
Leona
r
d
Reject static v
a
riable
s
durin
g
the s
e
manti
c
pass, not
.
.
.
commit
|
commitdiff
|
tree
2008-09-26
Th
o
m
as Leonard
Disa
l
low
o
ld st
y
le array declar
a
tions in De
l
ight
commit
|
commitdiff
|
tree
2008-09-26
Thomas Leonard
Fixe
d
par
s
i
n
g of mixin expressions
.
commit
|
commitdiff
|
tree
2008-09-26
Thomas Leo
n
a
r
d
A
l
low static i
n
ner classes
commit
|
commitdiff
|
tree
2008-09-26
Thoma
s
Leonar
d
Allow nested c
l
asses
commit
|
commitdiff
|
tree
2008-09-26
Thomas Le
o
nard
Matched o
b
jec
t
in an
if is never
n
ull
commit
|
commitdiff
|
tree
2008-09-26
T
h
omas Leonard
Fixed warning for "i
f
F
o
o f = expr:"
commit
|
commitdiff
|
tree
2008-09-26
Thomas Leonard
"cast(F
o
o) foo" has type "Foo?
"
commit
|
commitdiff
|
tree
2008-09-25
Thoma
s
Leonard
Warn
a
bout "assert X,Y"
commit
|
commitdiff
|
tree
2008-09-24
Thomas
L
eonard
Allow implic
i
t conversio
n
"foo
*
?" to "
v
oid*"
commit
|
commitdiff
|
tree
2008-09-24
Thomas Leonard
S
kip not
-
null
c
hecks fo
r
_argptr and _
a
rg
u
me
n
ts
commit
|
commitdiff
|
tree
2008-09-23
Thomas Leonard
Mov
e
d _ext
e
rna
l
s
m
o
d
ule
to dl
t
.
_exte
r
nals
commit
|
commitdiff
|
tree
2008-09-23
Thomas Leonard
U
p
da
t
ed setup p
a
ths to use
g
cc
/
dl
t
, not gcc/
d
commit
|
commitdiff
|
tree
2008-09-22
T
h
omas Leonard
Accept "is
n
ot" for "!is"
commit
|
commitdiff
|
tree
2008-09-22
Thomas Leo
n
ard
A
l
low log sta
t
ements to be used in t
e
mplate
s
commit
|
commitdiff
|
tree
2008-09-22
T
h
o
m
a
s
L
eonard
I
n
Delight, "override" must always be used when
o
v
erriding
.
.
.
commit
|
commitdiff
|
tree
2008-09-22
T
h
omas
L
eona
r
d
Fixed se
m
i-
c
o
l
on parsing i
n
C-styl
e
for loops
commit
|
commitdiff
|
tree
2008-09-20
T
homas Leonard
Generate val
i
d
n
ames for
T
ypeIn
f
o_Maybe type
s
commit
|
commitdiff
|
tree
2008-09-20
Thomas Leona
r
d
Improve
d
some error mess
a
g
e
s
.
commit
|
commitdiff
|
tree
2008-09-19
Th
o
mas Leona
r
d
D
el
a
y incrementing t
h
e li
n
e nu
m
be
r
until after sending
.
.
.
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leonard
Fixed
s
ome lexi
n
g problems
w
ith D
O
S
line-
e
nding
s
commit
|
commitdiff
|
tree
2008-09-19
Thom
a
s
Leo
n
ard
Parse "impleme
n
t
s"
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leonard
C
atch Syste
m
Exit from main a
n
d pas
s
to
Ext
e
rna
l
s for
.
.
.
commit
|
commitdiff
|
tree
2008-09-19
T
homas Leonard
D
i
sallow '&&' and '||'
i
n dlt
.
Must use 'and'
and
.
.
.
commit
|
commitdiff
|
tree
2008-09-19
Thomas
L
eonard
Added De
l
ig
h
t "normal" mo
d
e restrict
i
ons
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leonard
Merg
e
in maybe typ
e
checking branch
commit
|
commitdiff
|
tree
2008-09-19
Thomas L
e
onar
d
Sim
p
lify non-null name ma
n
gin
g
commit
|
commitdiff
|
tree
2008-09-19
T
h
omas
L
e
ona
r
d
Copy m
a
ybe fla
g
when copying
syntax for a TypeIdentif
i
er
commit
|
commitdiff
|
tree
2008-09-19
T
h
om
a
s Le
o
n
ard
Su
p
p
o
rt covaria
n
t
maybe r
e
t
urn
types
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leonar
d
Allow implicit conversation
f
rom
S
u
b
c
l
a
ss? to Super?
commit
|
commitdiff
|
tree
2008-09-19
Thomas Leonard
Error o
n
pointles
s
maybe ann
o
ta
t
i
o
ns
commit
|
commitdiff
|
tree
2008-09-19
Thoma
s
Leon
a
rd
Dela
y
wrapping a TypeIden
t
if
i
er i
n
a
T
ypeMaybe until
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leona
r
d
Don't
m
erge T
y
peMaybe
i
f
it depends o
n
an un
r
es
o
lv
e
d
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Th
o
mas Leonard
Fix parsing problem w
i
th
array initi
a
liser
s
commit
|
commitdiff
|
tree
2008-09-18
T
h
omas Leo
n
ard
Ignore
maybe att
r
ibutes when match
i
n
g templates
commit
|
commitdiff
|
tree
2008-09-18
Thomas Le
o
n
ard
Strip not-null characters from symbol names
commit
|
commitdiff
|
tree
2008-09-18
Thomas L
e
ona
r
d
Give a better error when doing p
o
in
t
er arithmetic on
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Tho
m
as
L
eonard
Keep tra
c
k of when w
e
are instantiatin
g
D
templates
commit
|
commitdiff
|
tree
2008-09-18
Thom
a
s
Leonard
Work har
d
er to prevent getting void*?
commit
|
commitdiff
|
tree
2008-09-18
Thom
a
s L
e
onar
d
DArray
.
pt
r
gets mayb
e
typ
e
"char *?"
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leon
a
rd
For templ
a
tes
k
eep track of whether they came from
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
T
h
omas Leonard
Do
n
't a
d
d
maybe q
u
alifiers t
o
aliases i
n
D source
commit
|
commitdiff
|
tree
2008-09-18
Tho
m
as Leonard
Check that all non-
n
ull fields in a
c
lass
g
et initialised
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Th
o
mas Leonard
Use maybe rules
f
or pointers
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leo
n
ard
D
o
n't include d
y
namic arrays
in
n
on
-
null che
c
ks
commit
|
commitdiff
|
tree
2008-09-18
Thomas
L
eona
r
d
Still ge
n
e
r
a
te a newline token after a "#" comm
e
n
t
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
T
h
omas Leonard
Error if y
o
u don't initialis
e
a non-n
u
l
l
ty
p
e
commit
|
commitdiff
|
tree
2008-09-18
T
homa
s
L
eonard
Fix mangle
d
name of Ty
p
eInfo init f
u
n
ctions
.
commit
|
commitdiff
|
tree
2008-09-18
Th
o
m
as
L
eonar
d
D
on't allow "a~b" if either could be
null
commit
|
commitdiff
|
tree
2008-09-18
T
homas Leon
a
rd
Support maybe dyn
a
mic
a
rray
s
.
commit
|
commitdiff
|
tree
2008-09-18
Thom
a
s Leonar
d
Don
'
t allow implicit
c
onversion of null to a class
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
T
homas Leonard
Bet
t
er erro
r
m
e
ssage when
attempting
t
o access a
p
roperty
.
.
.
commit
|
commitdiff
|
tree
2008-09-18
Thomas Leonar
d
Fixed parsing of maybe
t
ypes
i
n statemen
t
s
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Delegate most m
a
ybe operation
s
to
ba
s
e
type
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leon
a
rd
A
l
low "T[]" ->
"T[]?"
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Allow im
p
lici
t
cast
f
rom n
u
ll to
m
a
ybe t
y
pes (
"
Type?
"
)
commit
|
commitdiff
|
tree
2008-09-17
T
h
o
mas Leonard
Added Ma
y
be
type
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Fi
x
e
d parsin
g
for De
l
ight "for
()" s
t
atements
commit
|
commitdiff
|
tree
2008-09-17
Thomas
Leonard
"st
a
tic
i
f (X)" to "static if X"
commit
|
commitdiff
|
tree
2008-09-17
Th
o
mas Leona
r
d
Cope wit
h
Main
n
ot bein
g
a class
.
commit
|
commitdiff
|
tree
2008-09-17
Thom
a
s Leon
a
r
d
Fix
e
d
p
a
rsing of D re
t
urn statements
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas Le
o
n
a
rd
"enum A:B {}" -> "
e
num A e
x
tends B:"
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leona
r
d
U
se
Ta
n
go
log levels and names
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
U
s
e d
l
t
.
co
r
e
.
__log() f
o
r
logging
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leo
n
a
rd
A
uto
-
im
p
ort dlt
.
c
ore into all mod
u
les
commit
|
commitdiff
|
tree
2008-09-17
T
homas
L
e
onar
d
Don't impor
t
_externals from every module
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Allow log_ s
t
a
t
e
m
ents
o
utsid
e
of a clas
s
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonar
d
A
d
d
e
d
L
ogStatement
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
I
m
pli
c
itly add a
l
l "in" i
n
stanc
e
variables to
e
a
ch
.
.
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Delay auto-generating the ma
i
n functi
o
n until the e
n
d
.
.
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Accep
t
"in" instance variab
l
es
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Include log level in log messages
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
I
n
clude
c
l
assinfo
i
n log message
s
.
commit
|
commitdiff
|
tree
2008-09-17
Thoma
s
Leonard
Added
log
_
* state
m
e
nts
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Added an
_
ex
t
ernals
.
Externals clas
s
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Also
s
u
pply argumen
t
s automatically to mai
n
m
e
thod
commit
|
commitdiff
|
tree
2008-09-17
Thoma
s
Leona
r
d
M
i
nor
r
efactorin
g
commit
|
commitdiff
|
tree
2008-09-17
Thomas L
e
o
nard
After const
r
ucting
Mai
n
, call its main() metho
d
commit
|
commitdiff
|
tree
2008-09-17
Thomas
Leonard
Pass args
a
s a
Main const
r
uctor argument if needed
commit
|
commitdiff
|
tree
2008-09-17
Tho
m
as
L
e
onard
Passes a
r
guments to Mai
n
c
o
nstructor
commit
|
commitdiff
|
tree
2008-09-17
Thomas
L
eonard
Parse D break an
d
throw sta
t
ements
correctly a
g
ai
n
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
Automatically
construct Main class on startup
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
"cond ? yes
: n
o
" to "yes i
f
cond
e
lse n
o
"
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
D i
m
port synta
x
w
orks again
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
"class A : B {}" ->
"cla
s
s A
e
xtends B:"
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leonard
U
pd
a
t
e
d parser to support Deligh
t
's ":"
a
n
d n
e
wline
.
.
.
commit
|
commitdiff
|
tree
2008-09-17
Thomas
Leonard
Adde
d
supp
o
rt for lexing Dlt files
commit
|
commitdiff
|
tree
2008-09-17
Thom
a
s Leona
r
d
D
e
tect when
the input ends in
.
dlt and u
s
e D
l
tP
a
rser
commit
|
commitdiff
|
tree
2008-09-17
Thomas Leo
n
a
r
d
Renamed language to dl
t
(Delight)
commit
|
commitdiff
|
tree