schala/main.schala
greg 9cc9c5977d Fixed evaluation of function calls
This bit still isn't quite small-step but maybe that's okay for
functions
2017-09-19 22:10:57 -07:00

18 lines
183 B
Plaintext

fn add(a, b)
a + b
end
fn subtract(a, b)
a - b
end
fn main()
first_value = add(20, 20)
second_value = subtract(700, 650)
first_value + second_value
end
main()