HACKER Q&A
📣 mike31fr

What tool would you use to convert a whole project to another language?


Use case: A colleague implemented an HTTP REST API using PHP. For some specific internal reasons, we would like to convert the whole PHP project to NodeJS. All files wouldn't fit into GPT-4 context. How would you achieve this task?


  👤 telaandrews2 Accepted Answer ✓
Have you tried just opening it in Cursor.sh and saying "make this a [language] project instead of PHP"? Curious about the results you'd get.

👤 CSharpSteve
Could consider something like Sourcetrail or Codeporing