I'm sure Claude Code will happily one-shot that conversion. It's also virtually guaranteed to have messed up vital parts of the original logic in the process.
It's like a CPU that's almost 100% reliable... in that it fails only once every 1 million clock cycles.