Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!orca!bambam!bpendlet From: bpendlet@bambam.dsd.es.com (Bob Pendleton) Newsgroups: comp.ai Subject: Re: Lisp Eval in C or C++ Message-ID: <1991Apr17.172059.19778@dsd.es.com> Date: 17 Apr 91 17:20:59 GMT References: <1991Apr4.182329.5513@searchtech.com> <1327@muffin.cme.nist.gov> Sender: usenet@dsd.es.com Reply-To: bpendlet@dsd.es.com Organization: Evans & Sutherland Design Systems Lines: 31 Nntp-Posting-Host: bambam-gw In article <1991Apr4.182329.5513@searchtech.com> belinda@searchtech.com (Belinda Hoshstrasser) writes: >Basically, what we need is something >that can evaluate constraints -- something similar to eval in Lisp. Has >anyone out there ever implemented eval in C or C++? Is there public domain >code to do this? If not, we would appreciate any advice or experiences from >anyone who has had face a similar problem. I missed the original posting, working takes so much time out of the day :-) So I'm not sure I'm answering the right question. Yes, I've written eval in C, and PASCAL, and once even in FORTRAN (shudder). It is pretty straight forward. Many years ago I was a TA in a class where we even coached a bunch of undergrads through writing a complete LISP interpreter. I'm currently working (slowly, it's a purely home based for fun project, anybody want to PAY me to do it :-) on a logo interpreter in c++. Creating trees of objects that evaluate themselves looks pretty easy, but I haven't finished it yet. If you have any questions I'd be glad to try to answer them. -- Bob Pendleton, speaking only for myself. bpendlet@dsd.es.com or decwrl!esunix!bpendlet or utah-cs!esunix!bpendlet Tools, not rules. P.S. If all else fails try bpendlet@bambam.dsd.es.com, mail is a little flaky right now.