OK; so I have functions working. What's next?

1. func type and closures
2. return support
3. 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.

Follow

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 🤷

Sign in to participate in the conversation
Mastodon @ SDF

"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