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 recursive functions in the GEB backend #1750

Closed
lukaszcz opened this issue Jan 23, 2023 · 0 comments · Fixed by #1912
Closed

Support recursive functions in the GEB backend #1750

lukaszcz opened this issue Jan 23, 2023 · 0 comments · Fixed by #1912
Assignees
Labels
backend:geb enhancement New feature or request
Milestone

Comments

@lukaszcz
Copy link
Collaborator

lukaszcz commented Jan 23, 2023

Implement recursion unrolling for functions

@lukaszcz lukaszcz added this to the 0.4 milestone Jan 23, 2023
@lukaszcz lukaszcz changed the title Support for recursion in the GEB backend Support recursion in the GEB backend Jan 23, 2023
@lukaszcz lukaszcz self-assigned this Mar 21, 2023
@lukaszcz lukaszcz changed the title Support recursion in the GEB backend Support recursive functions in the GEB backend Mar 21, 2023
@lukaszcz lukaszcz modified the milestones: 0.4 - Geb integration, 0.3.1 Mar 24, 2023
lukaszcz added a commit that referenced this issue Mar 24, 2023
* Depends on PR #1909 
* Closes #1750 
* Adds recursion unrolling tests on JuvixCore
* Adds a version of the mid-square hash example without the recursion
manually unrolled

For now, the recursion is always unrolled to a fixed depth (140). In the
future, we want to add a global option to override this depth, as well
as a mechanism to specify it on a per-function basis. In a more distant
future, we might want to try deriving the unrolling depth heuristically
for each function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend:geb enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants