Convert
- The title of this article is not correct because of technical limitations. The correct title is actually ->.
-> is an esolang by the user AdjectiveNounNumber (me!). It was created in Jan, 8, 1:31 ET. Every variable, function, and/or value can be converted, or redirected to another value using a convert arrow (->). All values start undefined except the components.
Example: (~(false) -> true)(~(true) -> false) ((true&true) -> true)(&false) -> f)((false& -> f)(ftrue -> false)(truef -> false)(ff -> false) ~(true&false)
~(true&true) Output:
Error: Conversion limit exceeded (R>10)
Componets
Symbol | Syntax |
---|---|
-> | Converts / Redirects the value to the left to the value to the right. |
$( input ) | displays the input as a character of ascii value of the input converted to an integer. If the input cannot be converted, it will display nothing. |
?( input ) | Converts the input into the user input. |
[ ] | Does not allow any values to be proccessed or converted inside. |
( ) | Stops conversion arrows. |
-> (Conversion Arrow)
The conversion arrow is one of the most crucial parts of this programming language. This converts or redirects the value to the left to the value to the right. The values on the left and right will extend forever until it hits blockers or the end of its line. The value on the left and right also ignore spaces and deactivators. The conversion arrow is formatted as name -> redirect
or (name -> redirect)
. The conversion arrow only converts lines without a active conversion arrow in it.
[ ] (Deactivators)
The deactivators do not allow any values to be proccessed or converted inside. The deactivators are formatted as [ input ]
.
( ) (Blockers)
The blockers stop conversion values from expanding too much.
$( ) (Inputter)
The inputter gets user input and converts the value inside into the user input.
Examples
Truth Machine
?( [input] ) [enter 0 or 1] 0 -> [48] 1 -> [49] input -> $(input)input $(0)0 -> $(0) input
Interpreter
This language does not have an interpreter yet, meaning the results are made by hand. If any of this code is wrong, please tell me :)