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.

DDDD

From Esolang
Jump to navigation Jump to search

DDDD is an esoteric programming language whose only data structure is a single deque. It was created by User:Andrew3335 in 2021 and is intended to be used for golfing, although the restriction to printable ASCII limits its brevity.

Specification

Here is a link to the specification.

Sample programs

Hello, World!

NHello, World!}J

N...} puts an element containing "Hello, World!" at the end of the deque. J looks at the back element and prints it.

Cat program

iK

i takes STDIN and creates a new element at the deque's top. K looks at the front element and prints it.

Computational class

DDDD is Turing-complete as the instructions :()^ from Underload are in DDDD.