From: Ken A. <kan...@bb...> - 2004-09-15 15:00:04
|
We'll, you could run jscheme as a server perhaps. Unfortunately, this example does not work for me on Cygwin on Windows 2000. I get: /usr/bin/env: java -jar ~/jschem/lib/jscheme.jar not found. Can you see if this or some variant will work in your unix environment? k At 06:18 PM 9/14/2004 -0400, Geoffrey Knauth wrote: >On Sep 14, 2004, at 17:18, Ken Anderson wrote: >>Here's a way to make JScheme scripts executable from the UNIX command line. >> >>#! /bin/env java -jar ~/jscheme/lib/jscheme.jar >>(load "elf/basic.scm") >>(print (Date.)) > >That's great! Now if only java could remain in memory so that startup would be faster, the way servlets do. You could start a java listener then the command line would invoke a client that sends it messages. > >Geoffrey >-- >Geoffrey S. Knauth | http://knauth.org/gsk |