I'm working on modernizing Rosetta Code's infrastructure. Starting with communications. Please accept this time-limited open invite to RC's Slack.. --Michael Mol (talk) 20:59, 30 May 2020 (UTC)


From Rosetta Code
(Redirected from Beeswax)
This programming language may be used to instruct a computer to perform a task.
See Also:

Listed below are all of the tasks on Rosetta Code which have been solved using Beeswax.
Your Help Needed
If you know Beeswax, please write code for some of the tasks not implemented in Beeswax.

beeswax is a stack-based 2 dimensional esoteric programming language developed by user:Albedo (Manuel Lohmann). Beeswax draws inspiration from bees moving around on a honeycomb, and is partly inspired by languages like Cardinal etc. The instruction pointers (bees) move around on a 2D hexagonal grid (the honeycomb). beeswax programs can manipulate their own source code, change the program size, and can read and write files. beeswax programs are stored in a rectangular grid with a 6-neigborhood. β depicts a bee/instruction pointer.


analogous to

   2 — 1
  / \ / \
 3 — β — 0
  \ / \ /
   4 — 5

Bees can perform all kinds of arithmetic operations, jumps, code modifications etc. Each bee carries a fixed-size stack of length 3 and can store or retrieve data by interacting either with the global stack (of arbitrary size) or the honeycomb/source code itself.

Data on the global stack can be written to files on disk, and global stack contents can be written to files on disk.

All data in the local and global stacks are unsigned 64-bit integers, output as characters uses UTF8 encoding.

More information[edit]

Reference implementation, example programs and complete language specification[edit]