Peet

From Esolang
Jump to navigation Jump to search

Peet is a bf extension by User:Hammy

Execution

Valued Peet

Each pixel has a "color value". It is gotten by adding the RGB values and moduloing by 16.

Commands

Color value Mnemonic Action
0 1 2 3 4 5 6 7 + - < > . , [ ] Same as bf
8 9 10 11 12 13 14 15 ; @ ? " # ( ) ! Terminate, skip next instruction, @ if nonzero, string mode (modulo by 128 until another ", do some stuff), loop while zero, end loop, rotate command pointer clockwise.

Classic Peet

Use Piet style commands like this i guess.. what i mean is: (check in order)

These are negative and multiplied by 16 btw

Red change
1 2 3 4 5
+ - < > .
Green change
1 2 3 4 5
, [ ] ; @
Blue change
1 2 3 4 5
? " # ( )

In this, going forward a few values is !.

White works as expected.

Black terminates. It is the symbol :.

If a value goes below 0, it wraps back to 255. This is true for the tape and RGB values.

The first transparent pixel acts as white and it is the starting point. The commmand pointer starts going right.

Examples

Classic Peet only, currently.

Cat

Currently no image. Here's the instructions. ^ is the starting point.

!.,!
^,!]
@ @ 
! :!
![!