Parser-based interactive fiction
Parser-based interactive fiction is a kind of interactive fiction in which the player types instructions, and the game's parser analyzes the instructions to determine what happens next. Typically, the player types commands like "Pull lever" or "Unlock the door with the golden key." A parser-based game is sometimes called a text adventure.
A parser game usually has an underlying world model that allows the player character to move from one location to another, examine scenery, and interact with objects.