On 2019-05-27 18:44, Claude Heiland-Allen wrote:
On 2019-05-27 18:23, Philip Stone wrote:
On my system, the stack over-flows at count 331.
But the simplest(*) way to get recursive calls to work is often to break the recursion with a [delay 0] to start a new depth first execution chain after the current one is finished, or to refactor it to use until to iterate instead of recurse.
I attached an example of both techniques.
(*) but it can become unmaintainable in larger patches... (+) but [bang(--[until] can take a while to finish, be careful...