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

# Re: Builtins [LPMOO]

- Date: Tue, 12 Sep 1995 05:49:48 PDT
- From:
- Cc: moo-cows@parc.xerox.com
- In-reply-to: Your message of "Mon, 11 Sep 1995 14:26:31 PDT." <Pine.SUN.3.91.950911172349.11571A-100000@kong.syr.edu>

    > If I load a DB that has builtins that LPMOO doesn't recognize, I hear
    > that it will still load ok, but what happens to the verbs with the
    > unknown builtins?  Is it simply not programmed?  (would be bad) Or does
    > the verb just fail when ya try to run it? (would be good)

    At present LPMOO will fail to load such a db, just like LambdaMOO.

    However, being able to load a db with unknown builtins has obvious advantages.
    I'd like to add this capability to LPMOO sometime in the future. The reason I
    haven't already is it's not obvious what should happen to the builtin call.

    Some random ideas:

      - refuse to program the verb, but continue loading the db
      - program the verb, replacing the unknown() with E_VERBNF:unknown()
      - program the verb, replacing the unknown() with "unknown()"
      - allow any unknown() to exist, but always raise E_VERBNF upon execution
      - allow any unknown() to exist, and bind the function at runtime; perhaps
        redirect it to #0:unknown()

    Comments? Suggestions?

    --
    Robert Leslie
    rob@ccs.neu.edu

Follow-Ups:

- Re: Builtins [LPMOO]

- From: Kipp the Kidd <mcmudge@mailbox.syr.edu>

- Re: Builtins [LPMOO]

- From: Chuck Adams <cadams@weather.brockport.edu>

- Re: Builtins [LPMOO]

- From: Ian Macintosh <ian@iman.internet.co.nz>

References:

- Builtins [LPMOO]

- From: Kipp the Kidd <mcmudge@mailbox.syr.edu>

- Prev: Builtins [LPMOO]
- Next: Re: Builtins [LPMOO]
- Index: MOO-cows
- Thread: MOO-cows

Home | Subject Index | Thread Index