# Inverse parser

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/Inverse_parser
> Markdown URL: https://mediated.wiki/source/Inverse_parser.md
> Source: https://en.wikipedia.org/wiki/Inverse_parser
> Source revision: 1118765981
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

An '''inverse parser''', as its name suggests, is a [parser](/source/parser) that works in reverse. Rather than the user typing into the computer, the computer presents a list of words fitting the context, and excludes words that would be unreasonable. This ensures the user knows all of their options. The concept and an implementation were originally developed and [patent](/source/patent)ed by [Texas Instruments](/source/Texas_Instruments). A few years later, it was independently developed by [Chris Crawford](/source/Chris_Crawford_(game_designer)), a game designer, for his game, [Trust & Betrayal: The Legacy of Siboot](/source/Trust_%26_Betrayal%3A_The_Legacy_of_Siboot), but the implementation was different enough not to infringe on the patent.
==See also==
* [Parser generator](/source/Parser_generator)

==External links==
* [https://web.archive.org/web/20150131190937/http://www.erasmatazz.com/library/the-journal-of-computer/jcgd-volume-6/how-to-build-an-inverse.html How to Build an Inverse Parser], an essay by Chris Crawford originally published in the [Journal of Computer Game Design](/source/Journal_of_Computer_Game_Design)

Category:Parsing

{{comp-sci-stub}}

---
Adapted from the Wikipedia article [Inverse parser](https://en.wikipedia.org/wiki/Inverse_parser) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/Inverse_parser?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
