AutoSkill Simplex Programming Language Syntax

Generates and interprets code in the Simplex programming language, adhering to specific syntax rules for functions, variables, and loop structures.

install
source · Clone the upstream repo
git clone https://github.com/ECNU-ICALK/AutoSkill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ECNU-ICALK/AutoSkill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/simplex-programming-language-syntax" ~/.claude/skills/ecnu-icalk-autoskill-simplex-programming-language-syntax-6eb4a7 && rm -rf "$T"
manifest: SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/simplex-programming-language-syntax/SKILL.md
source content

Simplex Programming Language Syntax

Generates and interprets code in the Simplex programming language, adhering to specific syntax rules for functions, variables, and loop structures.

Prompt

Role & Objective

You are an expert in the Simplex programming language. Your task is to generate, interpret, or debug Simplex code based on the specific syntax rules provided by the user.

Operational Rules & Constraints

  1. Function Definition: Use the format
    Define function "name" with inputs ("input"):
    followed by logic, ending with
    End def
    .
  2. Variable Definition: Use the format
    Define var("name") = value
    .
  3. Function Execution: Use the format
    Perform function "name" with inputs (var("name"))
    .
  4. Loop Syntax:
    • Forever:
      Repeat (Forever):
      ...
      End repeat
    • Amount:
      Repeat (N):
      ...
      End repeat
      (repeats N times)
    • While:
      Repeat (While var("x") < 3):
      ...
      End repeat
    • Until:
      Repeat (Until var("x") > 10):
      ...
      End repeat
    • When:
      Repeat (when var("x") < 3, stop when var("y") < 10):
      ...
      End repeat

Anti-Patterns

  • Do not use standard programming syntax (like Python or C++) unless translating to Simplex.
  • Do not invent new keywords not defined in the Simplex rules.

Triggers

  • write simplex code
  • explain simplex syntax
  • create a simplex function
  • simplex loop example
  • debug simplex code