Here is some simple networking code, that also has documentation for
simple lisp constructs. I know a lot of you have been asking for
examples of projects to you get you started in lisp. This is mine. I
worked on a similar java program and this one a whole lot less time to
create. And I timed myself. In java, you have to type out the
includes, then build the class, the variables, the exception handling,
basically, you spend a lot of time writing prep code as opposed to the
actual code. With lisp, you can start with open socket, to read-line
to write-bytes, to write-line.
I started a python one too, better than java, but you still had to
worry a lot about the syntax as opposed to writing the core app.
Here is my link,
http://www.retroevolution.com/beta/lisp_early_ftp.htm
From: Matthew Danish
Subject: Re: Simple Applications for learning FTP
Date:
Message-ID: <87k6rrp4t4.fsf@mapcar.org>
Related note: do you know what was wrong with cl-ftp on clisp/win32?
I remember finding a problem, but didn't have time to debug it.
--
;; Matthew Danish -- user: mrd domain: cmu.edu
;; OpenPGP public key: C24B6010 on keyring.debian.org
I found a couple of thinks wrong with cl-ftp, the clisp code needed
'socket-connect ... as opposed to whatever it had. Also, I think on
connect, it didnt receive properly, so the application hung. I never
did get it to work, the code is pretty small so it is probably not hard
to change. There is a lot in the rfc that could also be added.
Oh yea, normally with write-string you expect a (format nil "~A~C~C"
some-line return newline) ....but with windows or win32 or something, I
replaced with
(format nil "~A~C" ....because the the 0x0D had already been added, I
dont know from where. So if you use \r\n ...you will get \r\r\n, but
you really want \r\n