Since I dabbled in wanting to learn Prolog for the umteenth time a few days ago, I can't help but notice that this looks like something which could be a nice challenge to implement in Prolog.
I also envy jugglers for this simple notation. I am into flow arts, in particular Poi, and would love to have a simple notation like this.