blob: 57e58d67831c12c41e066b59cd9857cd36c05d55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
-- binary ops
x = 1 + 3
y = 1 +
3
z = 1 +
3 +
4
--
k = b and c and
g
h = thing and
->
print "hello world"
-- TODO: should fail, indent still set to previous line so it thinks body is
-- indented
i = thing or
->
print "hello world"
p = thing and
->
print "hello world"
s = thing or
-> and 234
--
u = {
color: 1 and 2 and
3
4
4
}
v = {
color: 1 and
->
"yeah"
"great"
oksy: 3 ^
2
}
-- parens
nno = (
yeah + 2 )
nn = (
yeah + 2
)
n = hello(
b
) ->
hello a,
(
yeah +
2
) -
okay
|