H๐++
Jump to navigation
Jump to search
H๐++ (or HWorld++or HWorldFuck) is an extension of H๐+ which is an extension of H๐, the extended parts are created by User:None1.
Extension
H๐++ runs on a string stack (initially empty).
Command | Meaning |
---|---|
f | Read a string and pushes it into stack. |
u | Pop the stack and output (does nothing if the stack is empty). |
c | Empty the stack if the stack isn't empty and the top of stack is 0 (does nothing if the stack is already empty). There is perhaps no reason to create this command except for writing a Truth Machine.
|
k | Loop until the stack is empty. |
! | End of loop, matches a k .
|
Non-command characters push themselves as a string into the stack.
Example Programs
Hello World
hw
Cat Program
fu
A more elaborate one:
fuck!
Cat Program (non-terminating)
fkuf!
Truth Machine
fcku1!0u
Computational class
H๐++ is of course a push-down automaton.