Your guess is correct: There is no do-while
equivalent in CoffeeScript. So you'd typically write
y()
y() while x()
If you find yourself doing this often, you might define a helper function:
doWhile = (func, condition) ->
func()
func() while condition()