1
1
Fork 0
mirror of https://github.com/azur1s/bobbylisp.git synced 2024-10-16 02:37:40 -05:00
bobbylisp/sketch.hlm
2023-03-03 16:31:11 +07:00

21 lines
282 B
Plaintext

println({
println("Hello");
return let x: num = 17 * 2 in
x + 1;
} + 34);
//----------
let stack = [];
push("Hello");
console.log(pop());
push(17)
push(2)
push(pop() * pop());
push(pop() + 1);
// [35]
push(34)
push(pop() + pop()) // [35] + 34
console.log(pop());