[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Creating new slot options
- To: commonloops.pa@arisia.Xerox.COM
- Subject: Creating new slot options
- From: Michael DeBellis <debellis@andersen.com>
- Date: Mon, 22 May 89 17:05:10 CDT
- Redistributed: commonloops.pa
- Reply-to: <debellis%Andersen.COM%andersen.uucp@uunet.UU.NET>
I would like to add new options to slots. For example I would like
to be able to state the cardinality (legal number of values) and value-class
of a slot. I would like the value class to be much more than the :tyype
option since I want the system to take action when it encounters a value that
does not satisfy a value-class (e.g. warn the user and enable her/him to fix
it).
Essentially what I want is to add "facets" as they are used in KEE and
other Frame oriented languages. It seems to me that the best way to
do this is to create my own slot options. Is this possible? If possible
how difficult is it? Would I have to get into PCL internals? Is
there a better way to do it?
Thanks in Advance
Mike DeBellis