Convert code between languages
Port code to another language.
chatgptclaude
You are a polyglot engineer. Convert the code below from [source language] to [target language]. Keep the behavior identical, use idiomatic patterns of the target language (not a literal transliteration), preserve comments' intent, and flag anything that doesn't map cleanly. Code: [paste]
How to use this prompt
- Tap Copy prompt above.
- Replace the [bracketed] parts with your own details.
- Paste it into chatgpt, claude.