My solution to this problem is to use a general purpose language in an interactive console (IPython).