Draft:Chocolate

From Esolanging
Jump to navigationJump to search

Chocolate is an esoteric programming language by User:AnalysisOfVariance in 2026.

Overview

Programs are shaped like chocolate bars made of this piece:

:::::::::
:;#####;:
:;#####;:
:::::::::

It joins vertically and horizontally. However, joining vertically makes it share its vertical edges unlike the horizontal edges.

Below are the different variations of the piece. They can be flipped to reveal their left symmetries and their down symmetries..

Down Up Name
Left Right Left Right Name
:::::::::
:;#####;:
:;#####;:
:::::::::
Full piece
::::.
:;###;,,_
:;#####;:
:::::::::
    .::::
_,,;###;:
:;#####;:
:::::::::
:::::::::
:;#####;:
:;###;''`
::::.
:::::::::
:;#####;:
`'';###;:
    .::::
Three-fourths eaten piece
:::::,
:;###;`
:;###;,
:::::'
 ,:::::
`;###;:
,;###;:
 ':::::
Half eaten piece

,;~~~~~;,
:;#####;:
:::::::::
:::::::::
:;#####;:
';"~"~";'

Lower half eaten piece


.,oOoOo,.
:::::::::
:::::::::
`"!"!"!"`
Lower quarter eaten piece

Examples

XKCD Random Number

::::::::::::::::::
:;#####;::;#####;:
:;#####;::;#####;:
::::::::::::::::::
:;#####;::;#####;:
:;#####;::;#####;:
::::::::::::::::::
:;#####;::;#####;:
:;#####;::;#####;:
::::::::::::::::::
:;#####;::;#####;:
:;#####;::;#####;:
::::::::::::::::::