From Esolang
Jump to navigation Jump to search

Don't was a very powerful esolang by User:Cortex that had only three commands


Command What it did
H Print "Hello, World!"
? Teleport the user's device to a landfill in Dubai.
G[] Delete Don't from existence.

Unfortunately, someone ran the G[] command in one of their programs while testing an interpreter, causing the language to be removed from everybody except the creator's memory, and it was rendered impossible to implement.


Despite of the rendering User:A insanely implemented Don't. This implementation requires two files and works only under Microsoft Windows:

#include <stdlib.h>
int main() {
    system("del dont.c");
    system("del do.c");
    system("del dont.exe");
    return 0;
 *Inputs 1 command per line
 *No right served
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
int main() {
    char inp[30];
    while(1) {
        /*In fact, an implementor could have
         *implemented burning up the user's 
         *computer and killing the user, but
         *it is way too risky to implement that.
        if(strcmp(inp,"G[]")==0) {
            /*This theoretically deleted Don't
             *from existence via deleting every
             *Don't file and sources and leaving
             *do.exe alone(it certainly does not)
             *contain any "Don't" definitions.
            system("start do.exe");
            return 0;
        } else if(inp[0]=='H') {
            printf("Hello, world!\n");
        } else if(inp[0]=='?') {
            /*Impossible, unless the device is a robot.*/
            printf("Your device is too heavy to be carried to Dubai\n");
    return 0;