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 support for range-based for loops. #723

Closed
vgvassilev opened this issue Jan 21, 2024 · 3 comments · Fixed by #959 or #980
Closed

Add support for range-based for loops. #723

vgvassilev opened this issue Jan 21, 2024 · 3 comments · Fixed by #959 or #980
Assignees
Milestone

Comments

@vgvassilev
Copy link
Owner

No description provided.

@7070Shreyash
Copy link

Hey @vgvassilev , Could you provide guidance on resolving this problem? I'm new to the CLAD codebase and would appreciate assistance

@krathul
Copy link

krathul commented Mar 12, 2024

I would like to work on this issue @vgvassilev. I guess its only the body of the range-based for loop that can be differentiated right?

@krathul
Copy link

krathul commented Mar 12, 2024

@vgvassilev from what I can understand I need to first differentiate initialization statement, and then the body. And finally construct the ranged for loop block which uses derivates.
Or will it be possible to transform the range-based for loop to a normal for loop?

@vgvassilev vgvassilev added this to the v1.7 milestone May 21, 2024
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jun 23, 2024
Adding support for the most simple cases of the range-based for loop.

Fixes: vgvassilev#723
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jun 23, 2024
Adding support for the most simple cases of the range-based for loop.

Fixes: vgvassilev#723
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jun 23, 2024
Adding support for the most simple cases of the range-based for loop.

Fixes: vgvassilev#723
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jun 24, 2024
Adding support for the most simple cases of the range-based for loop.

Fixes: vgvassilev#723
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jun 24, 2024
Adding support for the most simple cases of the range-based for loops.

Fixes: vgvassilev#723
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jun 24, 2024
Adding support for the most simple cases of the range-based for loops.

Fixes: vgvassilev#723
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jun 24, 2024
Adding support for the most simple cases of the range-based for loops.

Fixes: vgvassilev#723
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jun 24, 2024
Adding support for the most simple cases of the range-based for loops.

Fixes: vgvassilev#723
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jun 25, 2024
Adding support for the most simple cases of the range-based for loops in forward mode.

Fixes: vgvassilev#723
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jul 2, 2024
Adding support for the most simple cases of the range-based for loop.

Fixes: vgvassilev#723
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jul 2, 2024
Adding support for the most simple cases of the range-based for loops in forward mode.

Fixes: vgvassilev#723
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jul 11, 2024
Adding basic support for the range-based fpr loops, does not yet support break and continue statements inside.
Fixes: vgvassilev#723
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jul 12, 2024
Adding basic support for the range-based for loops, doesn't yet support break and continue statements.
Fixes: vgvassilev#723
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jul 12, 2024
Adding basic support for the range-based for loops, doesn't yet support break and continue statements.
Fixes: vgvassilev#723
vgvassilev pushed a commit to ovdiiuv/clad that referenced this issue Jul 22, 2024
Adding support for the most simple cases of the range-based for loops in forward mode.

Fixes: vgvassilev#723
vgvassilev pushed a commit to ovdiiuv/clad that referenced this issue Jul 22, 2024
Adding support for the most simple cases of the range-based for loops in forward mode.

Fixes: vgvassilev#723
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jul 26, 2024
Adding support for the most simple cases of the range-based for loops in forward mode.

Fixes: vgvassilev#723
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jul 26, 2024
Adding support for the most simple cases of the range-based for loops in forward mode.

Fixes: vgvassilev#723
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jul 26, 2024
Adding support for the most simple cases of the range-based for loops in forward mode.

Fixes: vgvassilev#723
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jul 26, 2024
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jul 26, 2024
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jul 26, 2024
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jul 26, 2024
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jul 26, 2024
Adding support for the most simple cases of the range-based for loops in forward mode.

Fixes: vgvassilev#723
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jul 26, 2024
Adding support for the most simple cases of the range-based for loops in forward mode.

Fixes: vgvassilev#723
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jul 26, 2024
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jul 26, 2024
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jul 26, 2024
Adding support for the most simple cases of the range-based for loops in forward mode.

Fixes: vgvassilev#723
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jul 26, 2024
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jul 26, 2024
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jul 26, 2024
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jul 26, 2024
vgvassilev pushed a commit to ovdiiuv/clad that referenced this issue Jul 28, 2024
Adding support for the most simple cases of the range-based for loops in forward mode.

Fixes: vgvassilev#723
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jul 31, 2024
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jul 31, 2024
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jul 31, 2024
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jul 31, 2024
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jul 31, 2024
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jul 31, 2024
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jul 31, 2024
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jul 31, 2024
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Jul 31, 2024
ovdiiuv pushed a commit to ovdiiuv/clad that referenced this issue Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment