-
Notifications
You must be signed in to change notification settings - Fork 4
Handle loops #10
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Milestone
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
The reason that I cannot handle loops right now is that I wrap the function body in a
repeatloop and usenextto replace recursive calls. If I allow loops, and permit recursive function calls inside them, then I would need to be able to jump to the beginning of the outermost loop, whereas the call tonextonly gets me out of the inner-most loop.A first step towards handling loops would be to allow them as long as we don't call recursively inside them. A more challenging step is handling the general case... I don't know how to do that yet.