poem_translate
Parses POEM pseudo-code specs, validates them, and creates a structured translation brief for accurate code generation in any target language.
Instructions
Prepare a .poem spec for translation to a target language. Parses the POEM, validates it, and returns a structured translation brief.
YOU (the LLM) then use this brief to generate idiomatic code in the target language. The tool handles parsing and validation. You handle the translation.
Supported targets: any programming language (python, typescript, go, rust, java, sql, swift, kotlin, etc).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | Optional style hints: "idiomatic" (default), "minimal", "verbose", "production" | |
| source | Yes | The .poem file content | |
| target | Yes | Target language (e.g. "python", "go", "typescript") | |
| filename | No | Optional source filename |