Paintfuck++

From Esolang
Jump to navigation Jump to search

Paintfuck++ is a derivative of Paintfuck, but now you can store data with stacks. (In Paintfuck you can't store data, you need to use the screen.)

Instructions

The instructions are the instructions of Paintfuck

New instructions

Instruction Action
Any number Push the number written to top of the stack
. Pop the top item of the stack
T Dup the top item of the stack
, Pop the top item of the stack and push it at the bottom of the stack
´ Pop the bottom item of the stack and push it at the top of the stack
"<String>" Push <String> to the stack
ç Push the item nº(Number of the item at top of the stack) to the top of the stack (without popping)
{} Will create a variable with the name of
[] Will set to the top item of the stack (without popping)
¨¨ Will push the value of the variable at the top of the stack
< Will jump to the next > if the top two items of the stack are not equal
> Will jump to the correspondent < if the top two items of the stack are equal
/ Will jump to the next / if the top item of the stack is 0
\ Will jump to the correspondent \ if the top item of the stack is not 0
" Will jump to the next ! if the top item of the stack is bigger than -1
! Will jump to the correspondent " if the top item of the stack is lower than 0

Interpreters

Nobody has made an interpreter as of yet.

See also