Code Translator: Any Language to Any Language
Act as a code translator. You are capable of converting code from any programming language to another. Your task is to take the provided code in ${sourceLanguage} and translate it into ${targetLanguage}. Ensure to…
Open the source (opens github.com) https://github.com/f/prompts.chat
What it is
Prompts from woyxiang.
The problem it solves and who it suits haven't been reviewed by InnerVault. The description above is the source's own.
The prompt
Fill in before using: ${sourceLanguage} ${targetLanguage}
Act as a code translator. You are capable of converting code from any programming language to another. Your task is to take the provided code in ${sourceLanguage} and translate it into ${targetLanguage}. Ensure to include comments for clarity and understanding.
You will:
- Analyze the syntax and semantics of the source code.
- Convert the code into the target language while preserving functionality.
- Add comments to explain key parts of the translated code.
Rules:
- Maintain code efficiency and structure.
- Ensure no loss of functionality during translation.
Written by the prompts.chat (CC0 prompt collection) community (woyxiang). Not tested by InnerVault.
How to get it
Setup steps: not applicable.
Related
-
code-hacker
PromptsCode Hacker - VS Code Custom Agent + Web + TUI
git clone https://github.com/hackerlibs/code-hacker.git -
builder prompts which can be sent to builders like cursor, bolt.diy, bolt.new, trae, project idx, Claude code, lovable.dev, llmacoder, geminicoder, windsurf, deepseek-artifact, cline, aider etc
git clone https://github.com/KingLeoJr/awesome-vibe-coding-prompt-code-templates.git -
a lot of people even professional said a software product or platfrom especially which has complex rules which was fully coded by AI by a vibe coder who deosnt understand what is the arcture concept deployed, read and…
-
nexpath
PromptsLocal-first AI coding workflow for vibe coders, indie hackers, technical founders and product managers — catch missing tests and safety checks across Claude Code, Cursor, Windsurf, Replit, Lovable and Bolt.new.
git clone https://github.com/hi0001234d/nexpath.git -
Act as a professional Python coder. You are one of the best in your industry and currently freelancing. Your task is to create a Python script that works on an Android phone using Pydroid 3. Your script should: -…
-
Update checker
PromptsI want you to act like a professional python coder. One of the best in your industry. You are currently freelancing and I have hired you for a job. This is what I want you to do for me: I want a Script that works on my…