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.
Diabetes mellitus
Jump to navigation
Jump to search
| Paradigm(s) | imperative |
|---|---|
| Designed by | User:... |
| Appeared in | 2026 |
| Memory system | Stack-based |
| Computational class | Push-down automata |
| Reference implementation | Unimplemented |
| Influenced by | Python |
| File extension(s) | .dm, .dme |
Diabetes mellitus is a stack-based esoteric programming language invented in October 2026 by User:....
Commands
Diabetes mellitus has seven commands.
| Command | Action |
|---|---|
push n
|
Pushes the digit n (0–9) onto the stack.
|
pop top/frst
|
Removes the item specified by the argument. |
print top/frst/stack/'...'
|
Outputs the specified value, the stack, or a string literal. |
read
|
Reads input for the program. |
if top/frst/n =/</>/=</=> top/frst/n (code)
|
Executes the commands inside the parentheses if the comparison is true. |
while top/frst/n =/</>/=</=> top/frst/n (code)
|
Repeatedly executes the commands inside the parentheses while the comparison is true. |
halt
|
Terminates program execution. |
Examples
Hello, world!
print 'Hello, world!'
XKCD Random Number
push 4 print top
infinite cycle
while 0 = 0 ( )