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

[Feature] : Loop control statements: break #70

Open
pacifiquem opened this issue Mar 3, 2024 · 4 comments
Open

[Feature] : Loop control statements: break #70

pacifiquem opened this issue Mar 3, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@pacifiquem
Copy link
Member

file : src/runtime/eval/statements.ts, on eval_loop method.

break : this keyword will stop kin's loop.
continue : this keyword will skip current iteration and go to the next one.

@pacifiquem pacifiquem added good first issue Good for newcomers enhancement New feature or request labels Mar 3, 2024
@pacifiquem pacifiquem added the help wanted Extra attention is needed label Jul 10, 2024
@valentindush
Copy link

5/8

@pacifiquem
Copy link
Member Author

We'll start to work on this once #146 is resolved.

@pacifiquem
Copy link
Member Author

We'll use these keyworks for continue and break in kin as per @ndungtse in #146 (comment)

@pacifiquem pacifiquem changed the title [Feature] : Loop control statements, break and continue [Feature] : Loop control statements, break Aug 11, 2024
@pacifiquem pacifiquem changed the title [Feature] : Loop control statements, break [Feature] : Loop control statements: break Aug 11, 2024
@pacifiquem
Copy link
Member Author

Continue will be worked on in #161

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants