From: Marc Battyani
Subject: Looking for a small embeddable Lisp
Date: 
Message-ID: <cu5fs8$h6r@library2.airnews.net>
I'm looking for some embeddable Lisp to put on my SoC (System on Chip).
Basically it's a small system with an FPGA with a 8M flash, a 16M SDRAM and
an Ethernet interface. The processor is a 32 bits soft processor in the
FPGA. (NIOS II for those interested)

This can be programmed in C without any OS or with uCLinux (It's Linux 2.6.x
without virtual memory). The cross-compiler is gcc.
I just need socket support (client and server) and preferably
multi-threading (if its available)

I'm looking for a Common Lisp so what do you think of ECL, GCL, CLisp for
this ?
If no Common Lisp can fit into this then what do you think of a Scheme to C
like Chicken (it has tinyclos, format, etc...). OK, it's not Common Lisp but
it's better than raw C...

Any experience/comments on all this ?
What memory size do they need ?

It's for a real life device so reliability is the most important point.

Same questions with a WinCE ARM board as a target.

Thanks,

Marc

From: Wade Humeniuk
Subject: Re: Looking for a small embeddable Lisp
Date: 
Message-ID: <JyrNd.9320$gA4.2268@edtnps89>
Marc Battyani wrote:
> I'm looking for some embeddable Lisp to put on my SoC (System on Chip).
> Basically it's a small system with an FPGA with a 8M flash, a 16M SDRAM and
> an Ethernet interface. The processor is a 32 bits soft processor in the
> FPGA. (NIOS II for those interested)
> 
> This can be programmed in C without any OS or with uCLinux (It's Linux 2.6.x
> without virtual memory). The cross-compiler is gcc.
> I just need socket support (client and server) and preferably
> multi-threading (if its available)
> 
> I'm looking for a Common Lisp so what do you think of ECL, GCL, CLisp for
> this ?
> If no Common Lisp can fit into this then what do you think of a Scheme to C
> like Chicken (it has tinyclos, format, etc...). OK, it's not Common Lisp but
> it's better than raw C...
> 

You forgot Thinlisp

http://www.thinlisp.org/
http://sourceforge.net/projects/thinlisp

Wade
From: Marc Battyani
Subject: Re: Looking for a small embeddable Lisp
Date: 
Message-ID: <cu5h6q$ifh@library2.airnews.net>
"Wade Humeniuk" <··················@telus.net> wrote
> Marc Battyani wrote:
> > I'm looking for some embeddable Lisp to put on my SoC (System on Chip).
> > Basically it's a small system with an FPGA with a 8M flash, a 16M SDRAM
and
> > an Ethernet interface. The processor is a 32 bits soft processor in the
> > FPGA. (NIOS II for those interested)
> >
> > This can be programmed in C without any OS or with uCLinux (It's Linux
2.6.x
> > without virtual memory). The cross-compiler is gcc.
> > I just need socket support (client and server) and preferably
> > multi-threading (if its available)
> >
> > I'm looking for a Common Lisp so what do you think of ECL, GCL, CLisp
for
> > this ?
> > If no Common Lisp can fit into this then what do you think of a Scheme
to C
> > like Chicken (it has tinyclos, format, etc...). OK, it's not Common Lisp
but
> > it's better than raw C...
> >
>
> You forgot Thinlisp

No but it does not seems to be maintained anymore and I don't think it has a
socket interface.

Marc
From: Wade Humeniuk
Subject: Re: Looking for a small embeddable Lisp
Date: 
Message-ID: <4vtNd.14551$tU6.9642@edtnps91>
Marc Battyani wrote:

> 
> No but it does not seems to be maintained anymore and I don't think it has a
> socket interface.
> 

Seemed may the word.  Does it work though?  I assume its socket
interface is whatever the underlying OSes C interface is.  When
I used Scheme->C it had not been updated for more years then
Thinlisp has, but it still worked and I never found a problem
with it (though continuations did not seem to be garbage
collected on Solaris, though I have been told that was
a problem with Solaris, not Scheme->C).  The appealing
thing about Thinlisp is that it says you can cross develop
under another CL (like ACL or LW) and then deliver your
executable.  Also Thinlisp has no garbage collector, so
one does not have to worry about that.  For the cross
development I assume you have to write some kind of
testing stubs to exercise the code.

I assume the developers of Thinlisp are still alive.

Wade
From: Marc Battyani
Subject: Re: Looking for a small embeddable Lisp
Date: 
Message-ID: <cu5p2n$d3t@library2.airnews.net>
"Wade Humeniuk" <··················@telus.net> wrote:
> Marc Battyani wrote:
>
> > No but it does not seems to be maintained anymore and I don't think it
has a
> > socket interface.
>
> Seemed may the word.  Does it work though?  I assume its socket
> interface is whatever the underlying OSes C interface is.  When
> I used Scheme->C it had not been updated for more years then
> Thinlisp has, but it still worked and I never found a problem
> with it (though continuations did not seem to be garbage
> collected on Solaris, though I have been told that was
> a problem with Solaris, not Scheme->C).  The appealing
> thing about Thinlisp is that it says you can cross develop
> under another CL (like ACL or LW) and then deliver your
> executable.  Also Thinlisp has no garbage collector, so
> one does not have to worry about that.  For the cross
> development I assume you have to write some kind of
> testing stubs to exercise the code.

OK but it's not Common Lisp nor Scheme. And no garbage collector + no
sockets does not seems appealing to me.
From-the doc:
"ThinLisp avoids the cost of the garbage collection and the cost of
maintaining the data that makes garbage collection possible. This means that
Lisp programmers must adopt the discipline of the C programmer in knowing
where memory is allocated and where it is reclaimed."

Have you (or anybody) used it recently ?

Marc
From: Wade Humeniuk
Subject: Re: Looking for a small embeddable Lisp
Date: 
Message-ID: <tVBNd.14050$L_3.4120@clgrps13>
Marc Battyani wrote:

> 
> Have you (or anybody) used it recently ?
> 

Not me.

Wade
From: Marc Battyani
Subject: Re: Looking for a small embeddable Lisp
Date: 
Message-ID: <cu69bu$j0j@library2.airnews.net>
I wrote:
> I'm looking for some embeddable Lisp to put on my SoC (System on Chip).
> Basically it's a small system with an FPGA with a 8M flash, a 16M SDRAM
and
> an Ethernet interface. The processor is a 32 bits soft processor in the
> FPGA. (NIOS II for those interested)
>
> This can be programmed in C without any OS or with uCLinux (It's Linux
2.6.x
> without virtual memory). The cross-compiler is gcc.
> I just need socket support (client and server) and preferably
> multi-threading (if its available)
>
> I'm looking for a Common Lisp so what do you think of ECL, GCL, CLisp for
> this ?
> If no Common Lisp can fit into this then what do you think of a Scheme to
C
> like Chicken (it has tinyclos, format, etc...). OK, it's not Common Lisp
but
> it's better than raw C...
>
> Any experience/comments on all this ?
> What memory size do they need ?
>
> It's for a real life device so reliability is the most important point.
>
> Same questions with a WinCE ARM board as a target.

I forgot OpenLisp (which is an ISLisp implementation) in my list of possible
choices.
It looks like it could nicely fit the requirements and it's probably closer
to Common Lisp than Scheme.

Marc
From: Christian Jullien
Subject: Re: Looking for a small embeddable Lisp
Date: 
Message-ID: <42071090$0$2199$8fcfb975@news.wanadoo.fr>
Sure, OpenLisp may meet your needs.
It has a small memory footprint, already runs on PocketPC, may run on 
non-virtual memory system, is closer to CL than to Scheme, by desing can be 
embedded in other systems (even Java), has a strong socket support that let 
it run as httpd server.

Only multi-threading is not part of your whish list.

"Marc Battyani" <·············@fractalconcept.com> wrote in message 
···············@library2.airnews.net...
>I wrote:
>> I'm looking for some embeddable Lisp to put on my SoC (System on Chip).
>> Basically it's a small system with an FPGA with a 8M flash, a 16M SDRAM
> and
>> an Ethernet interface. The processor is a 32 bits soft processor in the
>> FPGA. (NIOS II for those interested)
>>
>> This can be programmed in C without any OS or with uCLinux (It's Linux
> 2.6.x
>> without virtual memory). The cross-compiler is gcc.
>> I just need socket support (client and server) and preferably
>> multi-threading (if its available)
>>
>> I'm looking for a Common Lisp so what do you think of ECL, GCL, CLisp for
>> this ?
>> If no Common Lisp can fit into this then what do you think of a Scheme to
> C
>> like Chicken (it has tinyclos, format, etc...). OK, it's not Common Lisp
> but
>> it's better than raw C...
>>
>> Any experience/comments on all this ?
>> What memory size do they need ?
>>
>> It's for a real life device so reliability is the most important point.
>>
>> Same questions with a WinCE ARM board as a target.
>
> I forgot OpenLisp (which is an ISLisp implementation) in my list of 
> possible
> choices.
> It looks like it could nicely fit the requirements and it's probably 
> closer
> to Common Lisp than Scheme.
>
> Marc
>
> 
From: Pascal Costanza
Subject: Re: Looking for a small embeddable Lisp
Date: 
Message-ID: <cu7dg6$mav$2@snic.vub.ac.be>
Marc Battyani wrote:
> I'm looking for some embeddable Lisp to put on my SoC (System on Chip).
> Basically it's a small system with an FPGA with a 8M flash, a 16M SDRAM and
> an Ethernet interface. The processor is a 32 bits soft processor in the
> FPGA. (NIOS II for those interested)
> 
> This can be programmed in C without any OS or with uCLinux (It's Linux 2.6.x
> without virtual memory). The cross-compiler is gcc.
> I just need socket support (client and server) and preferably
> multi-threading (if its available)
> 
> I'm looking for a Common Lisp so what do you think of ECL, GCL, CLisp for
> this ?
> If no Common Lisp can fit into this then what do you think of a Scheme to C
> like Chicken (it has tinyclos, format, etc...). OK, it's not Common Lisp but
> it's better than raw C...

Another option that seems to be quite good (if everything is true that's 
written on the website) is OpenLisp, an implementation of ISLISP. 
(ISLISP is basically a subset of Common Lisp, with some deviations.) See 
www.eligis.com/

(I have no experience with it, though.)


Pascal