Skip to content

Latest commit

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

MAWP

esolang wiki link: https://esolangs.org/wiki/MAWP

PLEASE OPEN ANY ISSUES FOR BUGS AT THIS REPO. HOWEVER, ANY SUGGESTIONS SHOULD BE OPENED HERE

SymbolMeaning
MTakes top two values of the stack and sums them.
ATakes top two values of the stack and returns the absolute difference.
WTakes top two values of the stack and multiplies them.
PTakes top two values of the stack and floor divides the second by the other.
%Pops top of stack.
!Duplicates top of stack.
:Prints top of stack without newline, removing it.
;Prints top of stack as ascii char without newline, removing it.
.Terminates program
[Start of loop. jumps to its ] if top of stack equals to 0
]End of loop. If top of stack doesn't equal to 0, then moves back to start of loop.
(Start of inverted [] loop. Jumps to its ) if top of stack doesn't equal to 0
)End of inverted [] loop. Jumps to its ( if top of stack equals to 0
<Long conditional. If top of stack doesn't equal to 0, jumps to its >
>End of long conditional
_Pushes length of stack
?Short conditional. If top of stack doesn't equal to 0, skips next operator.
|Pushes whole input byte by byte by its ASCII value
~Reverses the stack
{Long inverted conditional. If top of stack equals to 0, jumps to its }
}End of long inverted conditional
@Pushes whole input byte by byte. If character is an integer, then push that integer. Else push a 0
/Cycles stack clockwise
\Cycles stack anticlockwise

About

My own esolang

Resources

Stars

8 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages