HZ3funge
Jump to navigation
Jump to search
HZ3funge is an Esolang designed by PSTF. It is designed for even complex Befunge.
Syntax
Basic syntax
Every layer must saved as a file, just like these:
- Sample program
- layer1.h3f
- layer2.h3f
- layer3.h3f
- ……
- main.exe
All layers must named with "layerN.h3f".
When a program saved, the main.exe is also generated. Run main.exe to execute whole program.
Command Table
HZfunge | Befunge/Trefunge | English Mean |
---|---|---|
加 |
+ |
Plus |
减 |
- |
Minus |
乘 |
* |
Times |
除 |
/ |
Divide |
余 |
% |
Modulo |
非 |
! |
Not |
大 |
` |
Bigger |
东 |
> |
East |
西 |
< |
West |
南 |
v |
South |
北 |
^ |
North |
乱 |
? |
Chaos |
横 |
_ |
Horizontal |
竖 |
| |
Vertical |
" |
" |
Quote |
双 |
: |
Double |
换 |
\ |
Swap |
灭 |
$ |
Destroy |
写 |
, |
Write |
读 |
~ |
Read |
听 |
& |
Listen |
说 |
. |
Speak |
桥 |
# |
Bridge |
|
|
(SP) |
终 |
@ |
End |
置 |
p |
Put |
取 |
g |
Get |
零一二三四五六七八九 (Note that 零 can be 〇.) |
0123456789 |
Zero, one, two, three, four, five, six, seven, eight, nine |
十 |
a |
Ten |
廿 |
aa+ |
Twenty |
卅 |
a3* |
Thirty |
卌 |
85* |
Forty |
圩 |
a5* |
Fifty |
圆 |
c5* |
Sixty |
进 |
e5* |
Seventy |
枯 |
a8* |
Eighty |
枠 |
a9* |
Ninety |
百 |
aa* |
Hundred |
千 |
aa*a* |
1,000 |
万 |
aa*a*a* |
10,000 |
翻 |
r |
Flip |
天 |
h |
Heaven |
地 |
l |
Earth |
纵 |
m |
Longitudinal |
嘭 |
n |
Boom |
甲 |
b |
First |
乙 |
c |
Second |
丙 |
d |
Third |
丁 |
e |
Fourth |
戊 |
f |
Fifth |
己 |
82* |
Sixth |
庚 |
a7+ |
Seventh |
辛 |
92* |
Eighth |
壬 |
a9+ |
Ninth |
癸 |
45* |
Tenth |
跳 |
; |
Jump |
空 |
z |
Null |
方 |
:* |
Square |
块 |
::** |
Block |
Samples
Hello, world!
Layer 1
东 北 北 "问天地好在。" 西 东双北 南写横终
(A+B)×C Problem
Layer 1
地 东听乘地
Layer 2
东听听加天 东说终
Truth Machine
Layer 1
听桥双双横说终桥