HDTenEightyP/NetNews huggingface dataset:
From: jeff@aiai.ed.ac.uk (Jeff Dalton)
Newsgroups: comp.lang.lisp
Subject: Re: paip [Re: #'reduce]
Date: 9 Nov 92 16:48:50 GMT
Organization: AIAI, University of Edinburgh, Scotland

In article <OZ.92Nov6120318@ursa.sis.yorku.ca> oz@ursa.sis.yorku.ca (Ozan Yigit) writes:
>Jeff Dalton writes:
>
>   But while we're here, what is the status of the code in that book?
>   What are people who read the book allowed to use it for?
>
>He made the code freely available, for ftp. [the scheme repository
>has it as well] sources contain a simple copyright, with no gratuituous
>restrictions, so I assume you use them just like you use any other
>source distributed publically with a copyright. [Peter?]

Copyright comes with a bunch of restrictions automatically, though
I'm not sure exactly what they imply for code.  The way things are
going these days, I'd be very cautious about using any copyrighted
code in a commercial product unless very explicit permission was
granted; and I'm not sure academic use is any less restricted
(it's just that the consequences of things going wrong are probably
less).

But I don't really know what the rules are for books that contain
code.  For instance, if I look up an algorithm in a book, can I
use the code in the book as-is or do I have to make gratuitous
changes or what?

-- jeff
From: Kirt.Undercoffer@f615.n109.z1.fidonet.org (Kirt Undercoffer)
Sender: Uucp@blkcat.UUCP
Newsgroups: comp.lang.lisp
Subject: Satisfiability program available, common lisp
Date: Tue, 10 Nov 1992 12:17:14 -0500

 DP> I'm very interested in "in practice" kinds of instances.  I wonder how
 DP> hard the NP-complete instances that actually arise in areas outside of
 DP> CS theory really are.

 DP> If you'd like to trade "hard" instances, let me know.
 
A real project at the Department of Agriculture gave rise to the Traveling
Salesman Problem.  The project was a dBase or Clipper implementation of a
varient of TSP - given n people and x locations and z,c,v constraints what is
the optimum path during their day they need to take to visit a series of points?
 Even with a realtively low number of constraints this problem was practically
unsolveable as originally formulated (obviously - the program churned for three
days or so to produce a path for one person - later the problem was
simplified).

Xref: sparky comp.lang.lisp:2868 news.answers:3955
From: pirinen@cc.helsinki.fi
Newsgroups: comp.lang.lisp
Subject: Re: Adding FUNCTION to a shallow-binding interp.
Summary: external value cells
Keywords: closure shallow-binding
Date: 12 Nov 92 12:42:42 GMT
Organization: University of Helsinki

In article <1992Nov2.182028.22168@uk03.bull.co.uk>, bbirch@hemel.bull.co.uk (Bill Birch) writes:
> I have a shallow-binding interpreter, which has no lexical closure. 
> My attempts to implement (function ) have been only partially succesful,
> am I right in assuming that this is impossible?
You're right: it is impossible with the tools you're using.  Basically,
since the same name should have different bindings in each different
scope, you need a distinct storage location for each, and SETQ of a
local variable has to know about them.  A good test case is:

(defun two-functions(&aux x)
  (list #'(lambda () x) #'(lambda (y) (setq x y))))

Each call of TWO-FUNCTIONS has to create a new binding of X, which the
two functions share.

The standard solution for shallow-binding systems is external value
cells: a closed-over variable has a pointer to an external value cell,
which is a dynamically allocated object that holds the value of the
variable in that scope; each closure has a list of variables it closes
over and their external value cells.  For example, TWO-FUNCTIONS might
return something like this:

(#<closure (lambda () x) ((x . #1=#<external-value-cell nil))>
 #<closure (lambda (y) (setq x y)) ((x . #1#))>)

with new closures containing a new external value cell for each
invocation.  There are quite a few pitfalls in getting closures just
right, good luck!
___
Pekka P. Pirinen           pekka.pirinen@helsinki.fi
Lisp implementor
Newsgroups: comp.lang.lisp
From: liz@grian.cps.altadena.ca.us (Liz Allen)
Subject: Re: forward-chaining, Rete-type, OPS5-like packages available ?
Summary: check out YAPS
Organization: College Park Software, Altadena, CA
Date: Fri, 13 Nov 1992 00:49:50 GMT

secrist@kxovax.enet.dec.com (Strong datatypes for weak minds.) writes:

>	Has there been a summary or news conference of forward-chaining,
>	Rete-type, OPS5-like packages that are available in LISP ?

>	Something like Forgy's OPS5, only simpler and/or in Scheme ?

You might want to check out YAPS, a production rule language we sell
which provides rule-based programming.  The syntax is simpler than
OPS5, but YAPS is more powerful in that it provides the YAPS-KB class
which you can include in your CLOS classes.  Then instances of your
classes have their own knowledge bases (facts and rules) attached to
them.  So, you associate with each objects the rules and facts that
pertain to that object.  This turns out to be a good way to modularize
your rules.

If you're interested in YAPS, send me your address, and I'll send you
literature.
-- 
		- Liz Allen	liz@grian.cps.altadena.ca.us
				ames!elroy!grian!liz
"God is light; in him there is no darkness at all." -- 1 John 1:5b
Xref: sparky comp.lang.lisp:2867 news.answers:3954
From: pnorvig@norvig.Eng.Sun.COM (Peter Norvig - Sun BOS SunLabs)
Newsgroups: comp.lang.lisp
Subject: Re: paip copyright restriction
Date: 6 Nov 1992 20:21:53 GMT
Organization: Sun Microsystems Inc. - BDC
NNTP-Posting-Host: norvig.east.sun.com

My understanding and intent is that the copyright on the code has the
same status as the copyright on a book or article: it allows you the
reader to make whatever personal use of it you want, but you can't
sell it without my permission.  (If someone does want to use my code
in a commercial application, I'd be happy to negotiate something.)
It may be that the copyright technically prohibits you from passing on
free copies also, but that was not my intent: I placed the code in a
public place so that it would be used, and if any reader wants to give a
free copy to someone else, you hereby have my permission.

Note that copyright does not cover ideas, only their expression, so if you 
reimplement the code its yours.  Also note that these are my impressions,
with no legal advice, so I could be all wrong.

______________________________________________________________________
Peter Norvig				Tel: (508) 671-0508
Sun Microsystems Laboratories		Fax: (508) 671-0432
Two Federal Street			Email: Peter.Norvig@East.Sun.COM
Billerica MA 01821 USA
______________________________________________________________________
From: mev@systems.ryazan.su (Melehov Eugeny Vladimirovich)
Newsgroups: comp.lang.lisp
Subject: HELP! I need LISP for AT 286,see letter.
Date: Thu, 05 Nov 92 18:28:37 -0500
Distribution: world
Organization: Systems & Service  Co
Reply-To: mev@systems.ryazan.su

I need LISR->C translator and/or LISP compiler to native code and/or
 fast interpreter . Sorry ,but I can't buy  this products because
 I'm student from Russia and havn't $ etc.
 ----
 - Melehov Eugene V.
mev@systems.ryazan.su
From: barmar@think.com (Barry Margolin)
Newsgroups: comp.lang.lisp
Subject: Re: packages (novice question)
Date: 13 Nov 1992 17:25:54 GMT
Organization: Thinking Machines Corporation, Cambridge MA, USA
NNTP-Posting-Host: telecaster.think.com
Keywords: init, package, loading

In article <1992Nov12.224056.6064@aau.dk> psykseth@aau.dk (Seth Chaiklin) writes:
>Is it possible to write an init file (or use a command-line option)
>that will execute an (in-package 'package) when lisp is started.
>I have read friendly manuals, and experimented, but come up blank.
>(I will not object if the answer comes in a slightly didactic or
>tutorial form. (-: )

If your goal is to set the package so that it will be the default when you
enter the read-eval-print loop, this cannot be done portably, and probably
not at all in most CL implementations (the only one I know how to do it in
is Symbolics).  The reason is that LOAD binds *PACKAGE*, so when Lisp is
done loading your init file it will restore the package back to its initial
value.
-- 
Barry Margolin
System Manager, Thinking Machines Corp.

barmar@think.com          {uunet,harvard}!think!barmar
From: kend@data.rain.com (Ken Dickey)
Newsgroups: comp.lang.lisp
Subject: Re: Parallel Lisp
Keywords: Lisp parallel-programming network-programming
Date: 9 Nov 92 17:03:51 GMT
Article-I.D.: data.731
Organization: Microtek DSD, Hillsboro, OR

gustav@arp.anu.edu.au (Zdzislaw Meglicki) writes:

>Can anybody direct me to papers about Lisp in parallel?

A good start is:

  _Parallel Lisp: Languages and Systems_, Ito & Halstead, editors,
  Springer Lecture Notes #441, Springer-Verlag, 1990.

Most recent Lisp & Functional Programming proceedings have at least
one paper on parallel LISPs.


-Ken Dickey
Newsgroups: comp.lang.lisp.x
From: fparnold@bach.udel.edu (Frederick P Arnold)
Subject: function PROCLAIM for xlisp-plus 2.1d
Organization: University of Delaware
Distribution: comp.lang.lisp.x,comp.lang.lisp
Date: Fri, 6 Nov 1992 15:28:42 GMT

Greetings.

I have been attempting to use X-Lisp with the code in "paradigms for AI
programming" by Peter Norvig, and have been stymied by the function
PROCLAIM, which is not defined either in XLISP, or in the auxillary functions
provided with the sample code.  Therefore, the inevitable question is, does 
anybody have either a function, or at least a good definition, of what
PROCLAIM does?  Relavant notes for this are that I'm using Xlisp 2.1d on a
386 pc, and am loading the macros found in COMMON.LSP before doing anything
else.

Thanks.
						-fred

*****************************************************************************
* You take risks every day when                    Frederick P. Arnold, Jr. *
* you get up in the morning,                       Department of Chemistry  *
* cross the street,                                Univeristy of Delaware   *
* or stick your face in a fan.                     Newark, DE 19713         *
*          -Lt. Frank Drebin                     FARNOLD@WOTAN.DUCH.UDEL.EDU*
Newsgroups: comp.lang.lisp.x
From: hill@hilbert.cc.utas.edu.au (Kym M. Hill)
Subject: read-from-string
Organization: University of Tasmania
Date: Mon, 9 Nov 1992 07:39:22 GMT



Hi,
	trying to port code from cl. How do i simulate a read-from-string?

						Ta
							Sp.
--
 ------------------------------------------------------------------------
|  Kym M. Hill               |                                |  _--_|\  |
|  Department of Mathematics |--------------------------------| /      \ |
|  University of Tasmania    |            E-Mail:             | \_.--._/ |
From: jordan@aero.org (Larry M. Jordan)
Newsgroups: comp.lang.lisp.x
Subject: winterp architecture
Date: 6 Nov 1992 20:37:36 GMT
Organization: The Aerospace Corporation
Distribution: inet
NNTP-Posting-Host: uniblab.aero.org

I would really appreciate a detailed discussion/exchange on the
design of 'winterp'.  I've briefly looked at the distribution to
get some idea 'how they/he/she did it', but am also looking for
rationale--why the particular approach that was adopted?

If anyone knows the system intimately, please reply to me
personally. Or if you feel the discussion merits public
consumption, it could be posted to this group.

--Larry

Newsgroups: comp.lang.lisp.x
From: fasching@eues38.tuwien.ac.at (Franz Fasching)
Subject: Re: xlisp under GNUemacs
Reply-To: fasching@iue.tuwien.ac.at
Organization: Institute for Microelectronics, Technical University Vienna
Date: Wed, 11 Nov 1992 15:39:08 GMT

In article <BxAJEn.AJu@hermes.hrz.uni-bielefeld.de> dietmar@techfak.uni-bielefeld.de (Dietmar Braun) writes:

	   I would like to use xlisp as a subprocess in a GNUemacs buffer.
   Is there any emacs-lisp Program for this purpose. Or do I have to
   configurate some of the standard programs like shell.el?

	       Thanks
		    Didi

Type ``M-x run-lisp'', which runs an inferior LISP process in a *lisp*
buffer. A link named ``lisp'' to xlisp (or whatever) must exist in the
directory where Emacs was started from.

--
/---------------------------------------------------------------------------\
| Franz Fasching  Institute for Microelectronics / Technical Univ. Vienna   |
|                 Gusshausstrasse 27-29 / 1040 Vienna / AUSTRIA             |
| Phone:        ++43 / 1 / 58801 - 3692                                     |
| E-Mail:       fasching@iue.tuwien.ac.at, fasching@eues38.tuwien.ac.at     |
| FAX:          ++43 / 1 / 5059224                                          |
\---------------------------------------------------------------------------/
Newsgroups: comp.lang.lisp.x
From: brent@ssd.csd.harris.com (Brent Benson)
Subject: Re: xlisp under GNUemacs
Organization: Harris Computer Systems
Date: Thu, 12 Nov 1992 14:25:08 GMT
	<FASCHING.92Nov11163908@eues38.tuwien.ac.at>

fasching@eues38.tuwien.ac.at (Franz Fasching) writes:
> dietmar@techfak.uni-bielefeld.de (Dietmar Braun) writes:

>> I would like to use xlisp as a subprocess in a GNUemacs buffer.  Is
>> there any emacs-lisp Program for this purpose. Or do I have to
>> configurate some of the standard programs like shell.el?

> Type ``M-x run-lisp'', which runs an inferior LISP process in a
> *lisp* buffer. A link named ``lisp'' to xlisp (or whatever) must
> exist in the directory where Emacs was started from.

Or try this:

(defun run-xlisp ()
  (interactive)
  (let ((inferior-lisp-program "xlisp"))
    (run-lisp)))

	
--
Brent Benson                     
Harris Computer Systems
Newsgroups: comp.lang.lisp.x
From: felipe@larissa.jpl.nasa.gov (Felipe Hervias)
Subject: lisp source code to Winston&Horn 3rd Edition chapter 26
Reply-To: felipe@pluto.Jpl.Nasa.Gov
Organization: Jet Propulsion Laboratory, Pasadena CA
Date: Fri, 13 Nov 1992 14:56:28 GMT

Does anybody have the source code to chapter 26 from Winston & Horn
3rd Edition Lisp book? Thanks.


-- 

felipe@pluto.jpl.nasa.gov




Newsgroups: comp.lang.lisp.x
From: dietmar@techfak.uni-bielefeld.de (Dietmar Braun)
Subject: xlisp under GNUemacs
Date: Fri, 6 Nov 1992 10:49:35 GMT
Organization: Universitaet Bielefeld, Technische Fakultaet.

	I would like to use xlisp as a subprocess in a GNUemacs buffer.
Is there any emacs-lisp Program for this purpose. Or do I have to
configurate some of the standard programs like shell.el?
 
            Thanks
                 Didi

-- 
---------------------------------------------------------------------
SMail:  Dietmar Braun; Universitaet Bielefeld     |      __o
        Technische Fakultaet  AG WBS / KI         |    _`\<,_
        Postfach 8640; W-4800 Bielefeld 1; Germany|   (_)/ (_)
EMail:  dietmar@techfak.uni-bielefeld.de          |
---------------------------------------------------------------------
From: foster@nzkites.UUCP (Foster Schucker)
Newsgroups: comp.lang.lisp.x
Subject: Adventure System
Date: 13 Nov 92 02:04:57 GMT
Organization: Kiteflyers Roost

David Betz of Xlisp fame also wrote a lisp like adventure language
with a compiler and interpreter.  The version I have is from 1986.

Is there a newer version around, and if so, is there a listserv site
I can get it from?

Thanks!

Foster Schucker  (foster@nzkites.uucp)  (1-215-458-8354 (voice))
From: toma@sail.LABS.TEK.COM (Tom Almy)
Newsgroups: comp.lang.lisp.x
Subject: Re: read-from-string
Date: 9 Nov 92 23:06:23 GMT
Article-I.D.: sail.12864
Reply-To: toma@sail.labs.tek.com
Organization: Tektronix, Inc., Beaverton,  OR.

In article <1992Nov9.073922.22692@newsroom.utas.edu.au> hill@hilbert.cc.utas.edu.au (Kym M. Hill) writes:

>	trying to port code from cl. How do i simulate a read-from-string?

This is the easiest way:

(defun read-from-string (arg)
       (read (make-string-input-stream arg)))

if you don't need any of the optional arguments. If you do, send me a message.

-- 
Tom Almy
toma@sail.labs.tek.com
Standard Disclaimers Apply
Newsgroups: comp.lang.lisp
From: nholtz@cascade.carleton.ca (Neal Holtz)
Subject: Re: Lisp WEB
Keywords: Lisp, annotating programmes, WEB, TeX
Organization: none
Date: Thu, 5 Nov 1992 21:09:10 GMT

In article <1d7vccINNh3d@manuel.anu.edu.au> gustav@arp.anu.edu.au (Zdzislaw Meglicki) writes:
>What do Lisp programmers do if they want to annotate and publish their
>codes? 

I couple of years ago I did a few hundred pages of lecture notes
for Lisp programming -- using LaTeX and XLISP and JOVE (on PC's,
obviously).  A very low-budget but usable environment.  
Basically, I just established a convention in the LaTeX, something like:

	\begin{comment}
	...
	\end{comment}

to delimit comment sections, and

	\begin{code}
	...
	\end{code}

to delimit code sections.  A 20-line perl script would extract
the lisp and rework the comments enough to feed both to XLISP.
Of course, it did no formatting of the lisp code (just used verbatim,
essentially), but I found that adequate -- the editor would do the
indenting properly.  And no reordering or module definitions, but that
is rarely necessary in Lisp, either.  This gives about 10% of Web, at about
0.1% of the cost.  Quite usable, considering the effort that went
into it.
--
Prof. Neal Holtz,  Dept. of Civil Eng.,  Carleton University,  Ottawa,  Canada
Internet: nholtz@civeng.carleton.ca  Ph: (613)788-2600x5797 Fax: (613)788-3951
From: jbk@world.std.com (Jeffrey B Kane)
Newsgroups: comp.lang.lisp.mcl
Subject: info-mcl-faq
Date: 14 Nov 92 04:00:14 GMT


Since a number of people seem to like the idea of an
MCL specific faq, I'll start to put together some topics.

After I post the topic list, please send me any questions
that particularly gave you a hard time, or concepts that 
you still don't understand (or topics that I've missed).
After I assemble these I'll post them for general 
consideration and some answers. I can assemble the 
question, but I certainly can't answer them.  Those that 
I can help with I will, but we'll have to depend on 
the members of this list to put together their
collective heads on these questions.  I'll post the list
of topics in a few days.

       Jeffrey

==========================================
Jeffrey Kane, MD
Kane Biomedical Systems

Internet    jbk@world.std.com
AppleLink   D0738
Compuserve  74206,640
AOL         KaneBioMed

                                          201662
From: nrb!keunen@relay.EU.net (Vincent Keunen)
Newsgroups: comp.lang.lisp.mcl
Subject: expert system shells / production systems
Date: 9 Nov 92 15:06:00 GMT
Reply-To: nrb!keunen@relay.EU.net
Original-To: info-mcl@nrbmi2.ia.nrb.be

There are quite a few expert system shells / production systems out
there, some of them in the public domain.

I'd like to have the point of vue of users of these various systems.
What are their strong / weak points?  Why did you choose this one over
the other ones?

I'm mainly interested in code running under MCL, possibly in pure CL
(not a main requirement for the moment).

If there is interest, I'll summarize to the net.

Thanks

vk
--
Never trust a pretty header: use keunen@nrb.be to reply
--
Keunen Vincent                  Network Research Belgium
R&D, Software Engineer          Parc Industriel des Hauts-Sarts
keunen@nrb.be                   2e Avenue, 65
tel: +32 41 407282              B-4040 Herstal
fax: +32 41 481170              Belgium
From: jbk@world.std.com (Jeffrey B Kane)
Newsgroups: comp.lang.lisp.mcl
Subject: info-mcl-faq
Date: 14 Nov 92 04:02:03 GMT


Since a number of people seem to like the idea of an
MCL specific faq, I'll start to put together some topics.

After I post the topic list, please send me any questions
that particularly gave you a hard time, or concepts that 
you still don't understand (or topics that I've missed).
After I assemble these I'll post them for general 
consideration and some answers. I can assemble the 
question, but I certainly can't answer them.  Those that 
I can help with I will, but we'll have to depend on 
the members of this list to put together their
collective heads on these questions.  I'll post the list
of topics in a few days.

       Jeffrey

==========================================
Jeffrey Kane, MD
Kane Biomedical Systems

Internet    jbk@world.std.com
AppleLink   D0738
Compuserve  74206,640
AOL         KaneBioMed

                                          201662201623
From: moeller@informatik.uni-hamburg.de (Ralf Moeller)
Newsgroups: comp.lang.lisp.mcl
Subject: Re: Class Browser for MCL CLOS
Date: 13 Nov 92 08:25:30 GMT

>Of the class browsers distributed on the MCL 2.0 CD-ROM, which is the best
>to use for general class browsing? In attempting to install the "rm"
>browser, I continue to get an error indicating that I have an error in the
>logical path name. Can anyone show me how to modify the "rm" browser
>install to work on an arbitrary directory and floder path?

I copied a revised and extended version of the class browser to
cambridge.apple.com:/pub/mcl2/contrib/RMs-Contribs-1.0.sea.hqx
This version works with MCL 2.0(p1). If you do not have access to this
directory I can send you the file via mail (it's about 200K).

There is another class browser you might want to try:
cambridge.apple.com:/pub/mcl2/contrib/geta-browser-v1.2.hqx

Ralf



========================================

Ralf Moeller
University of Hamburg
Bodenstedtstr. 16
2000 Hamburg 50
Germany

Phone: ++40 4123 6134
Fax ++40 4123 6530
Email: moeller@informatik.uni-hamburg.de
Newsgroups: comp.lang.lisp.mcl
From: chyde@pecos.ads.com (Clinton Hyde)
Subject: a CLX question
Organization: Advanced Decision Systems, Mountain View, CA 94043, +1 (415)
	960-7300
Distribution: comp.lang.lisp
Date: Fri, 13 Nov 1992 19:47:47 GMT


I want to put an icon/picture into the iconified 'thing' one sees upon
closing a clx window. i'm using motif, so it's normally just this
square checkerboard pattern with four large squares. I'd like to use
an X-bitmap file.

how can I do this? (natch, I want to have different windows have
different pictures when iconified).

i don't have the latest CLX manual. i thought I had a stickie saying
where to get it from, but not now...

 -- clint
--

Clint Hyde		"Give me a LispM or give me death!" -- anonymous

Advanced Decision Systems/BAH	Internet:  chyde@chesapeake.ads.com
1953 Gallows Rd, Suite 600
Vienna, VA  22182-3934		(703) 902-7130
From: owens@gargoyle.uchicago.edu (Christopher Owens)
Newsgroups: comp.lang.lisp.mcl
Subject: Re: parallel text dialog items
Date: 11 Nov 92 20:01:12 GMT
Distribution: co
Organization: University of Chicago Computing Organizations
X-Note1: mail msgid was <owens.721512072@gargoyle.uchicago.edu>
X-Note2: message-id generated by recnews

In <1992Nov9.172923.6367@midway.uchicago.edu> Tom McDougal <mcdougal@cs.uchicago.edu> writes:

>>I want to have text appear simultaneously in two places within a
>>window.  A variant on the text-edit-dialog-item (from the examples
>>folder) would be fine, but I'm not sure how to pass the key-events
>>to multiple dialog items.  Several attempts so far have failed.

Do you need the user to be able to type into either window?

I'd suggest that you create two editable-text-dialog-items that share
a common buffer, by munging the "FREC" slots of the
editable-text-dialog-items. Since they now share a buffer, this
obviates the need for spoofing keystrokes to one dialog item when the
user types in the other.

You'll still need to force an update of the second dialog item every
time the first is redrawn.