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.

jumping to -1 is exciting

From Esolang
(Redirected from Wapr)
Jump to navigation Jump to search
This article is not detailed enough and needs to be expanded. Please help us by adding some more information.

A tape-based language whose informal name and acronym is "wapr". The name is a pun on the first line of the original spec - being that "Jumping to -1 is exiting." - this still holds true.

! f t c -> jump (t if c else f)
" x -> -x
# ... n2 n1 n0 2 1 -> ... n1 n2 n0
# ... n2 n1 n0 1 -1 -> ... n2 n0
$ x y -> x+y
% x -> x x
anything else (apart from whitespace) append to tape (% 127) - 38

blahbot` in #esoteric can run this.