H๐ŸŒ++

From Esolang
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).

Extended commands in H๐ŸŒ++
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.