Hacker News new | ask | show | jobs
by PhilipRoman 570 days ago
You can do it easily in any language with coroutines, for example Lua.
1 comments

You can do it easily in any language with functions and flow control. Restarts and coroutines are just if-errs and CPS-natured code in disguise. The difference is only syntactic, and there are ways to reduce the noise to manageable levels.