Convert Code Between Languages
An idiomatic port, not a transliteration — with anything that doesn't translate flagged rather than faked.
Intermediate1 min read
Customize
Fill these in and the prompt below updates as you type. Anything you leave blank stays as a placeholder.
Your prompt
4 placeholders leftConvert this {{source_language}} code to idiomatic {{target_language}}. {{code}} Requirements: preserve behavior exactly; use {{target_language}}-idiomatic patterns and the standard library, not a literal line-by-line transliteration; target {{target_version}}. Flag anything that does NOT translate cleanly (no equivalent API, different error model, etc.) instead of faking it.