Masheen

From Esolang
Jump to navigation Jump to search

Masheen is an Esoteric Programming Language created by User:Buckets in 2022.

The IP Will start at the top-Left pointing Rightwards.

Commands Instructions
m Point downwards if The Current value Is Perfectly Divisible by m(, so it Has To be an Integer).
- Turn Clockwise 45 degrees.
~ Set the current Value To the input ASCII value.
! Print the Current value Modulo 256 in ASCII then modulo 256 To the Current Value.
Plus 1 to the Current Value if The IP Is facing Downwards Else, - one To The current value.
/ Make the next m Turn into a Different Command, that will Just Divide by m Instead.
* Make the next m Turn into a Different Command, that will Just multiply By m instead.

"Hello, World!" Program:

  -
   -
    
    
    
 -  *8*9!*5   !*3*5*7 !!*4*5 !*5*7 !*6*4! *3*5*9  !*4*4 !*8      !*4*5*6    !*9*3!*7*7   !
-   
-  -
 --

Cat Program:

~!