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

Support recursion #19

Open
elikaski opened this issue Oct 24, 2020 · 0 comments
Open

Support recursion #19

elikaski opened this issue Oct 24, 2020 · 0 comments
Assignees

Comments

@elikaski
Copy link
Owner

With the new design of functions, it might be possible to support recursion
By compiling the function recursively, up to a certain depth, that is given at compilation time
Add --recursion_depth flag to indicate the maximum depth of the recursion
When hitting that depth in run-time, print an error and enter an infinite loop, similar to division by zero

@elikaski elikaski self-assigned this Mar 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant