RE: Project update

Nuzzo Art-CINT116 <[email protected]> Wed, 3 Apr 2002 08:23:14 -0600
Newsgroups gmane.lisp.lisa.general
Message-ID <[email protected]>
> > >
> > > I'm debating the future of DEFTEMPLATE...
> 
> > I would tend to agree for new development but by keeping it might
> > make it easier port something written in Clips to LISA.  So 
> my thought
> > 
> > would be to keep it unless it adds a lot of overhead for you and/or
> > the code...
> 
> That's a good enough reason. Now, what about queries? Currently, 
> queries only work on CLOS objects because templates aren't really 
> backed internally by a corresponding class. I was thinking of 
> changing 
> this and having DEFTEMPLATE create a usable class that contains 
> accessors with the same names as their corresponding slots. Then, 
> queries will work with either.
> 
> -- 
> 

Ah, that's a tougher question.  

I think it really gets down to if you represent information as facts or
instances.  In 
Clips I would choose based on what I was trying to do since each had it own
functionality, such as you can make queries on instances.  Sometimes I would
use both (which probably isn't a very good idea) to simplify what I was
trying to do.

Adding query capability on template would add capability that is not
currently in Clips. I guess I would make the same recommendation.  If it's
not a lot of overhead for you and/or the code I would recommend it. 



Art