We are currently working on new rules that expand the scope of this website to allow more content, and are looking for feedback! See Esolanging:2026 topicality proposal to view and give feedback on the current draft.
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 | |
::::::::: :;#####;: :;#####;: ::::::::: |
Full piece | |||
::::. :;###;,,_ :;#####;: ::::::::: |
.:::: _,,;###;: :;#####;: ::::::::: |
::::::::: :;#####;: :;###;''` ::::. |
:::::::::
:;#####;:
`'';###;:
.::::
|
Three-fourths eaten piece |
:::::, :;###;` :;###;, :::::' |
,::::: `;###;: ,;###;: '::::: |
Horizontal half eaten piece | ||
,;~~~~~;, :;#####;: ::::::::: |
::::::::: :;#####;: ';"~"~";' |
Vertical half eaten piece | ||
.,oOoOo,. ::::::::: |
::::::::: `"!"!"!"` |
Vertical quarter eaten piece | ||
Examples
XKCD Random Number
:::::::::::::::::: :;#####;::;#####;: :;#####;::;#####;: :::::::::::::::::: :;#####;::;#####;: :;#####;::;#####;: :::::::::::::::::: :;#####;::;#####;: :;#####;::;#####;: :::::::::::::::::: :;#####;::;#####;: :;#####;::;#####;: ::::::::::::::::::