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.

Stack whack

From Esolang
Jump to navigation Jump to search

Stack whack is a stack-based language which can be compiled to BF.

Instructions

Instructions
Name BF
(Number) (+*Number)>
-(Number) (-*Number)>
< <
> >
[ <[
] <]
ADD <[-<+>]
SUB <[-<->]
IN ,>
OUT <.

Computational class

Stack whack is Turing-complete because with a few adjustments BF can be compiled into it.