HZfunge
Jump to navigation
Jump to search
The Befunge written by Chinese Characters.
Commands
HZfunge | Befunge | English Mean |
---|---|---|
加 |
+ |
Plus |
减 |
- |
Minus |
乘 |
* |
Times |
除 |
/ |
Divide |
余 |
% |
Modulo |
非 |
! |
Not |
大 |
` |
Bigger |
右 |
> |
Right |
左 |
< |
Left |
上 |
^ |
Up |
下 |
v |
Down |
乱 |
? |
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 |
The playfield of HZfunge is 10000x100.
Examples
Basic
Hello, world
Basic
"。在好地天问"右双桥写横终
Without string reverse
右 下 下 "问天地好在。" 左 右双下 上写横终
Cat program
读双一加非桥终横写
Truth Machine
听桥双双横写终桥
A+B
听听加说终
Algorithm
Sieve of Eratosthenes
二右双三取" "减非下双 取三零 左 数非大"O"双加一下双说双零三置右零三取加双"O"非数 终 上 置三换" "双左 二 二三四五六七八九〇一二三四五六七八九〇一二三四五六七八九〇一二三四五六七八九〇一二三四五六七八九〇一二三四五六七八九〇一二三四五六七八九〇一二三四五六七八九
Implementation
If you want to write a implementer for this Esolang, please reference the implementation of Befunge. Thank you!