Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Latest commit

 

History

History
224 lines (185 loc) · 11.3 KB

commands.md

File metadata and controls

224 lines (185 loc) · 11.3 KB

Commands

List of commands available in Pepe.

  • Click the section title to view corresponding column in the project.
  • Click the command name to view corresponding note in the project.
  • Stack << - Push to stack
  • Stack >> - Pop selected item from the stack and perform action on the popped item.
  • Pushed items always go to the end of stack and they don't change pointer location.

For every command in section: X is value of the selected item from WS.

Goto commands don't do anything if corresponding labels don't exist.

Commands in this section do not pop.

Flags are listed in a project column

If input is a string, every contained byte is pushed as an integer

WARNING - Pepe has multiple inputs support. Calling an input-taking function will move the "input pointer" to the next value

1 slot left

12 slots left

49 slots left

Commands operating on active items from both stacks.

A = active item from WS, B = active item from the other stack

All commands here support the flags:

r = Preserve,
R = Empty,
rr = Insert,
rR = Prepend,
Rr = Insert & Preserve,
RR = Prepend & Preserve

121 slots left

246 slots left

Commands operating on the whole stack

First letter:

  • E - Push
  • e - Print as character

Following letters are parsed as:

  • E - 1
  • e - 0

Converted to a binary number, then to a corresponding ASCII character.

Ex: To print A, the command would be reEeeeeeeE.

Supported flags:

r = Insert R = Prepend