======== #1 ========

0 .. 0
00 .. 0
0x0 .. 0
0b0 .. 0
99999999 .. 99999999
077777777 .. 16777215
0b11111111 .. 255
0B11111111 .. 255
0xffffffff .. 4294967295
0Xffffffff .. 4294967295

======== #2 ========

@var = 3
@var@ = 2

======== #3 ========

100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125

======== #4 ========

a .. 1234
a .. 127
1, 2, 3, 4, 5

======== #5 ========

11, 12, 13, 14, 15, 16
1, 2, 3, 14, 5, 6

======== #6 ========

11, 12, 13, 14, 15, 16
11, 12, 13, 4, 15, 16

======== #7 ========

A B C D
expected error occurs
expected error occurs
expected error occurs
expected error occurs
expected error occurs
A B C D
expected error occurs
expected error occurs
expected error occurs
expected error occurs
A B C D
expected error occurs
expected error occurs
expected error occurs
expected error occurs

======== #8 ========

00000001, 00000002, 00000004, 00000008, 00000010, 00000020, 00000040, 00000080, 00000100, 00000200, 00000400, 00000800, 00001000, 00002000, 00004000, 00008000, 00010000, 00020000, 00040000, 00080000, 00100000, 00200000, 00400000, 00800000, 01000000, 02000000, 04000000, 08000000, 10000000, 20000000, 40000000, 80000000
80000000, 40000000, 20000000, 10000000, 08000000, 04000000, 02000000, 01000000, 00800000, 00400000, 00200000, 00100000, 00080000, 00040000, 00020000, 00010000, 00008000, 00004000, 00002000, 00001000, 00000800, 00000400, 00000200, 00000100, 00000080, 00000040, 00000020, 00000010, 00000008, 00000004, 00000002, 00000001

======== #9 ========

(-3) + 4 .. 1
-(3 * 4) .. -12
'3' * 4 .. 3333
3 == 3 .. true
3 < 4 .. true
3 <= 4 .. true
3 > 4 .. false
3 >= 4 .. false
3 + 2 + 4 .. 9
3 - 2 - 4 .. -3
3 * 2 * 4 .. 24
3 ** 2 ** 3 .. 729
3 ** 2 ** 3 .. 729
3 ** (2 ** 3) .. 6561
3 ** 2 * 4 .. 36
3 ** (2 * 3) .. 729
f(30) .. 0.5
f(30) .. 0.5
f(90) .. 1
['aaa', 'bbbb', 'ccc'] + ['3', '4', '5'] .. ['aaa3', 'bbbb4', 'ccc5']
(3 + 3j) * (3 - 3j) .. 18
math.conj(3 + 2j) .. 3-2j
math.abs(3 + 2j) .. 3.60555
math.sqrt(math.real(3 + 2j) * math.real(3 + 2j) + math.imag(3 + 2j) * math.imag(3 + 2j)) .. 3.60555
math.norm(3 + 2j) .. 13
math.sqrt(math.norm(3 + 2j)) .. 3.60555
math.arg(3 + 2j) * 180 / math.pi .. 33.6901
0 in [2, 3, 4] .. false
2 in [2, 3, 4] .. true
4 in [2, 3, 4] .. true
[0, 2, 3] in [2, 3, 4] .. [false, true, true]
[0, 2, 3, 4, 5] in [2, 3, 4] .. [false, true, true, true, false]
[0, 2, 3, 4, 5] in 5 .. [false, false, false, false, true]
['123456', '789012', '3.141', '123e+10', '0xabc', '0312', 'abcde', '123x']::tonumber() .. [123456, 789012, 3.141, 1.23e+12, 2748, 202, nil, 123]
['123456', '789012', '3.141', '123e+10', '0xabc', '0312', 'abcde', '123x']::tonumber():zero .. [123456, 789012, 3.141, 1.23e+12, 2748, 202, 0, 123]
['123456', '789012', '3.141', '123e+10', '0xabc', '0312', 'abcde', '123x']::tonumber():strict .. [123456, 789012, 3.141, 1.23e+12, 2748, 202, nil, nil]
a = 2
a += 3 .. 5
a *= 3 .. 15
a /= 3 .. 5
a -= 3 .. 2
a **= 3 .. 8

======== #10 ========

number number complex boolean module string list dict function symbol

======== #11 ========

hoge           isdefined:false  undefined
function       isdefined:true   class
math.sin       isdefined:true   function
0      number   defined:y symbol:n boolean:n number:y complex:y rational:n string:n module:n class:n y
3.14   number   defined:y symbol:n boolean:n number:y complex:y rational:n string:n module:n class:n y
1+2j   complex  defined:y symbol:n boolean:n number:n complex:y rational:n string:n module:n class:n n
1/3r   rational defined:y symbol:n boolean:n number:y complex:y rational:y string:n module:n class:n n
true   boolean  defined:y symbol:n boolean:y number:n complex:n rational:n string:n module:n class:n n
<module:sys:<integrated>> module   defined:y symbol:n boolean:n number:n complex:n rational:n string:n module:y class:n n
foo    string   defined:y symbol:n boolean:n number:n complex:n rational:n string:y module:n class:n n
%{}    dict     defined:y symbol:n boolean:n number:n complex:n rational:n string:n module:n class:n n
x()    function defined:y symbol:n boolean:n number:n complex:n rational:n string:n module:n class:n n
sym    symbol   defined:y symbol:y boolean:n number:n complex:n rational:n string:n module:n class:n n
