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.
BackroomsTDP
BackroomsTDP is a programming langauge created by User:Miui. TDP stands for "ternary digit pointer" and "Backrooms" is a reference to the way programs seem to no-clip through a wall.
Ternary Digit Pointer
| Ternary representation | brainfuck | pattern | Morse code |
|---|---|---|---|
00
|
+
|
(!:/) |
⋅ - - - -
|
01
|
-
|
(\1)
|
..---
|
02
|
,
|
(2 )
|
..--- -----.
|
10
|
.
|
S
|
⋅ ⋅ ⋅
|
11
|
<
|
(O)
|
- - -
|
12
|
>
|
("SOS")
|
⋅ ⋅ ⋅ - - - ⋅ ⋅ ⋅
|
20
|
[
|
(! ! !)
|
dot
|
21
|
]
|
(! ! ! )
|
dash
|
22
|
<<
|
(! ! !!)
|
intra-letter
|
100
|
[]
|
(")
|
end-of-letter
|
examples
input is associated with :/ string and output is formatted by \ i.e. Slashalash
Morse-code SOS
example type: (pulsed)
This type of code (denoted by sequential quotation marks) is a pulsed program.
This code would generally output either a quine of brainfuck code for SOS (or actually step through bf execution and combine the signal.)
!:/"! ! !! ! ! !! ! ! !!""! ! ! ! ! ! ! ! ! !""! ! !! ! ! !! ! ! !!" \/
example type: (stream)
This type of code steps through Soh_supplementary_private_use_area-b_u+10fffe execution, but the signal is already combined and is considered "private" so it only outputs a quine.
!:/ !!!""!""!!!""! \/
"Hello, World!"
example type: (stream)
This type of code is capable of streaming an encoded message.
ASCII.
!:/"!!"!!"!!""""!""""! "" !"!""!"!"""""! """!""""!"! !"!! ! " \/
!:/"!!!!!!!!!! ! ! ! ! "" "" ! "" ! "" "" """""""" "" " \/
interpreter
minimal python SOS via �
PRIVATE = {
"S": "1>-?|<-p->+1+?|<1+->>T<-D-1?|>1+>>1-?S<-R>+?-W--1-V-U?--<+T1O->1-->1--+<<->1-?|>-T>1111111111111", #prints S
"O": "1-1<111111", # literally prints @
"SOS": "1>>>>>>-?|<---><->1?|<--1+->><>>?|>->->>T<--1?|>1>>1-<->?<1--?<<>--<1O>1-->1--<<>1-?|>" #literally prints @.@
}
#20(! ! !)
#21(! ! ! )
#22(! ! !!)
#100(")
input("!:/")
def private_mode_from_morse(morse_letters):
code = "".join(SOS_PRIVATE[ch] for ch in morse_letters if ch in SOS_PRIVATE)
return soh_supplementary_private_use_area_b_u_plus_10fffe(code)
- https://github.com/iannmiui-png/BackroomsTDP.py/ (github repo)