Who it is forA developer curious about esoteric languages who wants to see Kill Switch code execute on their own machine.
The problemKill Switch code cannot be run until the reference implementation is built and available.
The outcomeThe bundled tests/fizzbuzz.ks program runs through the killswitch command.
What you need first
- A Rust toolchain with cargo installed
- A terminal with access to the repo's files (clone of github.com/dom96/KillSwitch)
- A web browser for reading SPEC.md and the benchmarks site, if you use those use cases
Steps
- Clone the repo from https://github.com/dom96/KillSwitch and open a terminal in the repo folder.
- Run
cargo install --path .to install the killswitch command. - Run
killswitch run tests/fizzbuzz.ksto execute the example. - If you did not install it, run
cargo run -- run tests/fizzbuzz.ksinstead.
Prompt for your agent
In the dom96/KillSwitch repo, build the project with cargo and run `cargo run -- run <path to a .ks file>`, using tests/fizzbuzz.ks if no path is given. Report the printed output and any error text. Verify that the process exits without an error.
Caveat. The README names cargo and a Rust build as the setup path, so this use case does not work without a Rust toolchain.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for dom96/KillSwitch and "Run a Kill Switch program from the command line"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer