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.

Self but with loops

From Esolang
Jump to navigation Jump to search

self has loops now

commands

self now prints the thing before it and itself, Ex: haha self would print haha self
loop loops the code behind it the number after it, Ex: haha self loop 5 would print haha self haha self haha self haha self haha self
cloop loops the code after it till the cend the amount behind it, Ex: 2 cloop self cend would print cloop self cloop self
cend ends cloops, no example because cloops gives it

infinite loop

haha self loop -1

Interpreter

no

See also