The Wikipedia article on Continuation says: \"In any language which supports closures, it is possible to write programs in continuation passing style an
it's possible: TypeScript-to-Lua Compiler https://github.com/roblox-ts/roblox-ts + call-cc in JS https://github.com/zaoqi/callcc.js/blob/master/callcc.js