Dont
Jump to navigation
Jump to search
Dont is an esolang made by Yetyetty1234567890 in 2024. (Yes this is my first esolang to do this)
Commands
The first command is DONT. DONT will take the number after it and then prohibit it from being used on that line.
The second is ADD. ADD adds.
The third is SUB. SUB subs. (First number - second number)
The fourth is DUP. DUP will duplicate a value on a line backwards. (So like ADD 2 3 DUP 3 will make it 3 ADD 2 3)
The fifth is DUL. DUL will duplicate the previous line backwards and then run that line. (Like DUP)
The sixth is NOP. NOP.
The seventh is LOOP. LOOP loops the operations after it infinitely until the operation gets DONT'd
The eighth is INPUT. Inputs ASCII. (Is the input of a instruction.)
The ninth is OUTPUT. Outputs ASCII.
Examples
Examples:
Hello, World!
OUTPUT 72 OUTPUT 101 OUTPUT 108 OUTPUT 108 OUTPUT 111 OUTPUT 44 OUTPUT 32 OUTPUT 87 OUTPUT 111 OUTPUT 114 OUTPUT 108 OUTPUT 100 OUTPUT 33
Truth Machine
DONT SUB INPUT 48 LOOP OUTPUT ADD 0 49 OUTPUT 48