Cats and Boxes and its equation.
CatBox is little project based on this picture.
My motivation was to learn basics of monadic parsers, so I chose PureScript parsec with which I can build interactive game.
Model of the game can be described like:
Equation is either Box or Cat.
Cat is Cat.
Box is one or more Equations.
For this model I created special syntax, which can be described in extended Backus–Naur form like:
equation = box | cat ;
box = "[", equation, { equation }, "]" ;
cat = "😼" ;