walt
walt copied to clipboard
Loops, Switch
Goal
Support loops.
Detail
- [x] Support
forloops - [ ] Support
do ... while()loops - [x] Support
while ... do()loops - [ ] Support
switch ... casebranches - [x]
break
Don't forget the break keyword! :-D
Nice catch! Thanks
You are welcome ;-)
What about continue? And what is planned for generators and iterators for the long run?
And what is planned for generators and iterators for the long run?
PyMite (Python-on-a-chip) developer stated that was surprised how easy it was to add generators to its VM, so maybe it could provide some ideas... https://github.com/jsnyder/python-on-a-chip/blob/a22fbae773b285ccf4993905a46dd396cb762f69/docs/src/GeneratorDesign.txt