From Esolang
Jump to navigation Jump to search

Seeker is an esoteric programming language created by User:Saka (User:Galaxtone helped a little) that employs "seekers" and "blocks", pointers that can be accessed via the special functions.

Seeker is designed to be somewhat hard yet easy to program in.

The Basics

Instruction Description
Pointer ("seeker"), Used to jump to a section of code.
Instruction separator, Each instruction must be separated by this.
Blocker, Code execution stops upon reaching this.


Instruction Description
Declares variable called <name>.
Sets the variable called <name> to value of the variable called <name> / the number of <number>.
Sets the variable called <name> to the result of <expression>.
If the variable called <name> has the value of the variable called <name> or the value of <number> then go to seeker at <index>, else, execute the next instruction.
Print the value of the variable called <name> as an integer.
Print the value of the variable called <name> as an ASCII character.

Note: "&" and "$" can both be used as functions for output and variables in expressions for input.

Special Instructions

Syntax Description
Go to seeker at <index>.
Go to seeker at random index.
Go to the next seeker.
Go to the previous seeker.
Go to block at <index>.
Go to block at random index.
Go to the next block.
Go to the previous block.

Input & Output

Input does not have any prompt (e.g. "> ")

Integer Input

Accepts any integer. Ignores non-numerical ASCII characters, numbers are written to output as typed and removed when deleting, halts execution until enter has been pressed and at least one numerical character has been typed.


Accepts 1 ASCII character. Doesn't write to output, any character typed is converted from an ASCII character into an integer.


Output can be in the form of integer(s) or ASCII character(s). Consecutive outputs are not printed on new lines. If one wants to print new lines, they must print the newline ASCII character (10).

Variable Operations

Whitespace and order of operations is ignored.

Name Syntax
{<name> | <number>} <operation> {<name> | <number>} | <special>
"-" | "+" | "*" | "/"
"&" | "$"

The "&" and "$" characters are used for integer and ASCII input, respectively as seen above in the "Instructions" section.


Arithmetic operations must be written one by one. For example, if one wants to execute "x = 5+5+5", it must be


In other words, only one operation is allowed every time.


Simple Print


Outputs "5"

Infinite counter (using seekers)




Hello World!

Prints "Hello World!" with exclamation point:


Can also be done like this:


Both output the same thing.

Infinite Fibonacci Sequence

Prints each number on it's own line: