From abecerra@iie.ufro.cl Tue Jun 1 16:03:10 1999 Received: from lautaro.enlaces.ufro.cl (lautaro.enlaces.ufro.cl [200.13.0.1]) by seagull.cdrom.com (8.8.8/8.6.6) with ESMTP id QAA24591 for ; Tue, 1 Jun 1999 16:02:35 -0700 (PDT) Received: from doc92.dis.ufro.cl ([200.10.21.91]) by lautaro.enlaces.ufro.cl (8.8.8/8.8.8) with SMTP id UAA12241 for ; Tue, 1 Jun 1999 20:02:34 -0400 (SAT) Message-ID: <001c01beac7a$c89443a0$5b150ac8@doc92.dis.ufro.cl> From: "Anita Lilian" To: Subject: my question with CLisp Date: Tue, 1 Jun 1999 19:04:51 -0300 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0019_01BEAC61.A0B0D060" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 This is a multi-part message in MIME format. ------=_NextPart_000_0019_01BEAC61.A0B0D060 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have CLisp for Window 95=20 and mis questions are:=20 in the installation=20 what strings that to change in src/config.lsp?=20 to compile in Clisp=20 single is possible after writing=20 lisp =96M lispinit.mem I read in the Clisp.html=20 that is possible to compile with=20 clisp =96c filename=20 but don=B4t find the clisp.exe=20 and my last question=20 the compiler clisp create files * .exe or only * .fas * .lib=20 thanks Anita ------=_NextPart_000_0019_01BEAC61.A0B0D060 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

I have CLisp for Window 95

and mis questions are:

in the installation

what strings that=20 to change in src/config.lsp?

to compile in Clisp

single is possible after writing

lisp –M lispinit.mem

I read in the Clisp.html

that is possible to compile with

clisp –c filename

but don´t find the clisp.exe

 

and my last question

the compiler clisp create files * .exe or only * .fas * .lib

 

thanks

Anita

------=_NextPart_000_0019_01BEAC61.A0B0D060-- From abecerra@iie.ufro.cl Tue Jun 1 16:18:36 1999 Received: from lautaro.enlaces.ufro.cl (lautaro.enlaces.ufro.cl [200.13.0.1]) by seagull.cdrom.com (8.8.8/8.6.6) with ESMTP id QAA25124 for ; Tue, 1 Jun 1999 16:18:26 -0700 (PDT) Received: from doc92.dis.ufro.cl ([200.10.21.91]) by lautaro.enlaces.ufro.cl (8.8.8/8.8.8) with SMTP id UAA12560 for ; Tue, 1 Jun 1999 20:18:31 -0400 (SAT) Message-Id: <3.0.6.32.19990601192052.007ec960@iie.ufro.cl> X-Sender: abecerra@iie.ufro.cl X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Tue, 01 Jun 1999 19:20:52 -0300 To: clisp-list@clisp.cons.org From: Anita Lilian Subject: my questions Clisp (II) Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable excuse me for format my last mail=20 I have CLisp for Window 95=20 and mis questions are:=20 in the installation=20 what strings that to change in src/config.lsp?=20 to compile in Clisp=20 single is possible after writing=20 lisp -M lispinit.mem I read in the Clisp.html=20 that is possible to compile with=20 clisp -c filename=20 but don=B4t find the clisp.exe=20 and my last question=20 the compiler clisp create files * .exe or only * .fas * .lib=20 thanks Anita From haible@ilog.fr Wed Jun 2 10:07:34 1999 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by seagull.cdrom.com (8.8.8/8.6.6) with ESMTP id KAA04562 for ; Wed, 2 Jun 1999 10:07:27 -0700 (PDT) Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.1/8.9.1) with ESMTP id TAA22655 for ; Wed, 2 Jun 1999 19:10:07 +0200 (MET DST) Received: from jaures.ilog.fr ([172.17.4.75]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id TAA10744; Wed, 2 Jun 1999 19:10:08 +0200 (MET DST) From: Bruno Haible Received: (from haible@localhost) by jaures.ilog.fr (8.9.3/8.9.3) id TAA21370; Wed, 2 Jun 1999 19:09:37 +0200 (MET DST) Date: Wed, 2 Jun 1999 19:09:37 +0200 (MET DST) Message-Id: <199906021709.TAA21370@jaures.ilog.fr> To: clisp-list@seagull.cons.org Subject: Re: CLOS streams ? (Was: Streams as pipes?) In-Reply-To: References: Jörg Höhle writes: > > if you use a Common Lisp implementation that supports the Gray Proposal > > for CLOSified streams, this is a trivial exercise. ... > > How do CLISP's controller streams compare to that proposal? CLISP's old controller streams are equally powerful as the Gray streams, but the Gray streams are more elegant and more portable (at least across CLISP, CMUCL, ACL, LispWorks, as far as I know). > Is that proposal known to the larger Lisp community? Maybe it gets more known if I mention the URL: ftp://parcftp.xerox.com/pub/cl/cleanup/mail/stream-definition-by-user.mail Bruno From haible@ilog.fr Wed Jun 2 10:16:30 1999 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by seagull.cdrom.com (8.8.8/8.6.6) with ESMTP id KAA04846 for ; Wed, 2 Jun 1999 10:16:28 -0700 (PDT) Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.1/8.9.1) with ESMTP id TAA22865 for ; Wed, 2 Jun 1999 19:19:09 +0200 (MET DST) Received: from jaures.ilog.fr ([172.17.4.75]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id TAA11230; Wed, 2 Jun 1999 19:19:09 +0200 (MET DST) From: Bruno Haible Received: (from haible@localhost) by jaures.ilog.fr (8.9.3/8.9.3) id TAA21374; Wed, 2 Jun 1999 19:18:39 +0200 (MET DST) Date: Wed, 2 Jun 1999 19:18:39 +0200 (MET DST) Message-Id: <199906021718.TAA21374@jaures.ilog.fr> To: clisp-list@seagull.cons.org Subject: Re: my question with CLisp In-Reply-To: <001c01beac7a$c89443a0$5b150ac8@doc92.dis.ufro.cl> References: <001c01beac7a$c89443a0$5b150ac8@doc92.dis.ufro.cl> Anita Lilian , asks: > what strings that to change in src/config.lsp? You can change any of the functions therein. If you are not sure, you can leave it as they are. > I read in the Clisp.html > that is possible to compile with > > clisp -c filename > > but don't find the clisp.exe You are assumed to create a clisp.bat, says the README. If you don't do that, then use lisp.exe -M lispinit.mem -c filename to compile a file. > the compiler clisp create files * .exe or only * .fas * .lib Yes, it creates no *.exe. But you can create .bat files which call clisp with the right arguments, and it behave just like a .exe. Commercial Common Lisp implementations do create .exe files, but clisp does not, because noone volunteered for implementing this feature. Bruno From abecerra@lican.iie.ufro.cl Sat Jun 5 08:11:29 1999 Received: from lican.iie.ufro.cl (lican.enlaces.cl [200.13.0.35] (may be forged)) by seagull.cdrom.com (8.8.8/8.6.6) with ESMTP id IAA11204 for ; Sat, 5 Jun 1999 08:11:26 -0700 (PDT) Received: from doc92.dis.ufro.cl ([200.10.21.91]) by lican.iie.ufro.cl (8.8.7/8.8.8) with SMTP id IAA12621 for ; Sat, 5 Jun 1999 08:08:53 -0400 (SAT) Message-Id: <3.0.6.32.19990605111413.007fb560@lican.iie.ufro.cl> X-Sender: abecerra@lican.iie.ufro.cl X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Sat, 05 Jun 1999 11:14:13 -0300 To: clisp-list@seagull.cons.org From: Anita Lilian Subject: RE:my questions about Clisp Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" thanks !! for reply but now I have another questions ... please ... > >> the compiler clisp create files * .exe or only * .fas * .lib > >Yes, it creates no *.exe. But you can create .bat files which call clisp >with the right arguments, and it behave just like a .exe. mmm how can create *.bat files ? I try but ... nothing and how can see the error in an file ? I try with ">" but this non responde lisp.exe -M lispinit.mem -c filename > err.txt thanks Anita. From sds@goems.com Sat Jun 5 12:03:10 1999 Received: from smtp0-alterdial.uu.net (smtp0-alterdial.UU.NET [192.48.96.28]) by seagull.cdrom.com (8.8.8/8.6.6) with ESMTP id MAA13178 for ; Sat, 5 Jun 1999 12:03:09 -0700 (PDT) Received: from eho.eaglets.com by smtp0-alterdial.uu.net with ESMTP (peer crosschecked as: [208.235.77.238]) id QQgsie18132 for ; Sat, 5 Jun 1999 19:10:37 GMT Received: (from sds@localhost) by eho.eaglets.com (8.9.3/8.9.3) id PAA02590; Sat, 5 Jun 1999 15:06:01 -0400 Sender: sds@goems.com To: clisp-list@seagull.cons.org Subject: Re: my questions about Clisp References: <3.0.6.32.19990605111413.007fb560@lican.iie.ufro.cl> Return-Receipt-To: sds@goems.com Reply-To: sds@goems.com X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Anita Lilian's message of "Sat, 5 Jun 1999 08:12:50 -0700 (PDT)" Date: 05 Jun 1999 15:06:01 -0400 Message-ID: Lines: 36 X-Mailer: Gnus v5.7/Emacs 20.3 >>>> In message <3.0.6.32.19990605111413.007fb560@lican.iie.ufro.cl> >>>> On the subject of "RE:my questions about Clisp" >>>> Sent on Sat, 5 Jun 1999 08:12:50 -0700 (PDT) >>>> Honorable Anita Lilian writes: >> > >> >Yes, it creates no *.exe. But you can create .bat files which call clisp >> >with the right arguments, and it behave just like a .exe. >> >> how can create *.bat files ? >> I try but ... >> nothing Edit a file named "myfile.bat" and put there the following: --- cut here --- @lisp.exe -M lispinit.mem -m 10mb -i whatever.fas -x (main) --- cut here --- Put it somewhere in your path. Now you can type "myfile" in the shell window and it will start CLISP. This question is not really CLISP-related but rather DOS- or Win32-related. You might want to RTFM (Read The Fine Manual). Also, I must note that it would be nice if you could write in more complete sentences. Not everyone here is a native English speaker (e.g., my native language is Russian, Bruno's - German), and it is hard to understand your questions unless you try to improve your English. Good luck. -- Sam Steingold (http://www.goems.com/~sds) running RedHat6.0 GNU/Linux Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. If a train station is a place where a train stops, what's a workstation? From abecerra@lican.iie.ufro.cl Tue Jun 8 08:40:41 1999 Received: from lican.iie.ufro.cl (lican.enlaces.cl [200.13.0.35] (may be forged)) by seagull.cdrom.com (8.8.8/8.6.6) with ESMTP id IAA19039 for ; Tue, 8 Jun 1999 08:39:32 -0700 (PDT) Received: from doc92.dis.ufro.cl ([200.10.21.91]) by lican.iie.ufro.cl (8.8.7/8.8.8) with SMTP id IAA18417 for ; Tue, 8 Jun 1999 08:37:06 -0400 (SAT) Message-Id: <3.0.6.32.19990608114213.007ca5b0@lican.iie.ufro.cl> X-Sender: abecerra@lican.iie.ufro.cl X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Tue, 08 Jun 1999 11:42:13 -0300 To: clisp-list@seagull.cons.org From: Anita Lilian Subject: Re: my questions about Clisp In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hi I try do this: > >Edit a file named "myfile.bat" and put there the following: > >--- cut here --- >@lisp.exe -M lispinit.mem -m 10mb -i whatever.fas -x (main) >--- cut here --- > but ...... I still I have problem for to create an executable file of a file *.lsp I have max.lsp --------------- (max 3 4 5) ---------------- I compile ---------------------------------- lisp -M lispinit.mem -c max.lsp ------------------------------------ edit a file "max.bat ----------------------------------------------------------------- @lisp.exe -M lispinit.mem -m 10mb -i max.fas -x (main) ----------------------------------------------------------------- but appears ;;loading file max.fas ;;loading of file max .fas is finished *****EVAL undefined function MAIN which is my error? thanks... Anita. From sds@goems.com Tue Jun 8 09:01:40 1999 Received: from smtp0-alterdial.uu.net (smtp0-alterdial.UU.NET [192.48.96.28]) by seagull.cdrom.com (8.8.8/8.6.6) with ESMTP id JAA19537 for ; Tue, 8 Jun 1999 09:01:39 -0700 (PDT) Received: from eho.eaglets.com by smtp0-alterdial.uu.net with ESMTP (peer crosschecked as: [208.235.77.238]) id QQgssu04337 for ; Tue, 8 Jun 1999 16:04:57 GMT Received: (from sds@localhost) by eho.eaglets.com (8.9.3/8.9.3) id MAA11406; Tue, 8 Jun 1999 12:04:57 -0400 Sender: sds@goems.com To: Multiple recipients of list Subject: Re: my questions about Clisp References: <3.0.6.32.19990608114213.007ca5b0@lican.iie.ufro.cl> Return-Receipt-To: sds@goems.com Reply-To: sds@goems.com X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Anita Lilian's message of "Tue, 8 Jun 1999 08:42:15 -0700 (PDT)" Date: 08 Jun 1999 12:04:56 -0400 Message-ID: Lines: 81 X-Mailer: Gnus v5.7/Emacs 20.3 >>>> In message <3.0.6.32.19990608114213.007ca5b0@lican.iie.ufro.cl> >>>> On the subject of "Re: my questions about Clisp" >>>> Sent on Tue, 8 Jun 1999 08:42:15 -0700 (PDT) >>>> Honorable Anita Lilian writes: >> >> I try do this: >> > >> >Edit a file named "myfile.bat" and put there the following: >> > >> >--- cut here --- >> >@lisp.exe -M lispinit.mem -m 10mb -i whatever.fas -x (main) >> >--- cut here --- >> > >> >> but ...... I still I have problem for to create an executable file >> of a file *.lsp >> >> I have max.lsp >> --------------- >> (max 3 4 5) >> ---------------- >> >> >> I compile >> ---------------------------------- >> lisp -M lispinit.mem -c max.lsp >> ------------------------------------ >> >> >> edit a file "max.bat >> ----------------------------------------------------------------- >> @lisp.exe -M lispinit.mem -m 10mb -i max.fas -x (main) >> ----------------------------------------------------------------- >> >> but >> appears >> ;;loading file max.fas >> ;;loading of file max .fas is finished >> *****EVAL undefined function MAIN >> >> which is my error? your error is that you did not modify my recommendations to suit your situation. Try this: --- file1.lsp --- (print (max 1 2 3)) --- file1.lsp --- > lisp.exe -M lispinit.mem -c file1.lsp --- file1.bat --- @lisp.exe -M lispinit.mem -i file1.fas --- file1.bat --- > file1 - OR - --- file2.lsp --- (defun my-main-function () (print (max 1 2 3))) --- file2.lsp --- > lisp.exe -M lispinit.mem -c file2.lsp --- file2.bat --- @lisp.exe -M lispinit.mem -i file2.fas -x (my-main-function) --- file2.bat --- > file2 -i loads file, -x evaluates a form. -- Sam Steingold (http://www.goems.com/~sds) running RedHat6.0 GNU/Linux Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. A year spent in artificial intelligence is enough to make one believe in God. From jon@totient.demon.co.uk Sat Jun 19 07:18:53 1999 Received: from totient.demon.co.uk (jon@totient.demon.co.uk [158.152.119.202]) by seagull.cdrom.com (8.8.8/8.7.3) with ESMTP id HAA27930 for ; Sat, 19 Jun 1999 07:18:51 -0700 (PDT) Received: (from jon@localhost) by totient.demon.co.uk (8.8.7/8.8.7) id PAA01107; Sat, 19 Jun 1999 15:11:11 +0100 Date: Sat, 19 Jun 1999 15:11:11 +0100 Message-Id: <199906191411.PAA01107@totient.demon.co.uk> From: Jon Dyte MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: clisp-list@clisp.cons.org Subject: clisp as apache module proposal X-Mailer: VM 6.34 under 20.3 "Vatican City" XEmacs Lucid Hi I have been looking at the possibility of building an equivalent of either mod_perl / mod_python (PyApache) for Apache but using clisp. This would mean would could have an apache server with clisp already in it ready to execute lisp scripts or fasl files. This saves on the fork and execute "#!/usr/bin/env clisp .... " startup of conventional CGI. The first step would be to require that clisp be able to built as library say libclisp.a The next step would be to produce a small c module file which hooks our libclisp.a into the apache api. Finally we write some lisp modules using the clisp FFI which talk to the apache internal objects (ie when the server recieves a request) apache has that as an 'object' - we would need that 'object' to be accessible in clisp. I am unsure exactly how clisp is implemented, so just what would it take to build a library version? Where do I start? I am including the PyApache home page url, here, so people could get a feel for what's involved. In the moment, this looks do-able to me but I would appreciate any feedback. http://www.msg.com.mx/pyapache/ Jon From markr@sirs.com Wed Jun 23 12:48:30 1999 Received: from sirsmail.sirs.com (sirsmail.sirs.com [207.43.81.8]) by seagull.cdrom.com (8.8.8/8.7.3) with ESMTP id MAA14763 for ; Wed, 23 Jun 1999 12:48:28 -0700 (PDT) Received: from manpro27761 (net4.sirs.com [208.130.157.4]) by sirsmail.sirs.com (8.8.7/UW7.0.1) with SMTP id PAA20298 for ; Wed, 23 Jun 1999 15:49:34 -0400 (EDT) Message-ID: <005301bebdb1$d18f40c0$049d82d0@sirs.com> From: "Mark Reichert" To: Subject: 1999-01-08 and Win32 Date: Wed, 23 Jun 1999 15:51:42 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2014.211 I'm new to the list so if this question has been handled previously (I have read this year's archives), please forgive me. First off, the reason I built the 1999-01-08 source for Win32 was the problem that I can't run CLISP under Win98 (even with the -m startup suggestion) due to the invalid memory issue at startup--it works great under NT, though! Since I'm having problems with the 1999-01-08 source, I'm wondering first of all which version of the source the Win32 1998-09-09 executable was built with. Anyway, here's my problem: I've compiled the 1999-01-08 source for Win32 (Visual C++ 6.0 with service packs) and run into a problem when trying to load "init.lsp". Around the middle of the file (defun search-file...), the lisp interpreter goes into a loop of calling eval_subr over and over without making any forward progress through "init.lsp." If I carefully break it out of the loop--the easiest spot to get it out at the right place seems to be in eval.c: case (uintW)subr_argtype_0_0_rest: .. while (consp(args)) { check_STACK(); pushSTACK(Cdr(args)); /* restliche Argumente */ eval(Car(args)); /* nächstes Argument auswerten */ args = STACK_0; STACK_0 = value1; /* und in den STACK */ argcount++; } goto apply_subr_rest; --the load successfully completes (well, at least it complains about FORMAT or some other symbol not being defined, but this is the same thing that happens in the distributed 1998-09-09 CLISP executable, so I'm not too worried at this point) If anyone has any suggestions as to what to look for to prevent this loop (without me having to spend all too much time delving into the code), they'd be greatly appreciated. Thanks a lot and keep up the good work. From haible@ilog.fr Wed Jun 23 16:46:16 1999 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by seagull.cdrom.com (8.8.8/8.7.3) with ESMTP id QAA18242 for ; Wed, 23 Jun 1999 16:46:13 -0700 (PDT) Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id BAA19147 for ; Thu, 24 Jun 1999 01:47:14 +0200 (MET DST) Received: from jaures.ilog.fr ([172.17.4.75]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id BAA19491; Thu, 24 Jun 1999 01:47:20 +0200 (MET DST) From: Bruno Haible Received: (from haible@localhost) by jaures.ilog.fr (8.9.3/8.9.3) id BAA28651; Thu, 24 Jun 1999 01:46:38 +0200 (MET DST) Date: Thu, 24 Jun 1999 01:46:38 +0200 (MET DST) Message-Id: <199906232346.BAA28651@jaures.ilog.fr> To: clisp-list@seagull.cons.org Subject: Re: 1999-01-08 and Win32 In-Reply-To: <005301bebdb1$d18f40c0$049d82d0@sirs.com> References: <005301bebdb1$d18f40c0$049d82d0@sirs.com> Mark Reichert writes: > I'm new to the list so if this question has been handled previously (I have > read this year's archives), please forgive me. > > First off, the reason I built the 1999-01-08 source for Win32 was the > problem that I can't run CLISP under Win98 (even with the -m startup > suggestion) due to the invalid memory issue at startup--it works great under > NT, though! Since I'm having problems with the 1999-01-08 source, I'm > wondering first of all which version of the source the Win32 1998-09-09 > executable was built with. The source is available from the clisp home page, in this case more precisely from http://clisp.cons.org/~haible/clisp-archive/source/1998-09-09/ > Anyway, here's my problem: > > I've compiled the 1999-01-08 source for Win32 (Visual C++ 6.0 with service > packs) and run into a problem when trying to load "init.lsp". Around the > middle of the file (defun search-file...), the lisp interpreter goes into a > loop of calling eval_subr over and over without making any forward progress > through "init.lsp." I don't know what problem you are hitting there; the first thing I would try is to reduce the optimization options. MSVC++ 5.0 and 6.0 are known to have bugs in some of the optimization options which are on by default. You might also try the most recent sources at ftp://clisp.cons.org/pub/lisp/clisp/snapshots/ I have recently built NT binaries from that, with MSVC 4.0. You mileage with MSVC6 might vary. I've also uploaded binaries on the same location, and would be interested to hear how they work out on various versions of Windows (NT/95/98/00beta). Bruno From markr@sirs.com Thu Jun 24 05:03:51 1999 Received: from sirsmail.sirs.com (sirsmail.sirs.com [207.43.81.8]) by seagull.cdrom.com (8.8.8/8.7.3) with ESMTP id FAA27713 for ; Thu, 24 Jun 1999 05:03:50 -0700 (PDT) Received: from manpro27761 (net4.sirs.com [208.130.157.4]) by sirsmail.sirs.com (8.8.7/UW7.0.1) with SMTP id IAA05691 for ; Thu, 24 Jun 1999 08:05:02 -0400 (EDT) Message-ID: <001501bebe3a$192c8040$049d82d0@sirs.com> From: "Mark Reichert" To: References: <199906232346.BAA28651@jaures.ilog.fr> Subject: Re: 1999-01-08 and Win32 Date: Thu, 24 Jun 1999 08:07:14 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Thanks a lot for your response. I'll try out your binaries on NT and 98 (and maybe 2000 beta 3 when we have it up) and let you know how it goes. ----- Original Message ----- > You might also try the most recent sources at > ftp://clisp.cons.org/pub/lisp/clisp/snapshots/ > I have recently built NT binaries from that, with MSVC 4.0. You mileage > with MSVC6 might vary. > > I've also uploaded binaries on the same location, and would be interested > to hear how they work out on various versions of Windows (NT/95/98/00beta). > > Bruno From esg@felix.unife.it Fri Jun 25 08:25:00 1999 Received: from arbzi.zuhause.fe (e95.unife.it [192.167.219.95]) by seagull.cdrom.com (8.8.8/8.7.3) with ESMTP id IAA19237 for ; Fri, 25 Jun 1999 08:24:52 -0700 (PDT) Received: from localhost (esg@localhost) by arbzi.zuhause.fe (8.8.7/8.8.7) with ESMTP id SAA09081 for ; Fri, 25 Jun 1999 18:35:09 +0200 X-Authentication-Warning: arbzi.zuhause.fe: esg owned process doing -bs Date: Fri, 25 Jun 1999 18:35:08 +0200 (CEST) From: Josef Eschgfaeller X-Sender: esg@arbzi.zuhause.fe To: clisp-list@clisp.cons.org Subject: compile-file Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I'm looking for a very simple and quick method for compiling a collection of Lisp files. (1) It seems that Clisp requires that source file names end with ".lsp". Is there an option to override this? (2) Can one link the object files to an executable program? (3) Is there someone who has made a little makefile for all this? I'm rather new to Lisp, especially to everything which has to do with efficiency, implementation or compilation. For functions as the following (defun numbers (a b &optional (d 1)) (do ((x a (+ x d)) (li nil)) ((> x b) (nreverse li)) (push x li))) with compile-file or compiling this single function I obtain an improvement in speed by a factor 10, say. This is not so bad, but can one hope for better with a correct compilation technique? Thanks. J. Eschgfaeller From haible@ilog.fr Fri Jun 25 09:18:10 1999 Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10]) by seagull.cdrom.com (8.8.8/8.7.3) with ESMTP id JAA20193 for ; Fri, 25 Jun 1999 09:18:09 -0700 (PDT) Received: from laposte.ilog.fr (laposte [172.17.1.6]) by sceaux.ilog.fr (8.9.3/8.9.3) with ESMTP id SAA14680 for ; Fri, 25 Jun 1999 18:19:20 +0200 (MET DST) Received: from jaures.ilog.fr ([172.17.4.75]) by laposte.ilog.fr (8.9.3/8.9.3) with ESMTP id SAA06517; Fri, 25 Jun 1999 18:19:28 +0200 (MET DST) From: Bruno Haible Received: (from haible@localhost) by jaures.ilog.fr (8.9.3/8.9.3) id SAA09508; Fri, 25 Jun 1999 18:18:42 +0200 (MET DST) Date: Fri, 25 Jun 1999 18:18:42 +0200 (MET DST) Message-Id: <199906251618.SAA09508@jaures.ilog.fr> To: clisp-list@clisp.cons.org Subject: Re: compile-file [Message forwarded from Sam Steingold.] >>>> In message >>>> On the subject of "compile-file" >>>> Sent on Fri, 25 Jun 1999 08:27:33 -0700 (PDT) >>>> Honorable Josef Eschgfaeller writes: >> I'm looking for a very simple and quick method for compiling a collection >> of Lisp files. >> >> (1) It seems that Clisp requires that source file names end with ".lsp". >> Is there an option to override this? (apropos "file-type") will give you `system::*source-file-types*' >> (2) Can one link the object files to an executable program? see ftp://cellar.goems.com/pub/clisp/impnotes.html#app-dev >> (3) Is there someone who has made a little makefile for all this? you can use defsystem.lsp from your favorite lisp archive or http://www.goems.com/~sds/data/cllib.zip http://www.goems.com/~sds/software.html I have a makefile for lisps and a simple make implemented in lisp. >> I'm rather new to Lisp, especially to everything which has to do >> with efficiency, implementation or compilation. For functions as the >> following >> >> (defun numbers (a b &optional (d 1)) >> (do ((x a (+ x d)) (li nil)) >> ((> x b) (nreverse li)) (push x li))) I would write this as (loop for x from a to b by d collect x) >> with compile-file or compiling this single function I obtain an >> improvement in speed by a factor 10, say. This is not so bad, but >> can one hope for better with a correct compilation technique? You should concentrate on using a better algorithm and forget the micro-optimizations. I use the declaration (declaim (optimize (speed 3) (space 0) (safety 3) (debug 3))) note that it will make no difference in CLISP (and probably little difference in ACL and CMUCL since this sets safety and debug to high values; to get CMUCL execute your double floats faster than C, use (declaim (optimize (speed 3) (space 0) (safety 0) (debug 0))) please note that you probably do NOT really need this kind of speed). -- Sam Steingold (http://www.goems.com/~sds) running RedHat6.0 GNU/Linux Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. Hard work has a future payoff. Laziness pays off NOW. From esg@felix.unife.it Fri Jun 25 15:02:42 1999 Received: from arbzi.zuhause.fe (e117.unife.it [192.167.219.117]) by seagull.cdrom.com (8.8.8/8.7.3) with ESMTP id PAA26281 for ; Fri, 25 Jun 1999 15:02:38 -0700 (PDT) Received: from localhost (esg@localhost) by arbzi.zuhause.fe (8.8.7/8.8.7) with ESMTP id BAA09886 for ; Sat, 26 Jun 1999 01:09:58 +0200 X-Authentication-Warning: arbzi.zuhause.fe: esg owned process doing -bs Date: Sat, 26 Jun 1999 01:09:57 +0200 (CEST) From: Josef Eschgfaeller X-Sender: esg@arbzi.zuhause.fe To: clisp-list@clisp.cons.org Subject: compile-file Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Bruno Haible wrote: > system::*source-file-types* Thanks. But I tried now (push (make-pathname) system::*source-file-types*) but compile-file still requires the suffix ".lsp". J. Eschgfaeller From sds@goems.com Fri Jun 25 16:24:02 1999 Received: from chmls05.mediaone.net (ne.mediaone.net [24.128.1.70]) by seagull.cdrom.com (8.8.8/8.7.3) with ESMTP id QAA27817 for ; Fri, 25 Jun 1999 16:24:00 -0700 (PDT) Received: from dub.podval.org (dub.ne.mediaone.net [24.218.14.36]) by chmls05.mediaone.net (8.8.7/8.8.7) with ESMTP id TAA21229 for ; Fri, 25 Jun 1999 19:25:22 -0400 (EDT) Received: (from sds@localhost) by dub.podval.org (8.9.3/8.9.3) id TAA04921; Fri, 25 Jun 1999 19:25:23 -0400 To: Multiple recipients of list Subject: Re: compile-file References: Return-Receipt-To: sds@goems.com Reply-To: sds@goems.com X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never From: Sam Steingold In-Reply-To: Josef Eschgfaeller's message of "Fri, 25 Jun 1999 15:03:09 -0700 (PDT)" Date: 25 Jun 1999 19:25:23 -0400 Message-ID: Lines: 28 X-Mailer: Gnus v5.5/Emacs 20.3 >>>> In message >>>> On the subject of "compile-file" >>>> Sent on Fri, 25 Jun 1999 15:03:09 -0700 (PDT) >>>> Honorable Josef Eschgfaeller writes: >> Bruno Haible wrote: >> >> > system::*source-file-types* >> >> Thanks. But I tried now >> >> (push (make-pathname) system::*source-file-types*) what do you think this is supposed to accomplish? did you evaluate system::*source-file-types* after you did this? >> but compile-file still requires the suffix ".lsp". of course. please try (push (make-pathname :type ".lisp") system::*source-file-types*) -- Sam Steingold (http://www.goems.com/~sds) running RedHat6.0 GNU/Linux Micros**t is not the answer. Micros**t is a question, and the answer is Linux, (http://www.linux.org) the choice of the GNU (http://www.gnu.org) generation. Whether pronounced "leenooks" or "line-uks", it's better than Windows. From hoehle@mmkmail.gmd.de Mon Jun 28 01:33:23 1999 Received: from mail.gmd.de (mail.gmd.de [129.26.8.90]) by seagull.cdrom.com (8.8.8/8.7.3) with ESMTP id BAA07203 for ; Mon, 28 Jun 1999 01:33:18 -0700 (PDT) Received: from zappa.gmd.de (zappa.gmd.de [129.26.166.1]) by mail.gmd.de (8.8.8/8.8.8) with ESMTP id KAA15893 for ; Mon, 28 Jun 1999 10:34:55 +0200 (MET DST) Received: from localhost (hoehle@localhost) by zappa.gmd.de (8.9.3/8.9.3) with ESMTP id KAA28189 for ; Mon, 28 Jun 1999 10:34:55 +0200 Date: Mon, 28 Jun 1999 10:34:55 +0200 (MEST) From: Joerg Hoehle X-Sender: hoehle@zappa.gmd.de cc: Multiple recipients of list Subject: Re: compile-file In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi, On Fri, 25 Jun 1999, Sam Steingold wrote: > (push (make-pathname :type ".lisp") system::*source-file-types*) Shouldn't that be (make-pathname :type "lisp")? You shouldn't rely on the dot being the separator of name and type. CL tries to avoid such filesystem dependencies. Using "/" or "." in code is probably as wrong as using EVAL. Regards, Jo"rg Ho"hle. Joerg.Hoehle@gmd.de http://zeus.gmd.de/~hoehle/amiga.html