kin-lang / kin

The Kin Programming Language ( Write computer programs in Kinyarwanda - native language for Rwandans )
https://kinlang.dev
MIT License
209 stars 11 forks source link

[Feature] : Loop control statements: `break` #70

Open pacifiquem opened 8 months ago

pacifiquem commented 8 months ago

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.

valentindush commented 3 months ago

5/8

pacifiquem commented 3 months ago

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

pacifiquem commented 3 months ago

We'll use these keyworks for continue and break in kin as per @ndungtse in https://github.com/kin-lang/kin/discussions/146#discussioncomment-10038232

pacifiquem commented 2 months ago

Continue will be worked on in #161