OK; so I have functions working. What's next?
1. func type and closures2. return support3. tail-call optimization
May try 3 tonight. 2 may be hard in Go, not sure how to "exit" frames (no exceptions!). 1 is probably the boring one; just a bit of work, but not too hard.
So turns out implementing return was easier.
I still need to "fix" the implicit return, but after a lot if scratching I couldn't get the tail call optimisation to work 🤷
"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko