polyglot
CommunityWrite code that runs in multiple languages.
AuthorDammianMiller
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill enables the creation of programs that can be compiled or interpreted by multiple programming languages simultaneously, leveraging language-specific comment syntax and parser quirks to achieve cross-language compatibility.
Core Features & Use Cases
- Cross-Language Compatibility: Write single source files that are valid in distinct programming environments.
- Exploiting Syntax Differences: Utilizes comment syntax (e.g.,
//,#,/* */) and language parser behaviors to hide code from one language while making it executable in another. - Use Case: Develop a single script that can be compiled as a C program and also interpreted as a Python script, performing similar logic in both environments.
Quick Start
Use the polyglot skill to create a program that compiles as C and runs as Python, targeting C and Python.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: polyglot Download link: https://github.com/DammianMiller/universal-agent-memory/archive/main.zip#polyglot Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.