Subject: Re: embedded systems
From: rpw3@rpw3.org (Rob Warnock)
Date: Mon, 06 Sep 2004 22:55:13 -0500
Newsgroups: comp.lang.lisp
Message-ID: <1pKdnRc1UNy8rKDcRVn-iw@speakeasy.net>
George Neuner  <gneuner2/@comcast.net> wrote:
+---------------
| "Jeff" <jma@nospam.insightbb.com> wrote:
| > I've never even heard of Lisp being used in embedded devices ...
| 
| Not Lisp ... however, Rick Kelsey and Jonathan Rees ... [Pre-Scheme]...
| Both papers sort of conclude that a host high level features must be
| sacrificed to effectively marry Scheme to hardware.  It is likely that
| many similar sacrifices would be necessary for Lisp.
+---------------

At the extreme of that, one can always simply write an S-expr notation
assembler [look for references to "LAP" (Lisp Assembler Program) in
old Lisps], and then wrap arbitrarily-complex Lisp macros around that,
letting one get as close to the iron as one could wish. [I have used
that on a couple of projects.]

Also see Aubrey Jaffer's "Schlep" compiler for a subset of Scheme for
a similar approach, only targeting C instead of assembler:

    <http://swiss.csail.mit.edu/~jaffer/Work/scm95-2>
    <http://swiss.csail.mit.edu/~jaffer/Docupage/schlep.html>
    <http://swiss.csail.mit.edu/~jaffer/Docupage/schlep.scm>

As he notes in the first URL above, he's been using the output of
Schlep in device drivers!  ;-}


-Rob

-----
Rob Warnock			<rpw3@rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607