We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

Mercury

From Esolang
Jump to navigation Jump to search

Mercury, also known as Hg, is an esolang made by User:Assembly.

Commands

~: When the ~ command is called, include the top element of the stack into the program rather than the stack, immediately after the ~ command, ready to be run next; this effectively pops the stack.

=: Duplicates the top element of the stack.

"x": Pushes everything between the quotation marks into the stack.

Computational class

Turing-complete.

The command set ~="x" is equal to the Underload commands ^:(x).