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.

Trapping 100 people in a ring of fire

From Esolang
Jump to navigation Jump to search

Trapping 100 people in a ring of fire is a stack-based esolang by User:Cordership, inspired by User:Parcly Taxel's esolang 1+ and Befunge.

Syntax

Command Definition
1 Push 1 into the stack. This is the only literal.
>v<^|_+-*/%?~,&.@gp Same as in Befunge.
d Pop top of stack and discard.
( Swap the two topmost elements of the stack.
) Duplicate top of stack.
p Pop top of stack, push it into the box.
P Pop box and push it into the stack.
s Push string input into the stack.
! All-directions If: Pop top of stack, if value=1 go up, if value=2 go right, if value=3 go down, if value=4 go left.
= Pop values a and b, if a=b push 1, else push 0.
G and L Pop values a and b, push b>>a and b<<a, respectively.
{ Pop values a and b, push b**a.
A Go northeast.
B Go southeast.
C Go northwest.
D Go southwest.

Programs

Hello, World!

11+))**))*+.11)+)))**+)*+.11)++))+)**.11)++))+)**.11)++)))+)**+.11+)))*))*++*.11+))))****.11)++)))*)*++.11)++)))+)**+.11)++))))+)**++.11)++))+)**.11111++++)*11+)**.11+)*1+11+*1+111++*

Cat program

~,

Truth-machine

& v
v._.@
1
^

4-function calculator

&&~11+))**11+))**1+*-#v_1-#v_11+-#v_11+-v
                      *    +      -     /
                      .    .      .     .
                      @    @      @     @

FizzBuzz

11+)*1+)*11+)**11-(>p111++#v_v
                            v<
                           > v
                           v<
                           ) )
                           1 1
                           1 1
                           + +
                           ) )
                           * *
                           1 1
                           + +
                           % %
                         v<< >>v
                        v_v   v_v
                                
                                

TBA




                             >  v
                             v  <
                             )
                             1
                             +
                             P
                             -
                             v
                   ^         _@

Fizz              Buzz              FizzBuzz
70 105 122 122    66 117 122 122    70 105 122 122 66 117 122 122