Langauge parser for text adventure commands