Inform - Support - Patches

About Patches  

Compiler  
Library  

DM4 Errata  

Issue L61119     [previous patch]

TRACE should distinguish matched and inferred tokens
Submitted by: Mike Tarage     Appeared in: Library 6/11 or before     Fixed in: -
Problem

When the parser partially matches a phrase, the TRACE command should not say "token resulted in success" for terms that it did not match but sucessfully inferred; instead it should state that those terms were inferred. This would avoid the phrase "token resulted in success" phrase meaning two different things -- actually matching and inferring. For example:

  > LOCK GATE

  [ "lock" lock / "gate" gate ]
  [ "yourself".grammar() ]
  [Parsing for the verb 'lock' (1 lines)]

  [line 0 * noun 'with' held -> Lock]
   [line 0 token 1 word 2 : noun]
    [Object list from word 2]
    [Calling NounDomain on location and actor]
     [NounDomain called at word 2
     seeking definite object
     [ND made 1 matches]
    [ND returned the gate]
    [token resulted in success]
   [line 0 token 2 word 3 : 'with']
    [token resulted in success] !! Here, it could say [inferred token; success] instead.
Solution

None submitted.


Last updated 17 April 2013. This site is no longer supported; information may be out of date.
Maintained as a historical archive by the Interactive Fiction Technology Foundation. Copyright 1993-2018 IFTF, CC-BY-SA unless otherwise noted.
This page was originally managed by Roger Firth.