Mhm!
Jump to navigation
Jump to search
| Paradigm(s) | procedural, imperative |
|---|---|
| Designed by | User:Aadenboy |
| Appeared in | 2026 |
| Memory system | tape-based |
| Dimensions | one-dimensional |
| Computational class | Unknown |
| Major implementations | [1] |
| Influenced by | Countable |
| File extension(s) | .mhm |
Mhm! is an esoteric programming language created by User:Aadenboy on April 1st, 2026.
Memory
The memory of Mhm! is an infinite tape of instances of Mhm! memory. That is, each cell is infinitely recursive. Cells with an index past 0 are considered unusable and cannot be interacted with.
Commands
In general, commands only apply to the first instance. To nest deeper, prepend a caret (^) before the command.
| Command | Description |
|---|---|
( |
Move the current pointer one cell leftwards. |
) |
Move the current pointer rightwards infinitely until an unusable cell or a cell with a greater or equal index is found. If no cell is encountered before the pointer travels past index 0, the cell is marked as unusable. |
[...] |
If the pointer of the current cell is usable, run the contents of the loop until the current cell can no longer be used. |
Examples
A+B Problem
^) ( safeguard ( ^( ^^) ^( ^^) ^( ^^) A = 3 ( ^( ^^) ^( ^^) B = 2 [)[)]] back to start (( [ addition loop ^) A-- ( ^( ^^) B++ [))[)]] back to start (( ]