Hixgred
Jump to navigation
Jump to search
Hixgred is an Esoteric programming language created by User:Buckets in 2025.
(The Coordinates of A Hexe is Just it's Index, The first Hexe is Index 0, The first line is 0.)
Commands | Instructions |
---|---|
"" | Prints What is Entered within the Quotes, Including Whitespace. |
Trap | Go to the Current cell Number Into a line, Which has to be Less Than The Current Line number. |
Escape | Go to Current cell Number Into a line, Which has to be Greater Than The Current Line number, but Only when Either in a Trap loop or a ¿ ?g Loop, Otherwise It will Halt the Program. |
a | Set the Current Cell to a. |
b+ | Change the current Cell by b. |
c- | Change the current Cell by -c. |
d* | Multiply by d to the current Cell. |
e/ | Divide by e Upon the Current Cell. |
f% | Mod f on Current cell. |
?g | If The current cell = g, Go to the Matching ¿ Before this Command. |
¿ | Noop. |
Hixgred h i | Create a Hexgrid With the Dimentions, h i(, this is Rectangular). |
Hexgrid j k l | Create a Hexgrid with the Dimentions, j k l(, this is Hexagonal). |
Hexgred m | Create a Hexgrid In the Shape of a Hexagon with the Size of m. |
Hixgrid n | Create a Hexgrid In the Shape of a Hexagon with the Size of n. |
Print the Current Hexgrid. | |
AH | Find A pair of Adjacent hexes and Set it to the Current cell with The first one to its Coordinates then Move left on the tape then Sets the Second Hexe as its coordinates on the Tape then Go back to the right upon the tape. |
< | Move left on the tape. |
> | Move Right upon the tape. |
FHW | Find A Third Hexe for a pair of Adjacent Hexes, by The coordinates stated By the Current cell's number. |
Up | Veiw the pair As "Upwards". |
Rotright | Rotate the viewing To the right. |
Rotleft | Rotate the viewing To the Left. |
Hexel | Set the Hexe's leftmost value into The Current cell, of the Selected pair. |
Hexer | Set the Hexe's rightmost value into The Current cell, Of The selected Pair. |
Set to o | Set the Current Hexe selected to o. |
Select p | Select the Hexe at the Coordinates of p. |
Input | Asks the User for an Input and pushes it Upon the Current cell. |
Pritn | Prints The current Cell's Number as ASCII. |
Cat program:
3Escape0Trap ¿9Escape Input?0Pritn3Trap0Trap
"Hello, World!" Program:
"Hello, World!" Escape
Truth-machine Program:
1Escape0Trap¿"0"4Escape Input?0¿>3Escape?0¿ "1"2Trap <?1 Escape
A+B Problem:
Input>Input< 2Escape0Trap¿>Pritn3Escape ?01->1+<2Trap Escape