DeadSimple

From Esolang
(Redirected from R U DS)
Jump to navigation Jump to search

DeadSimple, originally named R U DS for Are You Dead Serious?, is an simple, total, output-only esoteric programming language created by Zackery Mowrer in 2018. The current name comes from the fact that the language is "dead simple" to program in.

Being a total programming language, it is not Turing-complete.

Syntax

There are only four instructions. These instructions operate on an integer variable and thus somewhat simulate a integer stack (although no stack is used internally).

  • _: Resets to 0
  • +: Increments by 1
  • -: Decrements by 1
  • S: Prints the current value in its Unicode representation

All other characters, including lowercase s, are silently ignored and can thus be used as comments.

Example

Here is a Hello World program written in DeadSimple:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++S # H
+++++++++++++++++++++++++++++S # e
+++++++SS # ll
+++S # o
_
++++++++++++++++++++++++++++++++++++++++++++S # ,
------------S # space
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++S # w
--------S # o
+++S # r
------S # l
--------S # d
_
+++++++++++++++++++++++++++++++++S # !
_
++++++++++S # newline

This program can also be written as a one-liner:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++S+++++++++++++++++++++++++++++S+++++++SS+++S_++++++++++++++++++++++++++++++++++++++++++++S------------S+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++S--------S+++S------S--------S_+++++++++++++++++++++++++++++++++S_++++++++++S

External Resources