aboutsummaryrefslogtreecommitdiffstats
path: root/tests/simple.tdy
blob: 3fe05a448601f8ecd92fa50edc28a564c59fa5f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// 1 + 1 <=> 2
// // asdlkjasl
// print 1 + 3
// // OwO

// a int := 0
// b int := 1
// c int := 3
// d int := 2
// 
// print a
// print b
// print d
// print c

a int := 2
if a == 0 {
    print "123"
} else if a == 1 {
    print "BCD"
} else {
    print "ABC"
}
// 1, 2, 3, 4