MantisBT - I6 Library
View Issue Details
0000979I6 LibraryGeneralpublic2012-08-08 16:202019-04-09 02:17
DavidG 
DavidG 
normalmildalways
confirmedwon't fix 
6/11 
6/13 
0000979: TRACE should distinguish matched and inferred tokens
Originally reported by Mike Tarage as Issue L61119

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.
No tags attached.
Issue History
2012-08-08 16:20DavidGNew Issue
2012-10-07 18:16DavidGAssigned To => DavidG
2012-10-07 18:16DavidGStatusnew => assigned
2014-06-03 00:08DavidGNote Added: 0002860
2014-06-03 00:30DavidGNote Added: 0002861
2014-06-03 00:30DavidGStatusassigned => resolved
2014-06-03 00:30DavidGResolutionopen => won't fix
2014-07-23 19:14DavidGNote Added: 0002964
2014-07-23 19:14DavidGStatusresolved => confirmed
2014-08-21 09:49DavidGTarget Version6/12 => 6/13
2019-04-09 02:17DavidGNote Added: 0004849

Notes
(0002860)
DavidG   
2014-06-03 00:08   
https://web.archive.org/web/20110420031750/http://www.inform-fiction.org/patches/L61119.html [^]
(0002861)
DavidG   
2014-06-03 00:30   
I have no idea how to fix this. Impact of bug seems exceedingly minimal.
(0002964)
DavidG   
2014-07-23 19:14   
Re-opening in order to mark it for fixing in 6/13.
(0004849)
DavidG   
2019-04-09 02:17   
Also filed at https://gitlab.com/DavidGriffith/inform6lib/issues/62 [^]