fixed return precedence and operator parsing
This commit is contained in:
parent
3868298f00
commit
7febf91d3c
2 changed files with 10 additions and 3 deletions
7
example/data/fibo.mc
Normal file
7
example/data/fibo.mc
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
fn fibo(n) {
|
||||
if (n < 1) return n;
|
||||
return fibo(n - 1) + fibo(n - 2);
|
||||
}
|
||||
|
||||
fibo(3)
|
Loading…
Add table
Add a link
Reference in a new issue