# Parser Problem

Matt Pauker (mpauker@peganet.com)
Wed, 30 Aug 1995 13:11:41 PDT

- Messages sorted by:[ date ][ thread ][ subject ][ author ]

    At 11:45 AM 8/30/95, Coolin MacKaarmick wrote:
    >On Wed, 30 Aug 1995, Tom Ritchford wrote:
    >
    >[snip]
    >
    >> Once you've set the preposition to be none, there can be no
    >> iobjstr and iobj.  So @junk is really @junk this none none.
    >>
    >> In the second example, it tries to match the string "me nothing" against an
    >> object and fails.  Thus, the dobj is $nothing... but the dobj has to be
    >> "this" in order for the verb to match.  So no match and the error above.
    >
    >As I suspected.  The crux of my question is whether there is a workaround
    >or if there is an inherent proscription on constructs such as "@pay bob
    >$10."  I doubt it (a workaround), but maybe someone's been very, very
    >clever.
    >
    >Ideas?
    >
    >Colin
    >

    You could define the verb with the arguments: any any none, and instead of
    checking iobjstr, check prepstr, which ought to be your "$10", in your
    example.

    Matt Pauker