From: ·················@iaQUALITY-SPAMLESSNESS.net
Subject: What is Lisp used for?
Date: 
Message-ID: <3615C656.70AB@iaQUALITY-SPAMLESSNESS.net>
Hi.

I've been primarily a C (and Java) programmer, but I
recently started reading about Lisp, and have enjoyed
what I have learned so far. But would someone(s) please
tell me what Lisp is currently used for, and how much it is
used now? I know that it has been used for AI programming in
the past (that's what first caught my interest). 

Thanks for any comments!

-Trevis Rothwell
 ·······@ia.net

From: Chuck Fry
Subject: Re: What is Lisp used for?
Date: 
Message-ID: <6v6dus$7oj$1@shell5.ba.best.com>
In article <·············@iaQUALITY-SPAMLESSNESS.net>,
 <·················@iaQUALITY-SPAMLESSNESS.net> wrote:
>I've been primarily a C (and Java) programmer, but I
>recently started reading about Lisp, and have enjoyed
>what I have learned so far. But would someone(s) please
>tell me what Lisp is currently used for, and how much it is
>used now? I know that it has been used for AI programming in
>the past (that's what first caught my interest). 

A lot of different applications are written in Lisp.  For instance, GNU
Emacs is largely written in Emacs Lisp on top of a C core.  Many
electronic CAD systems use Scheme-ish extension languages.  I'm sure
others can talk about their specific applications.

But I'm fortunate enough to work on autonomy software for a contractor
at NASA Ames Research Center.  We're actually flying Common Lisp AI
code, developed in cooperation with JPL, on a technology validation
satellite, to be launched later this month.

See JPL's web page at www.jpl.nasa.gov, and look for the New Millenium
Deep Space One probe, for further details.
 -- Chuck


-- 
	    Chuck Fry -- Jack of all trades, master of none
 ······@chucko.com (text only please)  ········@home.com (MIME enabled)
Lisp bigot, mountain biker, car nut, sometime guitarist and photographer
From: Paolo Amoroso
Subject: Re: What is Lisp used for?
Date: 
Message-ID: <36179d7b.790862@news.mclink.it>
On 3 Oct 1998 17:02:36 -0700, ······@best.com (Chuck Fry) wrote:

> But I'm fortunate enough to work on autonomy software for a contractor
> at NASA Ames Research Center.  We're actually flying Common Lisp AI
> code, developed in cooperation with JPL, on a technology validation
> satellite, to be launched later this month.

Is there any publicly available information on that system? Why was Common
Lisp chosen? Were there other equally good alternatives?


Paolo
-- 
Paolo Amoroso <·······@mclink.it>
From: rusty craine
Subject: Re: What is Lisp used for?
Date: 
Message-ID: <6v6n51$qr0$1@excalibur.flash.net>
I am a hosptial pharmacist.  It is very difficult to write the prescriptions
for neonatal hyperalimentation (all calories and nutrients go through IV's -
using central or periphal veins).  The run rate volumes are small (2 to 12
mls/hr).  This leads to many questions:  can the ordered nutrients be
delivered in the volume orderd, will the calium and phosphate ions
precipitate, is the osmolarity appropriate for the route, etc, etc.  Below
are the top level of two lisp forms.  One is used to make the necessary
calcuation and flag any problems; the second is to run micro-pumps to pump
the large fluid volume into the IV bag (amino acid, h2o, and dextrose).  If
you have time to look the forms over you will only see one lisp symbol in
the two upper loops (defun).  Any hosptial Rx or Pediatrician could look at
the forms and would immediately understand what was happening and why it was
happening,  whether or not they knew lisp,   how to program, or anything
about 'puters at all.  Lisp is good!! :)
ps: if there are typeo's not to worry, I typed it in from memory.

; PEDI TPN
;definitions used in forms
; amino acid in gms/kg/24hrs             *inaa*
; percent of stock amino acids soln      *stkaa*
; volume in mls of amino acid to use     *volaa*
; dextrose percent of final solution     *finldexpct*
: percent of stock destrose              *stkdexpct*    note usually 50%
; volume of stock dextrose to use    *voldex*
; volume of sterile h20                      *volh2o*
; potassium in meq/kg/24hrs           *ink*
; potassium meq/ml of stock soln    *stkk*
; sodium in meq/kg/24hrs                 *inna*
; sodium meq/ml of stock soln          *stkna*
; posphate in mm/kg/24hrs               *inpo4*
; kp04 mm/ml of stock soln               *stkkpo4*
; napo4 mm/ml of stock soln              *stknapo4*
; * see note at bottom if interested in protcol
; calcium in gm/24                               *inca*
; ca gms/ml of stock soln                    *stkca*
; weight of neonate in kg                    *ptkg*
; run rate of tpn in mls/hr                     *mls*
; route of delivery                                 *route*    central  or
peripheral
; patient name, room, medical record #   *patdemo*
; date                                                    *date*
; physician                                           *doc*

(defun neonate-tpn-calculation (pharmacist)
  (enter-neonate-data)
  (calculate-24h-volume *mls*)
  (calculate-volume-of-dextrose *finldexpct* *stock-dextrose*)
  (calculate-volume-of-aminoacid *inaa* *stkaa*)
  (can-volume-of-aa-and-dextrose-be-delivered-in-run-rate)
  (calculate-k-na-po4-volumes)
  (calculate-ca-volume)
  (check-ion-phase-interface-ca-po4)
  (check-osmolarity *route*)
  (report-problems))

(defun pump-neonate-tpn (*patdemo* *date* *doc* *volaa* *voldex* *volh2o*)
 (contact-digiboard-aminoacid-port)
 (report-aminoacid-port-status)
 (contact-digiboard-dextrose-port)
 (report-dextrose-port-status)
 (contact-digiboard-h20-port)
 (report-h20-port-status)
 (confirm-stock-solutions-percents)
 (confirm-stock-solutions-ready)
 (pump-h20-volume *volh2o)
 (pump-aa-volume *volaa*)
 (pump-dextrose-volume *voldex*)
 (report-osmolarity)
 (report-final-weight-of-bag))

  ;note on na, k, po4 protocol
  ;the K is the limited ion, if PO4 can not be delivered as KPO4, the rest
will be
  ;delivered as NAPO4 even it Na exceeds prescribed meq/kg/24, calculate
needed
  ; NAPO4 if any then subtract the NA ion from the NA meq/kg/24.  If result
is negative
  ; report to physican to be adjusted if necessay on next TPN
From: Howard R. Stearns
Subject: Re: What is Lisp used for?
Date: 
Message-ID: <36191A65.4685F755@elwood.com>
·················@iaQUALITY-SPAMLESSNESS.net wrote:
> 
> Hi.
> 
> I've been primarily a C (and Java) programmer, but I
> recently started reading about Lisp, and have enjoyed
> what I have learned so far. But would someone(s) please
> tell me what Lisp is currently used for, and how much it is
> used now? I know that it has been used for AI programming in
> the past (that's what first caught my interest).
> 
> Thanks for any comments!
> 
> -Trevis Rothwell
>  ·······@ia.net

See "Lisp Applications" at
http://www.elwood.com/alu/table/applications.htm