APL parser written in Standard ML