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 explicit unrolling annotation of loops and recursion #1631

Open
vkuncak opened this issue Jan 14, 2025 · 0 comments
Open

Add explicit unrolling annotation of loops and recursion #1631

vkuncak opened this issue Jan 14, 2025 · 0 comments
Labels
doable Doable in short time given right understanding enhancement

Comments

@vkuncak
Copy link
Collaborator

vkuncak commented Jan 14, 2025

Introduce an annotation to unroll recursive functions and while loops at the Stainless tree level (similar to partial evaluation).

For an example of use, see page 11 of https://arxiv.org/pdf/2412.07235 on unrolling a loop 7 times.

@vkuncak vkuncak added enhancement doable Doable in short time given right understanding labels Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doable Doable in short time given right understanding enhancement
Projects
None yet
Development

No branches or pull requests

1 participant