HZfunge

From Esolang
Jump to navigation Jump to search

The Befunge written by Chinese Characters.

Commands

Command list
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!

See also

Categories