Hexish

From Esolang
Jump to navigation Jump to search
This article is not detailed enough and needs to be expanded. Please help us by adding some more information.

This should be enough for now:

Command Description
00 end of data
01 print
02 assign
03 add
04 multiply
05 divide
06 subtract
07 clear
08 end
09 begin
0A loop
0B hello world
0C decrement
0D increment
0E string indicator
0F number indicator
10 middle
11 end loop
12 if
13 else if
14 else
15 ascii art smily face
16-1F address
20 goto
21 label
22 get input

This was invented by User:Twistle

Examples

Hello World!

0B

Cat program

Due to lack of documentation, this assumes that 0A and 11 function like a brainfuck-style loop.

22 0A 01 22 11

Truth-machine

Same assumptions as #Cat program, for the same reasons.

22 01 0A 01 11