it occurs to me how much better these endeavors might go if the prompt was
"write a program to transpile A to B" instead of "port A to B"