A calc mode

ref: [AVNPC](http://avnpc.com/pages/devlang)