kin
kin copied to clipboard
[Feature] : Loop control statements: `break`
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.
5/8
We'll start to work on this once #146 is resolved.
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
Continue will be worked on in #161