1
1
Fork 0
mirror of https://github.com/azur1s/bobbylisp.git synced 2024-10-16 02:37:40 -05:00
bobbylisp/example/ex.hyc
Natapat Samutpong 87b3c7717b massive amount of refactor
- parser and lexer now have span
- split into mini-crates
2022-03-06 22:04:48 +07:00

8 lines
197 B
Plaintext

let fard: Int = 1;
let balls: String = "balls";
fun add (lhs: Int) (rhs: Int): Int = lhs + rhs;
fun add_2 (lhs: Int) (rhs: Int): Int = do
let a: Int = lhs + rhs;
let b: Int = a + lhs;
end;