jLOS

From Esolang
Jump to navigation Jump to search

jLOS is an Esoteric programming language created by User:Buckets in 2022.

In the Y axis is Called a Channel, On the X Axis, it is called A Macaroni.

Commands Instructions
A Delete The Right Macaroni.
> Move Right once to The Channel.
< Move left once to The Channel.
B Delete The Left Macaroni.
^ Rotate Upwards the Channel on the right.
v Rotate downwards the Channel on the right.
Rotate Upwards the Channel on the left.
: Rotate downwards the Channel on the Left.
_ Move Right once to The Channel, on the Same Macaroni.
/ Move left once to The Channel, On The same macaroni.
F Replace the the Channel on the Right, Same Macaroni with The Current value of the Accumulator, If It is Empty.
+ +1 On The Accumulator, Given Respect to 35.
f Replace the the Channel on the left, Same Macaroni with The Current value of the Accumulator, If It is Empty.
i Ask the User for An Input and Store it To the Top of the Right Channel.
I Ask the User for An Input and Store it To the Top of the left Channel.
g Push A ; To the top of The channel to the Right.
h Push A ; To the top of The channel to the left.
; Noop.
b Push A ; To the Bottom of The channel to the Right.
c Push A ; To the bottom of The channel to the left.
" Start String mode, Which will store Whatever comes next until ' is met.
' End string mode.
1 Push the String on the Stack.
0 Select the Top of the Stack.
\ Print the Selected Stack as a string, if the String is Empty, It will print a Line feed, unless It is from An Input String.
= Move the Bottom of the Stack to the top.
@ Push An Input String.
! Replace the the Channel on the right with the Same Macaroni, to the top of the Stack.
$ If the Top of the Stack Is equal to the Bottom of the stack, Go to the nearest # On The Same Channel.
# Noop.
3 Pop off the Top of the Stack.
` Move the Top of the Stack to the Bottom.
~ If the Top of the Stack Is equal to the Bottom of the stack, Go to the nearest # On The Same Macaroni.
Applies to $ and ~, Which will Invert their Conditions If used 1 Command Before.
Halts the program.

The IP starts at the Top Left.

"Hello, World!" Program:

"
H
e
l
l
o
,
 
W
o
r
l
d
!
'
1
0
\
—

Cat program:

@
\

Truth-machine:

"
0
"
@
$
"
1
"
`
~#
—=
#>\
`
\
—