[I7] parser goofiness

My guess is any problems stem from the elemental definition ‘Understand “look” as looking’ in the standard rules. Like some horrible army drill sergeant, I’d break this command down then build it back up again. So I’d add:

Understand the command "look" as something new.

to your source, and note that that line has to occur before any new definitions involving the word “look”. This eliminates all of the look grammar. Then add your new ‘looking up’ definitions, and also add back in the regular “look” stuff from the standard rules - except the really elemental one ‘Understand “look” as looking.’ In other words, add back only the following:

Understand "look at [something]" as examining. Understand "look [something]" as examining. Understand "look inside/in/into/through [something]" as searching. Understand "look under [something]" as looking under. Understand "look up [text] in [something]" as consulting it about (with nouns reversed). Understand the command "l" as "look".

You may need to massage things some more after, but I suspect this will fix your main parsing problems.

  • Wade