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.

User:Aadenboy/Justec

From Esolang
Jump to navigation Jump to search

Justec is an esolang made for GMTK's 2026 Game Jam.

Structure

A Justec program is a directed tree of nodes. Each node may also point to a register. Nodes may point to several other nodes, creating new program pointers as necessary, which execute from oldest to newest. If a program pointer has nowhere to go or is halted, it is immediately removed.

Registers are accumulators that can only be decremented or combined together, without exception. The program immediately halts if any register's value goes below zero.

Commands

Command Function
  No-op.
- Decrement an accumulator once.
! Create a new accumulator with a set value.
: Combine the last interacted register with the one this command points to via addition.
" Combine the last interacted register with the one this command points to via multiplication.
> Halt the current pointer if the register's value is greater than the last interacted register's value.
0 Halt the current pointer if the register's value is equal to zero.
? If the next command were to cause the pointer to be halted, skip it, otherwise halt the pointer.
~ Halt the current pointer unconditionally.