[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wishlisp



Oliver Andrich writes:
 > Hi Harvey!
 > 
 > > Of course, another solution to the problem of communication between a
 > > lisp process & a wish process is to just use STk instead of clisp.
 > > 
 > > For those of you aren't familiar with it, STk is a scheme interpreter
 > > with Tk compiled in.  It allows you to write scheme scripts to access
 > > Tk for windowing instead of having to write Tcl scripts.  For example,
 > > I wrote a version of tetris in it.
 > 
 > I tried STk too. But I found that it doesn't have the nice features of
 > Common Lisp and needs as much resources as CLISP and a wish-task. I
 > like all powerful features Common Lisp provides. :-)

Of course, if you need the power, you're better off using Common Lisp
than re-implementing everything in scheme.  On the other hand, if you
don't, it's nice to have the smaller footprint.  However, the internet
Lisp archives are quite a bit more extensive than the scheme archives.
On the other hand, for basic added functionality, there's SLIB.

Perhaps you'd like winterp?  It's a lisp interface to Motif.  On the
plus side, it's lisp.  On the minus side it's Motif :).  The other
minus is that it's not common lisp, it's only xlisp :(.

It would be great if someone would develop a Tk interface to clisp.
Maybe someone can yank the Tk interface out of STk & adapt it to
clisp.  Or, perhaps if we wait for guile (the FSF's entry in the GUI
scripting wars), we can either use it, or rip out the Tk interface for
clisp.  The latter might be cleaner than using STk's interface,
because the FSF is presumably cleaning up the interface to make it
less Tcl like.

 > And STk is slow in comparison to CLISP, and even slower in comparison
 > to compiled CLISP-programs.
 > 

I didn't find that...  But I didn't do extensive testing.  I tried
doing 1000 factorial in each and found STk to beat out clisp slightly
(even when factorial was compiled).

Harvey J. Stein
hjstein@math.huji.ac.il