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.
Mukha
- This article is not detailed enough and needs to be expanded. Please help us by adding some more information.
Mukha is one-dimensional esolang by User:ChuckEsoteric08 which is endowed with the faculty of boustrophedon motion across a one-dimensional program, while employing an integer-valued accumulator and a stack of integers for conditionally skipping instructions as well as realizing goto operations.
Commands
| Command | Operation |
|---|---|
+ |
add 1 to the accumulator |
- |
subtract 1 from the accumulator. If result was less than zero, skip next command |
( |
Push IP to the stack |
) |
Pop element from the stack, and set IP to it. If stack was empty do nothing |
; |
Pop element from the stack. If stack was empty, skip next command |
: |
Go back to the start of the program |
> |
move IP to the right |
< |
move IP to the left |
\ |
if moving left skip next instruction |
/ |
if moving right skip next instruction |
Examples
Increment and decrement via a loop
The following program increments the accumulator to the value 3, then repeatedly decrements it in a loop until it reaches a negative state, finally exiting the program.
+++(-)
Increment from left to right, decrement from right to left
This program increments the accumulator to the value 3 while traveling in a sinistrodextral airt, then decrements it to 0 during its athwart traversal.
+\/-+\/-+\/-<
Increment accumulator forever
>+<
Interpreter
- Common Lisp implementation of the Mukha programming language.