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.

!!!!!!!! !/Page

From Esolang
Jump to navigation Jump to search
This is still a work in progress. It may be changed in the future.

Info

!!!!!!!! ! Is an Esolang created by User:Yoshifan66 (all lowercase) yay

The memory is managed with a stack

Syntax

Command Description
!2 Increment the current position of the stack by 2 or by position 2 (《2》)
?1 Decrement the current position of the stack by 1 or by position 1 (《1》)
《n》 change current position to position n from top to bottom
; Print the current position
# Duplicate current position
^ pops the current position of the stack
:3‌/;.^ if current position is equal to 3 then execute ; else execute ^
"1 =F= jump past the matching ' if position 1 is not F
' jump past the matching " =F= if current position is F
*<code> execute code current position times
° add the user's input to the top of the stack
(3) add 3 to the top of the stack and change current position to it

if you want to use math other than ! or ? (from this esolang) functions like multiply (= *) or mod (= %) is the same as in lua but you have to add it to the stack to use it or it won't work

Programs

Hello, World!

(Hello, World!);

Cat Program

°;

99 Bottles of Beer

(99):1/;(Bottle of beer on the wall\ntake one down, pass it around, No more bottles of beer on the wall!\nNo more bottles of beer on the wall, No more bottles of beer!\nGo to the store, buy some more, 99 bottles of beer on the wall!);.;(Bottles of beer);(on the wall);(,);《4》;《3》;(!);(\n);(Take one down, pass it around,);《7》?;《6》;《5》;

Fibonacci Numbers

(0);(1);°?2*<(0)!《4》!《3》;《3》!《4》《4》!《1》《1》^>

FizzBuzz

(1)(100)*<(《2》%3)(《3》%5)"2 =0= "1 =0= (FizzBuzz);^'(Fizz);^'"1 =0= (Buzz);^'^^《3》;>^^

Truth-machine

°:0/(0);.(1):a/;.^