scrapscript icon indicating copy to clipboard operation
scrapscript copied to clipboard

Add tail calls to the interpreter

Open tekknolagi opened this issue 1 year ago • 5 comments

This means we can evaluate bigger factorials (for example) without blowing the Python call stack.

tekknolagi avatar Nov 22 '23 20:11 tekknolagi

This PR becomes much clearer if you view files and click the gear and click "hide whitespace"

tekknolagi avatar Nov 22 '23 20:11 tekknolagi

This PR becomes much clearer if you view files and click the gear and click "hide whitespace"

This is an unreal pro tip

gregorybchris avatar Nov 24 '23 05:11 gregorybchris

This PR becomes much clearer if you view files and click the gear and click "hide whitespace"

This is an unreal pro tip

Also, git diff -w

tekknolagi avatar Nov 24 '23 06:11 tekknolagi

I want to work on the API for this a little more. It feels fragile.

tekknolagi avatar Nov 24 '23 06:11 tekknolagi

Going to try and bring this back from the dead. Seems quite useful and I think this is a fine API

tekknolagi avatar Jun 10 '24 20:06 tekknolagi