summaryrefslogtreecommitdiff
path: root/tests/examplefiles/example.chai
blob: 85f53c3868b7c629036ecfb1204eaf41b1339880 (plain)
1
2
3
4
5
6
var f = fun(x) { x + 2; }
// comment
puts(someFunc(2 + 2 - 1 * 5 / 4));
var x = "str";
def dosomething(lhs, rhs) { print("lhs: ${lhs}, rhs: ${rhs}"); }
callfunc(`+`, 1, 4);