3 ms·
I started my toy language with this idea, but it quickly becomes unreadable, so I chose to support both notations. https://github.com/jen-Ya/tab https://github
by jen-ya 2y ago
I started my toy language with this idea, but it quickly becomes unreadable, so I chose to support both notations.
https://github.com/jen-Ya/tab https://github.com/jen-Ya/tab
Here is a Fibonacci example:
fn fibo x
if (< x 2) 1
+
fibo (- x 1)
fibo (- x 2