support StandardML syntax

- support SML'97 syntax
- also support some implementation dependent keywords (e.g. lazy, _import)