Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add tail call elimination to prevent python recursion limit errors, make into a loop #12

Open
hornc opened this issue Dec 9, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@hornc
Copy link
Owner

hornc commented Dec 9, 2018

RecursionError: maximum recursion depth exceeded while calling a Python object
on running this code:

ιιθθιθ
ΙΣιυΣΘ
Σ

Should be sufficient to check whether last char in a statement def is the symbol representing that fragment: ΙΣ...ΣΘ where Σ is the tail-called symbol in the example. Then simple loop over Σ, Deadfish overflow checking and fragment breaking must still be in effect...

@hornc hornc added the enhancement New feature or request label Dec 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant