There are ways better than hardcoding _ANS
to make your idea work, one of them is gensym()
, which makes a non-conflicting name.
I think a solution would probably look somewhat similar to that. Perhaps an array of expressions that are separated where @stop
and @continue
calls are. But this is beyond my abilities and time at the moment.