As described by John Gruber:
Amazingly clever new app by Frank Krueger. “Calculator” just doesn’t do the concept justice — think Soulver crossed with Markdown crossed with an interactive shell. No explanation will do it justice, you need to look at the examples to get it. The iOS and Mac versions can even share documents via iCloud.