Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If the only loop is `repeat i in range(start, end, step)` , how do you do a loop like "Keep reading from a buffer until it's empty"? I.e. any loop when you can't know the number of iterations needed when the loop starts?


yes, support for unbounded loop is definitely something on my roadmap towards v1.


Should be a priority. Without it, your language relies on recursion for Turing completeness.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: