HeXPlik̸͗̐̈́͝
Jump to navigation
Jump to search
HeXPlik̸͗̐̈́͝ is (kind of) based on Befunge and made by User:Esdraslov
Commands
HeXPlik̸͗̐̈́͝ is cell-based, and the cell pointer moves to the next cell everytime a write action is made.
Please note that any ... should be replaced.
HeXPlik̸͗̐̈́͝ works in hexadecimal, which means all values you put should be in hexadecimal
| Command | Action |
|---|---|
_...-
|
Defines a string. |
=
|
Executes the coding and setting the string pointer (starts at the end of the string). |
/
|
Ends the code snippet of =, a new line is require since anything after / on the same line is ignored.
|
p
|
Sets the current cell value to the character ASCII code which the string pointer is pointed at. |
<
|
Moves the string pointer backwords |
>
|
Moves the string pointer forwords |
~
|
Do the crazy operator with the value on the actual cell and stores on the actual cell |
$...;
|
Checks if the value on the current cell is the same as in between the $ and ;
|
(...)
|
A block of code |
{
|
Moves the pointer backwords |
}
|
Moves the pointer forward |
,
|
Gets the user input and stores it on the current cell |
.
|
Outputs the character that has the ASCII in the current cell |
[
|
From Brainfuck, jumps to the next ] if the current cell is 0
|
]
|
From Brainfuck, jumps to the previous [ if the current cell is not 0
|
§
|
Increments the current cell |
%
|
Decrements the current cell |
Crazy operator
The crazy operator is a bit strange as it should, here is it:
| Entry | Output |
|---|---|
| 0 | F |
| 1 | 6 |
| 2 | E |
| 3 | 8 |
| 4 | A |
| 5 | D |
| 6 | 1 |
| 7 | 0 |
| 8 | B |
| 9 | 7 |
| A | C |
| B | 5 |
| C | 9 |
| D | 3 |
| E | 4 |
| F | 8 |
Examples
Hello world in HeXPlik̸͗̐̈́͝ is this:
_!dlroW ,olleH-=p[<p]/
{{{{{{{{{{{{{[.}]
A truth machine (The code is imcomplete and possibly wrong):
,{$1;(§{§{§{{[}§{§{§{§{§{§{§{§{§{§{{%{{]}§[.])