Difference between revisions of "Parser"

From IFWiki
Jump to: navigation, search
(fix link)
(Links)
(One intermediate revision by the same user not shown)
Line 19: Line 19:
 
** [http://emshort.wordpress.com/2010/06/10/parser-discussion-redux/ Parser Discussion, Redux] by Emily Short.
 
** [http://emshort.wordpress.com/2010/06/10/parser-discussion-redux/ Parser Discussion, Redux] by Emily Short.
 
** [http://horacetorys.weebly.com/1/post/2010/06/simple-if-interfaces.html Simple IF Interfaces] by [[Horace Torys]].
 
** [http://horacetorys.weebly.com/1/post/2010/06/simple-if-interfaces.html Simple IF Interfaces] by [[Horace Torys]].
 +
* [http://emshort.wordpress.com/2016/04/15/writing-novice-friendly-parser-games/ Writing Novice-friendly Parser Games] by [[Emily Short]], April 2016.
 +
* [http://heterogenoustasks.wordpress.com/2016/05/18/narrow-parsers/ Narrow Parsers] by [[Sam Kabo Ashwell]], May 2016. Discusses narrowing the range of available verbs in a parser game.
 
* [http://tvtropes.org/pmwiki/pmwiki.php/Main/TextParser Text Parser] at TV Tropes Wiki.
 
* [http://tvtropes.org/pmwiki/pmwiki.php/Main/TextParser Text Parser] at TV Tropes Wiki.
  
 
[[Category:Glossary]] [[Category:Parser]]
 
[[Category:Glossary]] [[Category:Parser]]

Revision as of 18:20, 23 May 2016

For the German publication, see The Parser.

A computer program or portion of a program that analyzes a string of characters in order to recognize grammatical units. Joseph Weizenbaum's Eliza (1966) and Terry Winograd's SHRDLU (c.1970) are two of the best-known early interactive programs that had parsers.

Early IF, including the original Adventure, used a two-word parser that only looked at the first few characters of each word. More recent IF parsers, following the lead of Dungeon aka Zork, have an Infocom-type parser that can understand longer words and more complex commands, but the genre is still a long way from using natural language processing to achieve complete understanding of all English inputs.

Modern IF programming languages include a parser as part of the authoring system, removing the need for the programmer to write a homebrew parser. Authoring systems for writing parser-based interactive fiction include Inform 7, Quest, TADS, and ADRIFT, among others.


Links