Follow TV Tropes


Text Parser

Go To

>Describe Text Parser here.

I don't know the word "Describe".

>ask TV Tropes about Text Parser

A text parser is a form of input that takes commands from the player and simplifies this to commands that the game engine can understand. It is commonly found in Adventure Games and Interactive Fiction, where it is used to control the actions of characters and influence the in-game environment. Using the parser to control an in-game story is one of the main elements that blurs the line between the story as narrative and as game.

>list examples

I don't know the word "list".

>look examples

You see no examples!

>get examples

You can't get ye examples.

>get fucking examples

Such language!


It is probably better to ask a better parser, such as those used in the classic Infocom Interactive Fiction games and the later works created by hobbyists.

>find examples

Perhaps you should ask a troper.

>ask TV Tropes about examples

You're reading one right now. More examples aren't really necessary, because the point has been made. How well a text parser responds to your input depends on how well it's designed, and what commands the author of the game has anticipated. Clever enough authors will code in all sorts of clever responses to strange things you might try, and will make sure every reasonable synonym is included so you won't have too much trouble guessing the verb.

One example that does bear mentioning (if only for its odd aversion of 'guess the verb' syndrome) occurred in Al Lowe's Leisure Suit Larry 2: not long after the game's release, it was discovered that at a certain point (and only at that specific point), an error made during the testing phase had caused the parser to only recognized the plot-important command if it was written in full and complete English.

>ask TV Tropes about text parser history

The text parser really got started with Crowther and Wood's Colossal Cave Adventure, but it was not until Zork came along that more advanced forms of the parser came along. The parser used in the classic Infocom games was called ZIL (Zork Interactive Language). The text parser gradually disappeared from commercial computer gaming in the early 1990s (replaced by Action Bar and Point and Click interfaces) as game designers wished to reach a different demographic. Fortunately for text fans, a large number of hobbyists have continued to design text parser based Interactive Fiction. If you'd like to know more, check out the Interactive Fiction article here on TV Tropes.

>leave page

Towards where?


You head south only to tumble helplessly into an oddly-placed sinkhole. The concussion you suffered on impact proves fatal. Your final thoughts as you breathe your last are filled with nothing but regret for spending your last moments on this website.

Play again? Y/N

Please do not add examples to work pages; this merely defines the term.