Somp
Jump to navigation
Jump to search
Somp is an esolang made by me! (Shazun bhasfu, if you need an ipa help its /ʃɑːˈzʊn ˈbʱɑːsfu/), its an single char command stack esolang thay also has 'teleports' (spolier, basically labels, thx for me saving you time)
heres what should do:
Command | Action |
---|---|
^ | append 0 to stack |
v | pop stack |
; | halt |
. | pop & output char |
, | input char to stack |
+ | pop 2 values, push sum |
- | negate top of stack |
: | label (store position) |
@ | jump to next label |
/ | jump to previous label |
! | if top ≠ 0, continue; else skip next char |
& | reverse the stack |
# | random number between 0 to 255 |
| | duplicate top stack value |
so here example hello world program:
^104^101^108^108^111^32^119^111^114^108^100^10&............
and truth machine program:
,|||:.||^49-+!/;