Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000979I6 LibraryGeneralpublic2012-08-08 16:202019-04-09 02:17
ReporterDavidG 
Assigned ToDavidG 
PrioritynormalSeveritymildReproducibilityalways
StatusconfirmedResolutionwon't fix 
PlatformOSOS Version
Product Version6/11 
Target Version6/13Fixed in Version 
Summary0000979: TRACE should distinguish matched and inferred tokens
DescriptionOriginally 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:

Minimal Source Text To Reproduce
  > 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.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0002860)
DavidG (developer)
2014-06-03 00:08

https://web.archive.org/web/20110420031750/http://www.inform-fiction.org/patches/L61119.html [^]
(0002861)
DavidG (developer)
2014-06-03 00:30

I have no idea how to fix this. Impact of bug seems exceedingly minimal.
(0002964)
DavidG (developer)
2014-07-23 19:14

Re-opening in order to mark it for fixing in 6/13.
(0004849)
DavidG (developer)
2019-04-09 02:17

Also filed at https://gitlab.com/DavidGriffith/inform6lib/issues/62 [^]

- Issue History
Date Modified Username Field Change
2012-08-08 16:20 DavidG New Issue
2012-10-07 18:16 DavidG Assigned To => DavidG
2012-10-07 18:16 DavidG Status new => assigned
2014-06-03 00:08 DavidG Note Added: 0002860
2014-06-03 00:30 DavidG Note Added: 0002861
2014-06-03 00:30 DavidG Status assigned => resolved
2014-06-03 00:30 DavidG Resolution open => won't fix
2014-07-23 19:14 DavidG Note Added: 0002964
2014-07-23 19:14 DavidG Status resolved => confirmed
2014-08-21 09:49 DavidG Target Version 6/12 => 6/13
2019-04-09 02:17 DavidG Note Added: 0004849


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker