Embed IF text parser in another game?

Posted by DragonFax on Game Development See other posts from Game Development or by DragonFax
Published on 2012-10-04T23:06:55Z Indexed on 2012/10/05 3:52 UTC
Read the original article Hit count: 293

Are there any existing interactive fiction text parsing engines that I can embed in another game or application?

I'm looking to use something as a library. I can pass it the available objects and verbs from my own side. It will parse the sentences from the user and give me back some sort of structure/AST describing what the user asked for. Then my own code can then act upon that request.

I don't need something SIRI level. The simple sentences and actions that current IF games support is fine. But I'm not looking to write a whole text/sentence parser myself.

This isn't an If game and I can't write it entirely in an interactive-fiction language like inform 7. Unfortunatly, I can't seem to find any examples of anyone using the text parsing capabilities of these engines without writing the entire game in that engine's language.

© Game Development or respective owner

Related posts about text-based

Related posts about interactive-fiction