ADRIFT Forum


The place to discuss the ADRIFT Interactive Fiction toolkit

ADRIFT Parser - What is the Problem?

This forum is the place to discuss the older ADRIFT versions 3.9 and 4.0.

Please refer to the ADRIFT 4 Manual for more information.

Postby vulture » Wed Feb 23, 2011 1:28 am

I've read in a few places that the ADRIFT command parser is a problem. What exactly is the problem? Something to do with pattern matching? Thanks.
vulture
 
Posts: 11
Joined: Tue Feb 22, 2011 10:10 pm

Postby ralphmerridew » Thu Feb 24, 2011 4:38 am

The big one is that any overrides are based around the exact text entered, as opposed to the meaning of the command.

For example, suppose a game contains a diary and a dictionary.

Consider these situations:

A) The player holds the dictionary; the diary is in another room; the player types "READ BOOK".
B) The player holds the diary; the dictionary is in another room; the player types "READ BOOK".
C) The player holds both and types "READ DIARY".

Which of these cases will you handle similarly?

ADRIFT 4 makes it very easy to handle cases A and B the same way (the player typed "READ BOOK" in both cases), while handling case C differently.
Inform, TADS, Hugo and (I think) ADRIFT 5 handle B and C the same way (the player wanted to read the diary), while handling case A differently.
Bloodhounds can make you laugh and cuss in the same breath. They are endearing, faithful, and can sling drool ten feet in any direction. -- Virginia Lanier
User avatar
ralphmerridew
 
Posts: 2558
Joined: Fri Dec 13, 2002 11:56 pm
Location: Missouri
Points: 10


Return to ADRIFT 3.9 and 4.0

Who is online

Users browsing this forum: No registered users and 9 guests