Pointers

From Esolang
Jump to navigation Jump to search

Pointers is a programming language that uses pointers to do stuff

The Stuff To Know

Statements

These are the commands/instructions/statements.

Statements
Instructions Description
V = VAL Set V to VAL
V* = V Point V* to V
VAL Print VAL, note: it prints as a character if is a printable character, else a number
^V* Return the pointed value from V*
^V* = VAL Point the pointed value from V* to VAL
&VAL Goto line VAL
#COM Comments COM out

Note: V or VAL can be the Things: 3, 4, a var, a number/string, or a pointer

Examples

These are the Examples.

Binary

0* = 1*
1* = 0*
^1* #0*
^0* #1*