7 lines
173 B
ChaiScript
7 lines
173 B
ChaiScript
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);
|