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.

(piggus)

From Esolang
Jump to navigation Jump to search

(piggus) is an esolang created by WarzokERNST135 which is an extension of pigs.

Commands

p, i, g and s are the same as in pigs.
u: Goes to the previous unit.
( and ): Loop brackets, loop ends when current unit is 0

(piggus) can encode input-free brainfuck programs. It is almost a trivial brainfuck substitution, particularly TrivialBrainfuckSubstitution("g", "u", "piiiiiiiii", "i", "s", X, "(", ")"), where X would represent input. The mapping can also go from (piggus) to brainfuck:

(piggus)        BF
( and )         [ and ]
p               ++++++++++
i               -
g               >
u               <
s               .

Complexity class

(piggus) embeds the Turing-complete portion of Algebraic Brainfuck, so it should be Turing-complete too.

Trivial additions

This now uses implicit input too !DO NOT DELETE PIGS!