4 languages that can kill themselves
DynamicSquid (3220)

4 files, each with a different language. Each file will call the next file, and then commit die. Like this:

run main.py
kill itself

run main.rb
kill itself


Basically how this works is each file calls 2 shell commands, one to run the next file, and one to commit toaster bath. The bash command to commit skydiving without a parachute is rm FILE_NAME.

I also added brief comments on how the shell commands work in each language so you might learn something.

I'm just bored.

You are viewing a single comment. View All
DynamicSquid (3220)

@firefish well only if you compile it yourself. the default repl.it project contains the main.cpp