Signle

From Esolang
Jump to navigation Jump to search
This article is not detailed enough and needs to be expanded. Please help us by adding some more information.

Signle is a esolang with only one function made by User:Yayimhere. The name comes from a typo of the word single cuz its a single function.

the function

There os a single function. The ! function. It tales input as a string. Lets say we pass it the string: x. Here is what it does:

x_ add a underscored
x_xx add the input to itself twice
xx_x rotate the last char to the right
xx_! x add a ! And a space after the underscore
 Now here comes a conditional. If two first chars are not the same it will pass the result back to the function. In this case it is equal so it will return the result

to save a variable x as the string y:

x y *

The passing of a string to the function is:

x!

This passes x to the function. To pass a varible:

*x!

If x is a variable it will pass its contents. Else it will pass the string *x

examples

infinite loop:

)()(!

Halting program:

x!