[Prev][Next][Index][Thread]

# Re: Wish list

- Date: Tue, 29 Aug 1995 15:41:00 PDT
- From:
- Cc: moo-cows@parc.xerox.com
- Content-Type: text/plain; charset="us-ascii"

    >Further wishlist stuff:
    >
    >@prop #100.newprop #99.oldprop
    >throw ball at #100.someprop
    >etc.
    >
    >... i.e. some more subtle interpretation by parser.
    >
    >Colin

    I've added an 'eval' type matching to the match stack, allowing you do so
    things like this:

    look `#~munchkin.location.owner.location`

    @examine `$code_utils:help_db_list()[1]`

    Note that I chose to use the backtick, since it's one character (easy to find
     and parse out) and that is what some UNIX shells use.  If you want, you could
     use $(...) if you so desired.

    There is a problem with @display tho:

    @display `$code_utils:help_db_list()[1]`.

    which will tell you can't find "`$code_utils", but this has to do with how
     @display handles object matching. Herf.

    Code examples are avaiable from:

    http://tecfa.unige.ch:4243/code/$player:my_match_eval
    http://tecfa.unige.ch:4243/code/$string_utils:match_eval
    http://tecfa.unige.ch:4243/code/$string_utils:match_object/10-16

    (shit, and you thought I was going to post the code!?)

    Concerning better matching:

    >The goal is -not- to have the server do complex parsing.  I've found it
    >irritating that the server doesn't know the properties directly defined
    >on #0 so I can refer to them in commands, but the solution is to do the
    >object-matching in-DB.  (Recall that not every Core defines its objects
    >as offshoots of #0; that's a LambdaCore thing.)

    I noticed a while ago that the standard server:

    drop $thing

    will match $thing:drop fine (assume that the huh stack didn't catch it), but

    last 15 on $guest_log

    won't work, you'd need to use the actual object number instead of
     $guest_log.  Apparently it matches core objects in the dobj but not the
     iobj.  I'm going to look into this again tho.

    Something else you might want to check out:
    http://tecfa.unige.ch:4243/in-db-parser
    http://tecfa.unige.ch:4243/help/arguments

    I plan on making it publicly avaiable some time soon.
      ______                              __
        /   /  Andy Bakun     _/_      / /  `  /)  /)       _/_
     --/   /_  , , , __.  __  /  _  __/ /--   //  //  __,_  /  _
    (_/   / /_(_(_/_(_/|_/ (_<__</_(_/ (___, //__//__(_) (_<__/_)_
      How much head could a bonehead bone   />  />
        if a bonehead could bone head?     //  //
      http://shrike.depaul.edu/~abakun/   </  </

- Prev: Re: Wish list
- Next: Re: Wish list
- Index: MOO-cows
- Thread: MOO-cows

Home | Subject Index | Thread Index