48 lines
553 B
D
48 lines
553 B
D
|
$
|
|||
|
// /++ +/ doccomments are not yet supported
|
|||
|
/* */
|
|||
|
/** */
|
|||
|
/// drdr
|
|||
|
/+ /+ +/ +/
|
|||
|
//keyword test
|
|||
|
keyword1
|
|||
|
keyword2
|
|||
|
keyword4
|
|||
|
keyword5
|
|||
|
keyword6
|
|||
|
keyword7
|
|||
|
//unicode identifier test
|
|||
|
вапёasdÓΘΣαԷԸՑהכ拉麺とひシマイ단결을
|
|||
|
//strings test
|
|||
|
's
|
|||
|
'
|
|||
|
w's'w
|
|||
|
"multiline
|
|||
|
string"w
|
|||
|
e"zz"e
|
|||
|
r"asd\"e
|
|||
|
r"multiline
|
|||
|
string"c
|
|||
|
r`asd\`e
|
|||
|
`multiline
|
|||
|
string`d
|
|||
|
x"023 abc"e
|
|||
|
x"023
|
|||
|
abc"w
|
|||
|
//numbers test
|
|||
|
a[3..4]=3
|
|||
|
2.stringof
|
|||
|
2.0.stringof
|
|||
|
2.
|
|||
|
2.2e+2
|
|||
|
2.2e-2
|
|||
|
.2e+2
|
|||
|
.2
|
|||
|
2e+2
|
|||
|
0x2e+2
|
|||
|
0x2ep+10
|
|||
|
,.2.stringof,
|
|||
|
|
|||
|
end
|
|||
|
|