fixed return precedence and operator parsing

This commit is contained in:
Matthieu Jolimaitre 2024-10-25 13:58:45 +02:00
parent 3868298f00
commit 7febf91d3c
2 changed files with 10 additions and 3 deletions

7
example/data/fibo.mc Normal file
View file

@ -0,0 +1,7 @@
fn fibo(n) {
if (n < 1) return n;
return fibo(n - 1) + fibo(n - 2);
}
fibo(3)