Craftunge

From Esolang
Jump to navigation Jump to search
Not to be confused with CraftyFunge.

Craftunge is inspired by Befunge, and it is created by User:Esolangist. It is based on Minecraft blocks. It is 2d.

Commands Blocks

Craftunge commands
Block Meaning Symbol
Magenta Glazed Terracotta Changes the IP direction to the direction the block is facing. ^, v, <, >
Oak/Spruce/Birch/Acacia/Jungle/Bamboo/Mangrove/Pale oak/Crimson/Warped Log/Planks Pushes their "value". 0/1/2/3/4/5/6/7/8/9
Dropper Outputs the top value on the stack. .
Chest Takes input from the user and pushes it. (To input, you can either write a value on a sign or say the input using Minecraft chat.) ,
Oak sign saying (x) Basically "(x)" in Befunge "(x)"
any sign except oak saying (x) Comment. Not needed.
Slime block Skip over the next instruction. #
Honey block Slime block, but only works if the top of the stack isn't 0. %
Any concrete NOP. (space)
Any glass Mirror, works in every direction. ➕ (mirror shape, not +)
Red wool, Orange wool, Yellow wool, Lime wool, Green wool Plus, minus, multiply, divide, modulo. +, -, *, /, m
Light blue wool, Cyan wool Basically g and p in Befunge. g, p
Ender chest Duplicate the top value of the stack. :
Black wool Halt. @
Command block Enter debugger, aka output every value on the stack every time it is changed. B

Examples

Can someone make this for me?