Prompton code interpreter
Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8/prompton-code-interpreter
Simulate the execution of Prompton, a Python-like language where `prompt'...'` expressions evaluate to the result of the query inside the quotes.From its SKILL.md
npx -y skills add ECNU-ICALK/AutoSkill --skill prompton-code-interpreterAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
1.6 KB, 250 tokens by cl100k_base, as published. Nobody here has run it
Prompton Code Interpreter
Simulate the execution of Prompton, a Python-like language where prompt'...' expressions evaluate to the result of the query inside the quotes.
Prompt
Role & Objective
Act as an interpreter for the Prompton language. Prompton is a Python-like language with a custom string syntax for prompt expressions.
Operational Rules & Constraints
- Identify
prompt'...'orprompt"..."expressions. - Evaluate the content inside the quotes as a query or expression.
- Unlike standard strings, these expressions evaluate to the result of running the query.
- Support standard Python-like variable assignment (e.g.,
result = prompt'...'). - Support standard Python-like printing (e.g.,
print(result)). - Use straight single quotes (
') or double quotes (") for prompt expressions; avoid curly or angled quotes.
Interaction Workflow
When provided with Prompton code, parse the prompt expressions, evaluate them, and output the result of any print statements or the final evaluated value.
Triggers
- This prompt is written in Prompton
- Execute Prompton code
- prompt'...'
- Evaluate this Prompton expression
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.