I'm Blue

From Esolang
Jump to navigation Jump to search

I'm Blue is a BF-derivative esolang created by User:LEOMOK. It is a list of misheard lyrics from Eiffel 65's song "Blue (Da Ba Dee)". It operates on a hypercube of an infinite number of dimensions. It is an extension of BF's tape. The datatype used is the 64-bit float.


Syntax

I'm Blue code is a list of functions. At the start, the last function declared is executed. They are declared like this:

   i'm blue
   [function number]
   [function contents]
   [blank line]

Numbers

Numbers are represented by writing the digits, one by one, in order. When a number is encountered, the current hypercube cell will be set to it.

Code Comment
da 1
ba 2
dee 3
dah 4
bah 5
dea 6
di 7
daa 8
da-ee 9
die 0
doh point

Commands

Code Comment
i will bleed i will die Go one cell forward in current direction (>)
if i was green i would die Go one cell back in current direction (<)
i believe i'm a guy Add one to current (+)
i will be like a guy Subtract one from current (-)
i will pee on a guy Add next cell to current
i will need apple pie Subtract next cell from current
i got beat up and died Multiply current cell by next
i'm in need of a dime Divide current cell by next
i'm a geek i'm a guy Modulo current cell by next
i'm in need of a diet Take next cell root of current cell
i'm diseased i must die Logarithm current cell to base of next cell
i believe i am pie Print as numeric value
i believe i can fly Print as unicode character (.)
i believe i will die Get input as numeric value
i believe i'm a guy Get input as unicode character (,)
i could eat up a diamond If cell is nonzero (blank line ends if statements and loops)
i could yeet up a guy While cell is nonzero ([])
i'm a meme i'm a mine Else in an if statement
i was eager to die Break out of while loop or end program
Example Example
Example Example
Example Example
Example Example
Example Example
Example Example
Example Example
Example Example
Example Example
Example Example
Example Example
Example Example
Example Example
Example Example
Example Example
Example Example
Example Example
Example Example
Example Example
Example Example
Example Example
Example Example
Example Example
Example Example
Example Example
Example Example
Example Example
Example Example
Example Example
Example Example
Example Example