Passet
Jump to navigation
Jump to search
passet is a esolang where variables pass values
this esolang was made by User:Danieland!
first you define the variable royal:
royal_ / "hello, world!"
that will give string value, then:
royal_ -> A
now A stores the first and last 4 letters: // A = 'hellrld!'
like humans passing data
so how do we print "hello, world!" ?
well well well... :
royal_ / "hellorld!o, w' royal_ => A put(A) print(royal_)
that will set royal and pass the first and last 4 and forget them // royal => A
then print A without newline // put(A)
and print royal // print(royal_)
programs
truth machine:
royal / input
if (royal // "0") do:
print(royal)
and if (royal // "1") do:
forever:
put(royal)
again and again
and that's it