We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

SetCountJump

From Esolang
Jump to navigation Jump to search

SetCountJump is an assembly related esoteric programming language created by User:Wertix96.

Memory

SetCountJump uses variables (the interpreter stores them in a dictionary). Notice that the variables have to be set before usage.

Commands

There are 3 instructions in SetCountJump:

Name Syntax Meaning
Set x > y Set variable named y to the value of x (y = x)
Count x + y Adds x to variable named y (y += x)
Jump x : y If x > 0, then jump to line y

Negative numbers can be obtained with -x or -y. ("-" + a literal is not allowed (-25), variable name can start with "-" (-hello))

The command

x > $ 

will print x as an unicode character.

Examples

Truth-machine

Replace ? with input.

? : 4
48 > $
1 : 6
49 > $
1 : 4

External thingies

https://github.com/Wertyg88/Wertix-Esolangs/tree/main/SetCountJump SCJ interpreter written in python