Code Language Converter
Converts code from one programming language to another while preserving logic
Convert the following code from {source_language} to {target_language}.
Code:
```{source_language}
{code}
```
Requirements:
- Preserve all logic and functionality
- Use idiomatic style for {target_language}
- Add comments to non-obvious translation decisions
- Note any differences in behavior, if any
- Use modern syntax
0 copies
Variables
Replace these variables with your own values before using:
{язык_из}{язык_в}{код}
Prompt info
💻
Category
Programming
AI model
Any model
Application
Миграция проектов, изучение нового языка
конвертациямиграцияперевод кода
Similar prompts
SQL Query Builder
Builds SQL queries from natural language descriptions
Output: Complete, optimized SQL query with explanation. Context: {{DATABASE_TYPE...
💻 ProgrammingAny model
0 copies
Unit Test Generator
Creates comprehensive unit tests with edge case coverage
Write unit tests for the following code. Language: {language} Test framework: {...
💻 ProgrammingAny model
0 copies
Regex Pattern Creator
Creates regular expressions with detailed part-by-part explanations
Output: Complete regex pattern with test cases. Context: {{LANGUAGE}} regex, use...
💻 ProgrammingAny model
0 copies