This does seem like the kind of task LLM's are ideal for. Just like that port of Bun from one language to another.