HDTenEightyP/NetNews huggingface dataset:
From: moyman@ecn.purdue.edu (Mike Moya)
Newsgroups: comp.lang.lisp
Subject: Patches for SCL 4.01 (FTP Site?)
Date: 6 Apr 92 16:00:22 GMT
Organization: Engineering Computer Network

Is there an FTP site for all the latest SCL patches? Somebody e-mail
it to me (or post)... Thankin'
--moya
Newsgroups: comp.lang.lisp
From: charest@Aig.Jpl.Nasa.Gov (Len Charest)
Subject: Re: Finding the file extensions for LISP source and object files?
Followup-To: poster
Reply-To: charest@aig.jpl.nasa.gov
Organization: NASA/Jet Propulsion Laboratory
Date: Tue, 14 Apr 1992 01:25:34 GMT

In article <1992Apr13.182341.1462@umbc3.umbc.edu>, cs106241@umbc5.umbc.edu (cs106241) writes:
|> 
|> Is there a CLtL/1 way to find out the file extension for a source file
|> (eg "lisp" or "LISP") or an object file ("fas, "fasl", etc)? Using the
|> CLtL/2 version, I think I could find out the extension for lisp files
|> by using make-pathname with the new :case keyword. But even there I
|> cannot figure out how to figure out what the object file's extension will

These extensions are merely a convention established by the particular implementation of Lisp that you are using, *not* a set of defaults established by the filesystem. The :case keyword in CLtL2, when given a value of :local, "means that strings given to make-pathname...follow the local file system's convention for alphabetic case." [CLtL2, p 618] Therefore the :case keyword has nothing to do with defaulting pathname components.
 
Lisp itself offers no built-in way to determine what the 'correct' extensions are for a given implementation. In fact, even if you know a priori the source extension for your implementation, there is nothing preventing a programmer from using something entirely different. The best you can do is assume that programmers will adhere to conventions. Then use the read macro #+ to conditionalize your code for various implementations. For example:

(defun load-source (pathname)
  (load (make-pathname :case :local
                       :defaults pathname
                       :type #+foolisp "FOOL"
                             ;;otherwise
                             #-foolisp "lisp")))
..................................................
                                  Len Charest, Jr.
                 JPL Artificial Intelligence Group
                          charest@aig.jpl.nasa.gov
From: tackett@ipld01.hac.com (Walter Alden Tackett)
Newsgroups: comp.lang.lisp
Subject: Re: kcl for dos
Date: 7 Apr 92 23:15:02 GMT
Followup-To: tackett@ipld01.hac.com
Organization: Hughes Aircraft Company - Canoga Park, CA

In article <92098.42641.UPP201@ibm.rhrz.uni-bonn.de> UPP201@ibm.rhrz.uni-bonn.de (Michael Burschik) writes:
>I recently received the information that kcl is available for the pc.
>I was, however, unable to find an ftp site where I could get it. Could
>someone help me out?
>                     Cheers,
>                             Mike.

I am sending this to the net because the email to this gentleman Mike
bounced.  If Anyone knows where to get this PLEASE tell me as well as Mike

tackett@ipld01.hac.com

If you find kcl for the PC PLEASE let me know! I'm desperate!
-walter
(i have a 486/33 w/ 16Meg HD)
rsvp!!!!!
From: marcoxa@LARGE.CS.NYU.EDU (Marco Antoniotti)
Newsgroups: comp.lang.lisp
Subject: Re: Finding the file extensions for LISP source and object files?
Date: 14 Apr 92 22:23:51 GMT
Organization: New York University

In article <1992Apr13.183936.3273@umbc3.umbc.edu> cs106241@umbc5.umbc.edu (cs106241) writes:
Path: spunky!cmcl2!yale.edu!jvnc.net!darwin.sura.net!haven.umd.edu!news.umbc.edu!umbc5.umbc.edu!cs106241
   From: cs106241@umbc5.umbc.edu (cs106241)
   Newsgroups: comp.lang.lisp
   Date: 13 Apr 92 18:39:36 GMT
   References: <1992Apr13.182341.1462@umbc3.umbc.edu>
   Sender: newspost@umbc3.umbc.edu (News posting account)
   Organization: University of Maryland Baltimore Campus, Academic Computing Services
   Lines: 10

   I wrote:
   >
   >Is there a CLtL/1 way to find out the file extension for a source file
   >(eg "lisp" or "LISP") or an object file ("fas, "fasl", etc)? Using the
   >CLtL/2 version, I think I could find out the extension for lisp files
   >by using make-pathname with the new :case keyword. But even there I
   >cannot figure out how to figure out what the object file's extension will
   be. Am I missing something obvious?

   [Sorry, I lost that last line in my previous posting attempt]

Hi,

I remember doing a lot of #+lisp-flavor (defvar *lisp-ext* ".as-needed") 
Unfortunately this seems to be implementation dependent.
From: charest@Aig.Jpl.Nasa.Gov (Len Charest)
Newsgroups: comp.lang.lisp
Subject: Re: (typep foo 'type) ??
Keywords: type class
Date: 14 Apr 92 20:41:56 GMT
Reply-To: charest@aig.jpl.nasa.gov
Followup-To: poster
Organization: NASA/Jet Propulsion Laboratory

In article <1992Apr14.181729.25402@walter.bellcore.com>, rdh@thumper.bellcore.com (Ralph Hill) writes:
|> Given a variable that claims to name a type, is there a way to find out
|> that it really names a type?

No, because types are not first class objects, and therefore are not discriminable by the type discriminating functions ;-) Types are *named* by type specifiers, which are combinations of symbols and lists. [CLtL2, p 49]

On the other hand, if you have CLOS in your Lisp then you could use the function FIND-CLASS to determine the existence of any atomic type (i.e., class) except those defined vis DEFTYPE. Examples:

(defstruct GLORF)
(find-class 'glorf) => #<Structure-Class GLORF>

(deftype FROG ()
  'symbol)
(find-class 'frog) => Error....
 
..................................................
                                  Len Charest, Jr.
                 JPL Artificial Intelligence Group
                          charest@aig.jpl.nasa.gov
Newsgroups: comp.lang.lisp
From: yost@adobe.COM (David Yost)
Subject: C, but with lisp syntax
Reply-To: yost@adobe.COM
Organization: Adobe Systems Incorporated
Date: Mon, 6 Apr 1992 22:02:24 GMT


I have a different question:
Imagine ANSI C, but with lisp syntax and lisp macros.
I.e. a lisp dialect that translates more or less directly
to C and needs no runtime library.

Anyone have such a thing?

 --dave yost
Newsgroups: comp.lang.lisp
From: mrose@kali.stsci.edu (Mike Rose)
Subject: Re: I'm looking for a program
Reply-To: mrose@stsci.edu
Organization: Space Telescope Science Institute
Date: Fri, 17 Apr 1992 01:08:51 GMT

On 16 Apr 92 20:49:40 GMT, mperez@ringer.cs.utsa.edu (Michael Perez) said:

>    I am using common lisp and I am looking for a program that will
>get 3 missionaries and 3 cannibals to the other side of the river using 
>1 boat.  If there are more cannibals than missionaries at anytime the 
>cannibal will eat the missionaries.

But cannibals are supposed to eat missionaries, that's their job.

When I was assigned this problem we weren't allowed to have more
missionaries than cannibals, because the cannibals would be converted,
"a fate worse than death".
--
Mike Rose, mrose@stsci.edu, 410-338-4949
From: SWM@sapsucker.scrc.symbolics.com (Scott McKay)
Newsgroups: comp.lang.lisp
Subject: C, but with lisp syntax
Date: 6 Apr 92 22:52:47 GMT
Organization: LCS news/mail gateway
X-Unparseable-Date: Mon


    Date: Mon, 6 Apr 1992 18:02 EDT
    From: David Yost <yost@adobe.com>


    I have a different question:
    Imagine ANSI C, but with lisp syntax and lisp macros.
    I.e. a lisp dialect that translates more or less directly
    to C and needs no runtime library.

    Anyone have such a thing?


Much of the software for the Symbolics MacIvory was done using just
such a language.  It's bundled in with the MacIvory software, but I
don't know how well it is documented.
Xref: sparky comp.lang.lisp:1409 comp.lang.scheme:1216 comp.ai:2028
From: peterson-john@CS.YALE.EDU (john peterson)
Newsgroups: comp.lang.lisp,comp.lang.postscript
Subject: Re: Lisp dialect as front end to PostScript
Date: 6 Apr 92 21:47:52 GMT
Article-I.D.: cs.1992Apr7.014813.1249
Organization: Yale Haskell Project

I made a Common Lisp front end for Postscript called PLisp a few years
ago.  This translates many common lisp functions to postscript as well
as manage the environment and many lispisms (&optional and &rest
arguments, multiple values, macros, ...).  I'm not working on this
thing anymore but it's available for anyone that wants it.  It's
available via anonymous ftp in pub/plisp/plisp.tar.Z on
nebula.cs.yale.edu (128.36.13.1).

   John Peterson
   peterson-john@cs.yale.edu
   Yale Haskell Project
From: delacour@waxwing.parc.xerox.com (Vincent Delacour)
Newsgroups: comp.lang.lisp
Subject: Re: Beggar's plea: free/cheap Common Lisp
Date: 10 Apr 92 17:49:20 GMT
Article-I.D.: waxwing.DELACOUR.92Apr10104920
Organization: Xerox PARC, Palo Alto, CA


In article <1992Apr10.124312.11689@cs.rulimburg.nl> lenting@cs.rulimburg.nl (Jacques Lenting) writes:


>   Subject: Beggar's plea: free/cheap Common Lisp
>   ...
>   I need a Common Lisp environment to run the MICE testbed on. Unfortunately,
>   there is hardly any budget available. Somebody told me that there is a public
>   domain version of Common-Lisp "at some Japanese university". Does anyone know
>   of an ftp (or email or postal) address of this or another site where Common
>   Lisp is obtainable without charge or at low cost?
>
>   Thank you!
>
>   Jacques Lenting

One of the very best implementations of Common Lisp happens to be free
of charge. It compares quite well with well-known and expensive (as
well as expansive ;-) products! it is available by anonymous ftp:
rascal.ics.utexas.edu, and is called AKCL.

Enjoy it, 

	Vincent

Note: AKCL implements Common Lisp as defined by CLTL1, and doesn't
implement the CLTL2 additions (to my knowledge). This shouldn't be a
problem, though. 

Note2: Your type declarations, particularly concerning the arity of
functions, will be meticulously trusted by the compiler, and great
performance improvements can result. On very large programs (big
memory, several minutes -- hours of execution), declarations are not
crucial, for memory management makes almost all the diference.
Newsgroups: comp.lang.lisp
From: cs106241@umbc5.umbc.edu (cs106241)
Subject: Re: Finding the file extensions for LISP source and object files?
Organization: University of Maryland Baltimore Campus, Academic Computing Services
Date: Mon, 13 Apr 1992 18:39:36 GMT

I wrote:
>
>Is there a CLtL/1 way to find out the file extension for a source file
>(eg "lisp" or "LISP") or an object file ("fas, "fasl", etc)? Using the
>CLtL/2 version, I think I could find out the extension for lisp files
>by using make-pathname with the new :case keyword. But even there I
>cannot figure out how to figure out what the object file's extension will
be. Am I missing something obvious?

[Sorry, I lost that last line in my previous posting attempt]
Newsgroups: comp.lang.lisp
From: tar@ISI.EDU (Thomas A. Russ)
Newsgroups: comp.lang.lisp
Subject: Portable version of time:parse-universal-time ?
Date: 7 Apr 92 17:20:09 GMT
Reply-To: tar@isi.edu
Organization: USC-ISI


Is there a portable version of time:parse-universal-time available
anywhere? 

I am looking for something along the lines of the function available
on the Symbolics or TI Lisp Machines: A function that will take a
string describing a date and/or time and return a CommonLisp universal
time.
Newsgroups: comp.lang.lisp
Date: Tue, 14 Apr 1992 18:32:34 -0400 
From: William.Lott@cs.cmu.edu
Subject: Re: More informative prompt from Lucid CL
	<EB.92Apr3115152@watergate.lucid.com>
	<KURODA.92Apr14210823@orc.msi.co.jp>

kuroda@msi.co.jp (Hisao Kuroda) writes:
> Is there similer way for CMU-CL ?

You can set EXT:*PROMPT* to either a string (which gets printed as is)
or a function (which gets called and should do the printing).  I use
the following bit of code:

	(defvar *last-prompt* nil)
	(defvar *last-package* nil)

	(defun promptify-package ()
	  (if (eq *last-package* *package*)
	      *last-prompt*
	      (let ((name (package-name *package*)))
		(dolist (nickname (package-nicknames *package*))
		  (when (< (length nickname)
			   (length name))
		    (setf name nickname)))
		(setf *last-package* *package*)
		(setf *last-prompt*
		      (concatenate 'simple-string 
				   (string-downcase name)
				   "> ")))))

	(setf *prompt* #'promptify-package)

Caching the prompt string is probably overkill, but what the heck?

-William Lott
CMU Common Lisp Group

ps: a neato hack that can be used if your implementation only has a
*prompt* object that it just prints is to set that to a structure and
make the structure print function do whatever you want.  You can do
all sorts of fun things with structure print functions if you have no
shame.
Newsgroups: comp.lang.lisp
From: cs106241@umbc5.umbc.edu (cs106241)
Subject: Finding the file extensions for LISP source and object files?
Organization: University of Maryland Baltimore Campus, Academic Computing Services
Date: Mon, 13 Apr 1992 18:23:41 GMT


Is there a CLtL/1 way to find out the file extension for a source file
(eg "lisp" or "LISP") or an object file ("fas, "fasl", etc)? Using the
CLtL/2 version, I think I could find out the extension for lisp files
by using make-pathname with the new :case keyword. But even there I
cannot figure out how to figure out what the object file's extension will
Newsgroups: comp.lang.lisp
From: Ralph Hill <rdh@thumper.bellcore.com>
Subject: (typep foo 'type) ??
Organization: Bellcore
Date: Tue, 14 Apr 92 18:17:29 GMT

Given a variable that claims to name a type, is there a way to find out
that it really names a type?

I.e., can I do this:  (typep foo 'type) ?

type is not defined as a type, so I cannot.  Is there another way to get
the same effect?

Feel free to call me a fool, but first tell me which chapter of CLtL2 to
read.  Yes, I read chapters 2 and 4, did I miss something?

   ralph hill
   Bellcore
From: barmar@think.com (Barry Margolin)
Newsgroups: comp.lang.lisp
Subject: Re: CLOS and packages
Date: 13 Apr 1992 00:31:04 GMT
Organization: Thinking Machines Corporation, Cambridge MA, USA
NNTP-Posting-Host: gandalf.think.com

In article <1992Apr12.182708.9464@cs.mcgill.ca> dean@cs.mcgill.ca (Dean NEWTON) writes:
>Is it possible to define CLOS classes specific to a package?  eq. have
>several different classes called "point" in different packages.

Of course.  A class's name is just a symbol, and the package system allows
there to be symbols named "point" in different packages.  CLOS knows
nothing about packages themselves.
-- 
Barry Margolin
System Manager, Thinking Machines Corp.

barmar@think.com          {uunet,harvard}!think!barmar
Newsgroups: comp.lang.lisp
From: hall@aplcen.apl.jhu.edu (Marty Hall)
Subject: Re: Reversing a list
Reply-To: hall@aplcen (Marty Hall)
Organization: AAI Corp AI Lab, JHU P/T CS Faculty
Distribution: comp
Date: Thu, 16 Apr 92 18:59:00 GMT

In article <1992Apr16.174656.12698@wam.umd.edu> madrid@wam.umd.edu 
(Gonzalo De Cea-Naharro Romero) writes:
>How can I reverse a list on all levels?. I have the code to reverse the top 
>level, but I cannot get it to work on all levels of a list.

(defun Mirror (Entry)
  (if
    (atom Entry)
    Entry
    (reverse (mapcar #'Mirror Entry))) )

I've used this one when introducing my students to recursion. 

(Mirror '(A B C D)) -->    (D C B A)
(Mirror '(A B (C D))) -->  ((D C) B A)
(Mirror '(A (B (C D)))) -->(((D C) B) A)

					- Marty
------------------------------------------------------
hall@aplcen.apl.jhu.edu, hall%aplcen@jhunix.bitnet, ..uunet!aplcen!hall
Artificial Intelligence Lab, AAI Corp, PO Box 126, Hunt Valley, MD 21030

(setf (need-p 'disclaimer) NIL)
From: dean@cs.mcgill.ca (Dean NEWTON)
Newsgroups: comp.lang.lisp
Subject: CLOS and packages
Summary: can ine define package-specific classes?
Date: 12 Apr 92 18:27:08 GMT
Organization: SOCS, McGill University, Montreal, Canada

Is it possible to define CLOS classes specific to a package?  eq. have
several different classes called "point" in different packages.

Kaveh Kardan
(posting from a friend's account)
Newsgroups: comp.lang.lisp,comp.lang.postscript
From: yost@adobe.COM (David Yost)
Subject: Lisp dialect as front end to PostScript
Reply-To: yost@adobe.COM
Organization: Adobe Systems Incorporated
Date: Mon, 6 Apr 1992 22:05:02 GMT

Imagine PostScript, but with lisp syntax and lisp macros.
I.e. a lisp dialect that translates more or less directly
to PostScript.

Has anyone done such a thing?

 --dave yost
Newsgroups: comp.lang.lisp
From: rwk@crl.dec.com (Bob Kerns)
Newsgroups: comp.lang.lisp
Subject: Re: Finding the file extensions for LISP source and object files?
Date: 14 Apr 92 20:09:32 GMT
	<1992Apr13.183936.3273@umbc3.umbc.edu>
Organization: Cambridge Research Lab, Digital Equipment Corp.

In article <1992Apr13.183936.3273@umbc3.umbc.edu> cs106241@umbc5.umbc.edu (cs106241) writes:

   From: cs106241@umbc5.umbc.edu (cs106241)
   Date: 13 Apr 92 18:39:36 GMT
   >Is there a CLtL/1 way to find out the file extension for a source file
   >(eg "lisp" or "LISP") or an object file ("fas, "fasl", etc)? Using the
   >CLtL/2 version, I think I could find out the extension for lisp files
   >by using make-pathname with the new :case keyword. But even there I
   >cannot figure out how to figure out what the object file's extension will
   be. Am I missing something obvious?

There isn't a way.  However:

1)  You can specify what you'd like it to be with the :output-file
    argument.

2)  You can find out what it WAS after the fact; compile-file returns
    the truename of the output file.
Newsgroups: comp.lang.lisp
From: William.Lott@cs.cmu.edu
Subject: Re: More informative prompt from Lucid CL
Organization: Carnegie Mellon, Pittsburgh, PA
Date: Tue, 14 Apr 1992 22:32:34 GMT

kuroda@msi.co.jp (Hisao Kuroda) writes:
> Is there similer way for CMU-CL ?

You can set EXT:*PROMPT* to either a string (which gets printed as is)
or a function (which gets called and should do the printing).  I use
the following bit of code:

	(defvar *last-prompt* nil)
	(defvar *last-package* nil)

	(defun promptify-package ()
	  (if (eq *last-package* *package*)
	      *last-prompt*
	      (let ((name (package-name *package*)))
		(dolist (nickname (package-nicknames *package*))
		  (when (< (length nickname)
			   (length name))
		    (setf name nickname)))
		(setf *last-package* *package*)
		(setf *last-prompt*
		      (concatenate 'simple-string 
				   (string-downcase name)
				   "> ")))))

	(setf *prompt* #'promptify-package)

Caching the prompt string is probably overkill, but what the heck?

-William Lott
CMU Common Lisp Group

ps: a neato hack that can be used if your implementation only has a
*prompt* object that it just prints is to set that to a structure and
make the structure print function do whatever you want.  You can do
all sorts of fun things with structure print functions if you have no
shame.
Newsgroups: comp.lang.lisp
From: cox@Franz.COM (Charles A. Cox)
Subject: Re: Recognizing UNIX signals in Allegro CL?
Organization: Franz Inc., Berkeley, CA
Date: Thu, 9 Apr 1992 21:57:57 GMT

[ I'm forwarding this response from Steve, who intended this to go to
the net...  -cac-]

>From article <schmitz.702627903@iitb.fhg.de>:
>Is there any possibility in Allegro CL to recognize and handle UNIX-Signals?
>There are running several processes under the control of Allegro CL, and we
>have to react on incoming data (via remote procedure call) as soon as 
>possible.

There are undocumented facilities for handling Unix signals, but
rather than describe them, it seems to me you are concerned
specifically with SIGIO.  Since SIGIO is important for writing
low-latency window system interfaces, Allegro has a special mechanism
for dispatching SIGIO efficiently.  Starting with 4.1 (now shipping
for sparc) the interface is documented (Section 8.4 of the User Guide)
but if you need an equivalent for an earlier release, contact
bugs@franz.com and we'll see how that earlier release can support what
you need.

Steve Haflich
Franz Inc.
From: pkarp@ai.sri.com (Peter Karp)
Newsgroups: comp.lang.lisp
Subject: regular expression matcher
Date: 14 Apr 92 03:07:37 GMT
Organization: SRI International, Menlo Park, CA


I obtained a C implementation of a regular expression matcher that
I have used via the Franz CL foreign-function interface.  It probably
wouldn't be difficult to use it via the Lucid CL foreign-function
interface.

Peter
From: barmar@think.com (Barry Margolin)
Newsgroups: comp.lang.lisp
Subject: Re: LISP Cards on Macintosh
Date: 15 Apr 1992 21:45:20 GMT
Organization: Thinking Machines Corporation, Cambridge MA, USA
NNTP-Posting-Host: telecaster.think.com

In article <33539@imag.imag.fr> lafourca@imag.fr (Lafourcade Mathieu) writes:
>I would like to buy a LISP card (Machine ?) for the Macintosh.
>Where can I find inoformation about performances, compatibility and ... price.

I know of two Lisp coprocessors for the Mac.  Symbolics sells MacIvory, and
TI used to sell MicroExplorer (I suspect they no longer do, as I haven't
heard anything about it for years, but it may be possible to get used
ones).

They both are NuBus cards, so they require a Mac II or Quadra.  They
implement a complete Lisp Machine on the card; a Macintosh window serves as
the console.

A MacIvory can probably run Lisp about as fast as a Sparcstation 1.  It
costs $20-30K depending on whether you get a development or delivery system
and how much memory you get (it uses its own NuBus memory, not the Mac's
regular memory).
-- 
Barry Margolin
System Manager, Thinking Machines Corp.

barmar@think.com          {uunet,harvard}!think!barmar
Newsgroups: comp.lang.lisp
From: madrid@wam.umd.edu (Gonzalo De Cea-Naharro Romero)
Subject: Reversing a list
Organization: University of Maryland, College Park
Distribution: comp
Date: Thu, 16 Apr 1992 17:46:56 GMT

How can I reverse a list on all levels?. I have the code to reverse the top 
level, but I cannot get it to work on all levels of a list.

*****************
madrid@wam.umd.edu        Gonzalo de Cea-Naharro
From: mperez@ringer.cs.utsa.edu (Michael Perez)
Newsgroups: comp.lang.lisp
Subject: I'm looking for a program
Date: 16 Apr 92 20:49:40 GMT
Organization: University of Texas at San Antonio


    I am using common lisp and I am looking for a program that will
get 3 missionaries and 3 cannibals to the other side of the river using 
1 boat.  If there are more cannibals than missionaries at anytime the 
cannibal will eat the missionaries.

I am also looking for a program able to access and maintain a
geneology database. (person mother father).

If anyone can help me just mail the program to me.
           Thanks in advanced.
From: prufrock@athena.mit.edu (Matthew Realff)
Subject: Comparison of Unix Boxes for LISP
Organization: Massachusetts Institute of Technology
Date: Wed, 8 Apr 1992 15:31:52 GMT

I have to put together a proposal for buying equipment to initiate a research
program, my intention is to purchase "unix boxes" to run CLOS/LISP.  Can someone
direct me to a comparison of different vendors workstation's performance running
say Allegro CL?

Thanks in advance,

Matthew.
From: yip-ken@CS.YALE.EDU (ken yip)
Newsgroups: comp.lang.lisp
Subject: Universal Turing Machine
Date: 8 Apr 92 19:53:47 GMT
Article-I.D.: cs.1992Apr8.195347.27942
Organization: Yale University, Department of Computer Science


I was writing a simulator for the universal turing machine as part
of a problem set given to my freshman class.  In doing that, I was 
wondering what the smallest number of states the UTM has to have.
Does anyone know the answer?  Is there a theorem about this?
Newsgroups: comp.lang.lisp,comp.lang.misc,comp.lang.objective-c