Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!comp.vuw.ac.nz!news From: L.Parkes@comp.vuw.ac.nz (Lloyd Parkes) Newsgroups: comp.lang.lisp.x Subject: A few questions from a hacker. Message-ID: <1990Aug27.001721.9563@comp.vuw.ac.nz> Date: 27 Aug 90 00:17:21 GMT Sender: news@comp.vuw.ac.nz (News Admin) Organization: Victoria University of Wellington, Wellington, New Zealand Lines: 30 I am currently working on an OO database engine for a MUD. I have decided to use xlisp for this (I need OO more than database stuff). I have a couple of questions though. 1) Why does xset() call setvalue(), while xsetq() calls xlsetvalue() to do it's work? As things stand at the moment, set will only set the global value of a symbol. 2) Why doesn't xlobget/setvalue search the ivars of the object being sent the message, when looking for local bindings of symbols? Why should it? I wanted to hack things for my OO system. The way I have done it is to check the ivars of the recieving object after the other ivars & cvars have been checked. This means I may scope out a global symbol from a method if a child class has an ivar with the same name, but at least I won't scope out an ivar or cvar that used to be in scope. Lloyd p.s. I know #2 isn't all that wonderfull, but it does let you hack things, particularly with #1. p.p.s I am an xlisp neophyte, but I am very good at C. -- ------------------------------------------------------------------------ Lloyd Parkes | lloyd@comp.vuw.ac.nz | ------------------------------------------------------------------------