[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 1. with-wish 2. *read-eval*
> Thanks for the reply!
> Sam Shteingold <firstname.lastname@example.org> wrote:
> More to the subject of with-wish - this would require *me* to
> recompile wish. Which is not an option (for me).
Even if your wish can not have stdio and windows you can do something
like wish-wish. It is easy - hmm - ok not very difficult ;-)
to write a little read-eval loop in tcl that does not listen to stdio
but to a socket (or to a named pipe if windows has something like
that). I don't know if clisp-win32 currently supports sockets. Even if
that is not true you can write a little script, that runs in tclsh,
listens to stdio and forwards what it reads from stdin to the socket
where wish is listening and passes the replies from the socket back to
You have three processes hanging around which is not soooooo good, but
even Windows should be able to handle three processes today (whow!).
I have not done it, but I'm shure you can make it work.
Unfortunately that approach does not help you with gnuplot :-(
And now my two cents for the GUI discussion:
TCL is as someone else stated recently on this list a *very* powerful
language. Believe him, trust him, he is right!
Especially if you use Tcl (only) to build your GUI it's hard to beat.
I am convinced it is not worth the effort to build something like TK
into (C)Lisp. It's a *LOT* of work, you have to reinvent many wheels and
what will you get finally? A big fat system that will almost certainly
be weaker than what the combination of (C)Lisp and Tcl/Tk gives you
today - for free (look at STk).
I have tried different built-in GUIs for CommonLisp (Lucid with
LispView, Allegro with CommonWindows, CLISP with StdWin, CLIO).
Forget it - period.
That's why I wrote with-wish.
Just my opinion...