From: ManRodSr
Subject: Re: Why learn LISP?
Date: 
Message-ID: <19970905163301.MAA10640@ladder02.news.aol.com>
Thats a wonderful reply and very similar to what I read in a book
somewhere that first got me interested. since I've started, every little
step along the learning curve has been exciting. However, I am wondering
how you are able to get into graphics when my very first question to the
group was along those very lines and I was led to believe that we could not
do graphics with lisp.
did I misunderstand something?

From: Erik Naggum
Subject: Re: Why learn LISP?
Date: 
Message-ID: <3082468335007657@naggum.no>
* ········@aol.com
| I was led to believe that we could not do graphics with lisp.
| did I misunderstand something?

you can't do graphics in any language.  first, you need library support
functions and lots and lots of external system software to handle the
graphics for you.  now you can do graphics in all languages.

#\Erik
-- 
404 You're better off without that file.  Trust me.
From: Christopher Browne
Subject: Re: Why learn LISP?
Date: 
Message-ID: <34103860.68762255@news.amrcorp.com>
On 5 Sep 1997 16:33:33 GMT, ········@aol.com (ManRodSr) wrote:
>Thats a wonderful reply and very similar to what I read in a book
>somewhere that first got me interested. since I've started, every little
>step along the learning curve has been exciting. However, I am wondering
>how you are able to get into graphics when my very first question to the
>group was along those very lines and I was led to believe that we could not
>do graphics with lisp.
>did I misunderstand something?

There are no commands intrinsic to LISP for doing graphics, much as
there are no commands intrinsic to C, Perl, C++, FORTRAN, Scheme, APL,
Java, and any number of other languages that seek to (in some form)
represent a sort of "abstract machine."

In contrast, there are a few computer languages such as Postscript and
a number of dialects of BASIC that include graphics commands as
intrinsic parts of the language.

However, all of the languages in the previous list (and, to the point
here, LISP) have nothing preventing implementations from creating
interfaces to graphics "libraries" of one variety or another.  And
people do commonly use all of these language to "do graphics."

LISP Machines (once sold by Symbolics and LMI) were examples of
LISP-based systems that had a great deal of graphical support; they
had rather sophisticated graphical user interface environments
implemented in LISP.

"Better LISP implementations" should, these days, include some form of
interface to the graphics infrastructure provided by the underlying
operating system.

If you're on a UNIX-like system, common LISP implementations tend to
include interfaces of some sort to the X Windows system.  Commercial
LISPs for Microsoft's windowing systems have similar interfaces.
Ditto for Macintosh-based LISPs.

In such cases, LISP can be used to develop systems with graphical
interfaces.

If you are running LISP under MS-DOS, it is quite likely that the
capabilities will be rather more limited, as MS-DOS provides only the
most rudimentary graphic services.
Chris Browne - ········@hex.net, <http://www.hex.net/~cbbrowne>
Q: Where would Microsoft take you today?  
A: Confutatis maledictis, flammis acribus addictis...
From: Steven D. Majewski
Subject: Re: Why learn LISP?
Date: 
Message-ID: <EG1w2F.GLo@murdoch.acc.Virginia.EDU>
In article <·······················@ladder02.news.aol.com>,
ManRodSr <········@aol.com> wrote:
>Thats a wonderful reply and very similar to what I read in a book
>somewhere that first got me interested. since I've started, every little
>step along the learning curve has been exciting. However, I am wondering
>how you are able to get into graphics when my very first question to the
>group was along those very lines and I was led to believe that we could not
>do graphics with lisp.
>did I misunderstand something?

As others have noted, Graphics support is not usually part of a language. 

Most versions of Lisp or Scheme I've tried have some sort of graphics 
support. Since you said your background was in economics, you might take
a look at XlispStat -- a version of Lisp with support for statistics and
statistical graphics. It's not a great tool for writing general GUI
code, but for numerical graphic applications, it's great: built in
support for 2d and 3d scatterplots, linked plots ( so that plots
selected in one graph are automatically selected in another ), etc. 

There are lots of links to papers, software, and other tools at 
http://www.stat.ucla.edu/ 


If you want a more generalized ( and thus more low level ) graphics
toolkit, you might look at Stk -- scheme + Tk. 



---|  Steven D. Majewski   (804-982-0831)  <·····@Virginia.EDU>  |---
---|  Department of Molecular Physiology and Biological Physics  |---
---|  University of Virginia             Health Sciences Center  |---
---|  P.O. Box 10011            Charlottesville, VA  22906-0011  |---
All power corrupts and obsolete power corrupts obsoletely." - Ted Nelson
From: Bill Coderre
Subject: Re: Why learn LISP?
Date: 
Message-ID: <bc-0809971211580001@17.127.10.41>
········@aol.com (ManRodSr) wrote:
|  Thats a wonderful reply and very similar to what I read in a book
|  somewhere that first got me interested. since I've started, every little
|  step along the learning curve has been exciting. However, I am wondering
|  how you are able to get into graphics when my very first question to the
|  group was along those very lines and I was led to believe that we could not
|  do graphics with lisp.
|  did I misunderstand something?

There's something called the Common Lisp Interface Manager, which is
supposed to be a set of standard GUI code, so that people can carry Lisp
code from one platform to another without re-writing. I don't know what
happened to it; is it dead, people?

Most Lisps have their own set of extensions to do graphics. Most of them
are really easy to use. For instance, Mac Common Lisp from Digitool is so
darn easy that they teach you pretty much everything you need to know in
about 10 pages of their "Getting started" pamphlet. 

You can get a LOT of graphics code to go with just about any Lisp by
saying the magic incantation:

"I have <this kind of> Lisp on <this particular> platform, and I'm a rank
beginner looking for some simple graphics code to cut my teeth on. Anybody
got any spare?"

Note that the ONE thing that this group gets WAY too much of is people
trolling around going, "Lisp can't do this, Lisp can't do that," looking
for some kind of flame war. Therefore people sometimes mis-read questions
such as yours as the trolling flame-bait that we despise. This is not your
fault, of course, but it could affect the replies you get.

bc
From: Marco Antoniotti
Subject: Re: Why learn LISP?
Date: 
Message-ID: <scf67sbk228.fsf@infiniti.PATH.Berkeley.EDU>
In article <···················@17.127.10.41> ··@wetware.com (Bill Coderre) writes:

   From: ··@wetware.com (Bill Coderre)
   Newsgroups: comp.lang.lisp
   Date: Mon, 08 Sep 1997 12:11:57 -0700
   Organization: Castle Wetware Internet Services, INC.
   Lines: 33
   Mime-Version: 1.0
   Content-Type: text/plain; charset=US-ASCII
   Content-Transfer-Encoding: 7bit
   X-Newsreader: MT-NewsWatcher 2.3.3b4

   ········@aol.com (ManRodSr) wrote:

   |  do graphics with lisp.
   |  did I misunderstand something?

   There's something called the Common Lisp Interface Manager, which is
   supposed to be a set of standard GUI code, so that people can carry Lisp
   code from one platform to another without re-writing. I don't know what
   happened to it; is it dead, people?

   Most Lisps have their own set of extensions to do graphics. Most of them
   are really easy to use. For instance, Mac Common Lisp from Digitool is so
   darn easy that they teach you pretty much everything you need to know in
   about 10 pages of their "Getting started" pamphlet. 

However this is part of the problem.  All the commercial Lisps out
there have CLIM ported to them.  However, Harlequin is pushing CAPI,
Franz is pushing Common Windows and Digitool (last time I checked),
isn't offering CLIM.

This is no good.  Especially considering that CLIM was originally a
"vendor's standard".

Alas, this is an old gripe, so you mustn't pay too much attention to
it.

Cheers
-- 
Marco Antoniotti
==============================================================================
California Path Program - UC Berkeley
Richmond Field Station
tel. +1 - 510 - 231 9472
From: William Paul Vrotney
Subject: Re: Why learn LISP?
Date: 
Message-ID: <vrotneyEG7vrJ.6DF@netcom.com>
In article <···················@17.127.10.41> ··@wetware.com (Bill Coderre)
writes:

> 
> ········@aol.com (ManRodSr) wrote:
> |  Thats a wonderful reply and very similar to what I read in a book
> |  somewhere that first got me interested. since I've started, every little
> |  step along the learning curve has been exciting. However, I am wondering
> |  how you are able to get into graphics when my very first question to the
> |  group was along those very lines and I was led to believe that we could not
> |  do graphics with lisp.
> |  did I misunderstand something?
> 
> There's something called the Common Lisp Interface Manager, which is
> supposed to be a set of standard GUI code, so that people can carry Lisp
> code from one platform to another without re-writing. I don't know what
> happened to it; is it dead, people?
> 

I recently completed a Lisp project using CLIM.  Worked fine.

-- 

William P. Vrotney - ·······@netcom.com