Laughing my  off

From Esolang
Jump to navigation Jump to search

Laughing my  off (The unprintable character between the two spaces is ASS (ACTIVATE SYMMETRIC SWAPPING), U+206B), a.k.a Laughing my ASS off, a.k.a lmao, is an esolang invented by User:None1. It is like, and inspired by turning tarpits, but it is not, because it is based on Deadfish!

Commands

(ASS, U+206B): Switch to the next command
​(ISS, U+206A): Run the command

Command table:

idso
^

The commands use unprintable characters, so programs in this esolang are invisible.

Examples

XKCD Random Number

[​​​​​]

(Brackets are added only for being easy to copy and paste, and are not part of program.)

The unprintable characters used are:

ISS ISS ISS ISS ASS ASS ASS ISS

Translator to Deadfish in Python

a,b,c=input(),0,'idso'
for i in a:
    if i=='\u206a':
        print(c[b],end='')
    elif i=='\u206b':
        b=(b+1)&3