π Chapter 1: Fysh Syntax
π Variablesβ
- Meet Steven, our fishy friend. In Fysh, variables like Steven are declared
with
><name>
. Every line of fysh ends with a wave~
.
><steven> ~
- Steven has binary scales. In Fysh,
}
represents1
and)
represents0
. Here, Steven is valued at0b101
, which is5
in decimal.
><steven> = ><})}> ~
- Steven doesnβt give a flying fysh about scale direction.
β
for variable assignment is cool with them too.
><steven> β ><}({> ~
ποΈ Optional Visualsβ
- Steven is blind. You have the power to bless them with sight, but it's completely optional! You can make them biblically accurate by giving them multiple eyes.
><steven> β ><{({Β°> ~
><steven> β ><{({o> ~
><steven> β ><{({°°> ~
><steven> β ><{({oΒ°> ~
><steven> = ><{({Β°oΒ°> ~
β Arithmetic with Variablesβ
- Summing values: A school of Fysh's value is the sum of each member. This
gives Steven a value of
0b101 = 0b100 + 0b001 =
(5 = 4 + 1).
><steven> β ><{((Β°> ><(({Β°> ~
- Subtracting values: Sometimes fysh are negative and start to swim
backwards. This takes away from the school's value. Steven's value is
0b101 = 0b111 - 0b010
(5 = 7 - 2).
><steven> β ><{{{Β°> <Β°)})>< ~ # 0b101 = 0b111 - 0b010
- Multiplying values: Fysh often get lonely. This loneliness causes fysh to
meet new fysh and proliferate. This gives Steven a value of
0b101010 = 0b110 * 0b111
. (42 = 6 * 7)
><steven> = ><{{(Β°> <3 ><{{{Β°> ~
><steven> β ><{{(Β°> β‘ ><{{{Β°> ~
- Dividing values: Not every fysh story is a happy one. At times, separation
is inevitable, and their division breaks their heart. This gives Steven a
value of
0b101 = 0b11001 / 0b101
. (5 = 25 / 5)
><steven> β ><{{(({Β°> </3 ><{({Β°> ~
><steven> β ><{{(({Β°> π ><{({Β°> ~
- Using parentheses for complex operations: Fysh are often abducted and
isolated into fyshbowls
( )
for terrestrials' amusment. This makes the fysh sad and gives Steven a value of0b101 = 0b101 / (0b101 - 0b100)
. (5 = 5 / (5 - 4))
><steven> β ><{({Β°> π ( ><{({Β°> <Β°}))>< ) ~
πΌπ½ Increment and Decrementβ
- Increment: As life goes on, we learn from our mistakes and improve. Stevenβs self help journey allowed them to grow an extra tail, incrementing their value by 1.
>><steven> ~
- Decrement: Sometimes we feel like a fyshup, a failure. And that's ok, itβs a part of being fysh. However for some fysh, this feeling is too much to handle and is internalized. They havenβt received the emotional support they need and have gone on a downward spiral, causing them to feel worthless. They begin to retreat and try to swim away in the opposite direction causing their value to decrement by 1.
<steven><< ~
π’ Random Number Generationβ
Random Number: This is a grilled fysh. It generates a random signed 32-bit number that determines the doneness of the fysh.
><###> ~