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.

Xaxa

From Esolang
Jump to navigation Jump to search

Xaxa is a language derived from BF made by User:ChuckEsoteric08.

Commands

Command Meaning
> move pointer to the right and increment cell under the pointer
- decrement cell under the pointer
< move pointer to the left
? skip all commands until next ! if zero
^ back to command n, where n is value of cell under the pointer (0 indexed)
. output cell
, input number and store it in the current cell

It has unbouned array of unbounded integers, and whether it is signed or unsigned depends on the implementation

Examples

Infinity loop

>^

Cat program

>,.<^

Truth-machine

,?.^!.

Computational class

The language is Turing-complete as it can simulate counter machines easily in similar way as FRACTRAN does.

Interpreter

  • Common Lisp implementation of the Xaxa programming language.