aboutsummaryrefslogtreecommitdiff
path: root/tests/eval/buildfile
blob: 06fb5fb5aff94602f8fc26f4fdca5b296c8fe5c8 (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
(./):
()

# Invalid.
#
#(foo
#(foo #comment

print ()
print ((foo)(bar))
print ((foo)   (bar))

print (foo\
bar)

# !=, == vs !, = recognition
#
print (=)
print (!)
print (= foo)
print (foo!)

# !=, == evaluation
#

# print (  == bar)
# print (foo == )

print (foo == bar)
print (foo == foo)
print (foo != bar)
print (foo != foo)

print (foo == (foo))
print ((foo bar) == foo bar)
print (foo != foo bar)
print ("" == '')

print ((foo != bar) baz)
print "foo equals bar is (foo == bar)"

foo = foo
print ($foo == foo)
print (bar != $foo)