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

For loop syntax #102

Merged
merged 15 commits into from
Apr 18, 2024
Merged

For loop syntax #102

merged 15 commits into from
Apr 18, 2024

Conversation

JulianGCalderon
Copy link
Contributor

@JulianGCalderon JulianGCalderon commented Apr 9, 2024

  • Changes ForStmt with new sintax elements
  • Changes grammar.lalrpop to parse new syntax
  • Adds tests and examples for three common use cases:
    • regular for
    • for as while
    • for as loop
  • Adds syntax sugar to for as while and for as loop

@JulianGCalderon JulianGCalderon changed the title Go-like for sintax Go-like "for" sintax Apr 9, 2024
Copy link

github-actions bot commented Apr 9, 2024

Benchmarking factorial

@JulianGCalderon JulianGCalderon marked this pull request as ready for review April 9, 2024 21:16
@igaray igaray changed the title Go-like "for" sintax Go-like "for" syntax Apr 11, 2024
@igaray igaray changed the title Go-like "for" syntax For loop syntax Apr 11, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.05%. Comparing base (53cddd9) to head (c3d0fd5).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #102      +/-   ##
==========================================
+ Coverage   57.35%   58.05%   +0.69%     
==========================================
  Files          34       34              
  Lines        3956     4022      +66     
==========================================
+ Hits         2269     2335      +66     
  Misses       1687     1687              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@juanbono juanbono added this pull request to the merge queue Apr 18, 2024
Merged via the queue into main with commit 802b249 Apr 18, 2024
5 checks passed
@edg-l edg-l deleted the for-parsing branch May 8, 2024 10:08
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

Successfully merging this pull request may close these issues.

4 participants