From fed2c35868eeda9db753e2c53c9939b1144c2dd1 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Mon, 5 Oct 2020 21:17:12 -0600 Subject: [PATCH] back from the dead, some syntax thoughts --- sandbox/syntax.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 sandbox/syntax.txt diff --git a/sandbox/syntax.txt b/sandbox/syntax.txt new file mode 100644 index 0000000..8e1dd8b --- /dev/null +++ b/sandbox/syntax.txt @@ -0,0 +1,15 @@ +decr- add- |- in + |- (-1) + +fib- ( + fibInner- ( + {n, a, b}- in + out- if- |- zero?- n + |- a + |- fibInner- |- decr- n + |- b + |- add- {a,b} + ) +) + +out- fib- atoi- first- in