Smasnug 🕳️ABrainFIsHCHIHqFRSI9efuck+-~B2D
Jump to navigation
Jump to search
Smasnug 🕳ABrainFIsHCHIHqFRSI9efuck+-~B2D(Also known as Smasnug 🕳ABrainFIsHCHIHqFRSI9ef***+-~B2D, HQ9+brahbrahbrah, HQ9+-~B2D) is an esolang by User:Yoyolin0409. The inspiration came from "HQ9+" and its various enhanced versions.
It is Turing-complete because it can explain brainfuck.
| Designed by | User:Yoyolin0409 |
|---|---|
| Appeared in | 2025 |
| Computational class | Unknown |
| Reference implementation | Unimplemented |
| Influenced by | HQ9+, HQ9++, HQ9+-, HQ9+~, HQ9F+, FHQ9+-, CHIQRSX9+, HQ9+B, HQ9+2D, H9+, FISHQ9+, HI9+, +, Hq9eFuck, BrainfisHQ9+, ACHEQUEUENINETHOUSANDPLUS, AHQ9+-, HQ9~, Smasnug, 🕳️Q9+ |
| File extension(s) | .hq4brahbrahbrah |
Instructions
Ignore any non-instructional characters, such as spaces, newlines, and other characters. But, instructions consisting of multiple characters must be linked together.
It has an instruction pointer which starts at the first byte of the program, moving east.
- H: Output"hello, world"
- Q: Output the program's source code
- 9: Output the lyrics to "99 Bottles of Beer"
- +: Increment the memory cell under the pointer
- ++: Increment the memory cell under the pointer twice, and instantiate an object of a new sub class of the generic super class. Due to the best principles of object hiding, this object cannot be accessed in any way.
- - behaves differently based on what character(s) it follows:
- start of file: Syntax error
- H: I/O error
- Q: Infinite recurse
- 9: Infinite loop
- -: Decrement the memory cell under the pointer
- +: 1/0
- ++: Virtual exception ("which itself is a method of an object of a new subclass of the generic superclass. In line with the best data-hiding principles, there is no way to intercept this exception.")
- F: Dereferences a null pointer error
- If a H is followed by a tilde, it will print out the text of FizzBuzz up to the current value of the memory cell under the pointer.
- If Q is followed by a tilde, it will run the Truth-machine.
- If an 9 is followed by a tilde, it will create and run a new Universal Turing machine. In fact, it will output the error "Unable to create" regardless.
- If a + is followed by a tilde, it will get input from the user and input to the memory cell under the pointer.
- O: Output get data
- F: Output FizzBuzz up to the time the memory cell under the pointer got edited.
- f: Output FizzBuzz up to 100
- C: Copies input to the memory cell under the pointer
- I: Interprets input as program source
- R: Encrypts input with ROT-13 and input to the memory cell under the pointer
- S: Sorts input and input to the memory cell under the pointer
- X1(<Perl>): Randomly adds a number to each letter and runs a Perl
- X2(<Perl>): Adds 7 to each char then runs as Perl
- B: read input and execute as a brainfuck program
- >: Move east
- <: Move west
- ^: Move north
- v: Move south
- NOQ: Remove "Q"
- D: Decrement the the memory cell under the pointer
- s: Square
- o: Output the memory cell under the pointer
- K: Terminate
- Z: Set the memory cell under the pointer to 0
- i: Output "I can't bel1eve 1t's not qu1ne!"
- ONLY+: Remove all instructions that are not "+"
- DT: Output 42
- ,: Input a character and store it in the cell at the pointer
- [: Jump past the matching ] if the cell under the pointer is 0
- ]: Jump back to the matching [ if the cell under the pointer is nonzero
- h: Output "HELLO MORTAL"
- q: Output "every possible HQ9000+ program"
- N: Output the lyrics to "Ascending N Bottles of Beer" (starts with 0 bottles and more bottles are added to the wall)
- ADD INFINITY!!!!!: Crash
- A: Output all memory cell's content(Not included 0)
- P: Output "Porcupine on your head"
- c[value]: digital root[value] and output
- b: Output "01101101 01100001 01111000 00100000 01110011 01101011 01110101 01101100 01101100 01101001 01110011 01101000"
- S: Error named "Bruddyo ain't smart bruh"
- R: Output "Is the code below this Python?"
- var[name]=[value]: Creates a variable
- input[question]=[name]: Input a variable
- print[name]: Outputs a variable
- bruh[name]: Input [name] to the cell under the pointer
- Y: Output "Yes, is it"
- U: Output "dragon appears out of thin air"
- T[value]: Output value
- CL: Delete all instructions
- =: Output all variable's content
- RE: Set variable to 0
- IP: Output "your IP"
- SM: It gives you a confirmation request, If you confirm it, Nothing happend
- HELP: Output "existing is bonish" or "Know what? I'm confused." or "did you know this on battle with air" or "max skullish bro thought this was a joke"
- d: Outputs "was unreasonable"
- 2: Outputs the memory cell #2's content
- TO: Puts 1 character input(in decimal) in memory cell #3
- /: Divides memory cell #1 by memory cell #2 and puts it in memory cell #3
- {: Sets execution direction to right
- }: Sets execution direction to left
- ♪[name]: Plays note [memory cell #1] for 0.02*[name] seconds
- 13: Swaps memory cell #1 and memory cell #3
- 23: Swaps memory cell #2 and memory cell #3
- ⚠️: Reverse input and return it
- ❓: Output input
- (code): Repeat code forever
- [value or name](code): Repeat code [value or name] times
- IF[num]=[value]: If memory cell #[num]=[value]...
- __SP__: space
- #: Notes
- STOP: Hide the next Output
- IN: Input Output
- [value or name]FORRNG(code1,code2,code3,code4): If [value or name] is divisible by 4 then Repeat code1 [value or name] times, If [value or name] can be divided by 4 and leave a remainder of 1 then Repeat code2 [value or name] times, If [value or name] can be divided by 4 and leave a remainder of 2 then Repeat code3 [value or name] times, If [value or name] can be divided by 4 and leave a remainder of 3 then Repeat code4 [value or name] times
- ELIF: elif
Example
hello, world
H
Hello, world!
THello,__SP__world!
99 bottles of beer
9
Quine
Q
Cat
❓
Digital root calculator
inputType__SP__your__SP__number=a ca
ROT13_encoder
Ro
Truth-machine
Q~
FizzBuzz
+~F~
Infinite loop
(Thi )
Palindrome
ez#ze
Random number generator (i think)
inputHow__SP__many?=a bruha>++++/>STOPo<INinput=b <STOPHELPIN bFORRNG(IF1=existing__SP__is__SP__bonish >>>+<<< ELIF IF1=Know__SP__what?__SP__I'm__SP__confused. >>>++<<< ELIF IF1=did__SP__you__SP__know__SP__this__SP__on__SP__battle__SP__with__SP__air >>>+++<<< ELIF IF1=max__SP__skullish__SP__bro__SP__thought__SP__this__SP__was__SP__a__SP__joke >>>++++<<< , IF1=existing__SP__is__SP__bonish >>>+<<< ELIF IF1=Know__SP__what?__SP__I'm__SP__confused. >>>++<<< ELIF IF1=did__SP__you__SP__know__SP__this__SP__on__SP__battle__SP__with__SP__air >>>+++<<< ELIF IF1=max__SP__skullish__SP__bro__SP__thought__SP__this__SP__was__SP__a__SP__joke >>>+<<< , IF1=existing__SP__is__SP__bonish >>>+<<< ELIF IF1=Know__SP__what?__SP__I'm__SP__confused. >>>++<<< ELIF IF1=did__SP__you__SP__know__SP__this__SP__on__SP__battle__SP__with__SP__air >>>++<<< ELIF IF1=max__SP__skullish__SP__bro__SP__thought__SP__this__SP__was__SP__a__SP__joke >>>++++<<< , IF1=existing__SP__is__SP__bonish >>>+<<< ELIF IF1=Know__SP__what?__SP__I'm__SP__confused. >>>++<<< ELIF IF1=did__SP__you__SP__know__SP__this__SP__on__SP__battle__SP__with__SP__air >< ELIF IF1=max__SP__skullish__SP__bro__SP__thought__SP__this__SP__was__SP__a__SP__joke >>>+++<<<)o