No Warranty Expressed Or Implied
Lisp, music, electronics, 3D   |   john at johnp.net, john at synchromesh.com   |   John Pallister   |   Wellington, New Zealand & Norfolk, England
(me)
2011: Jan ( 1) Feb ( 1) Mar      Apr      May      Jun      Jul      Aug      Sep      Oct      Nov      Dec     
2009: Jan      Feb      Mar      Apr      May      Jun      Jul      Aug      Sep      Oct ( 3) Nov      Dec     
2008: Jan      Feb ( 1) Mar ( 3) Apr      May ( 3) Jun ( 2) Jul ( 2) Aug      Sep ( 1) Oct ( 1) Nov      Dec     
2007: Jan      Feb      Mar      Apr      May      Jun      Jul      Aug ( 1) Sep      Oct      Nov      Dec     
2006: Jan ( 8) Feb      Mar ( 2) Apr      May      Jun      Jul      Aug      Sep      Oct      Nov ( 2) Dec ( 3)
2005: Jan      Feb      Mar ( 5) Apr ( 9) May ( 4) Jun ( 3) Jul (12) Aug (12) Sep ( 3) Oct (15) Nov ( 8) Dec ( 8)
2004: Jan ( 6) Feb      Mar ( 1) Apr      May      Jun      Jul ( 3) Aug      Sep ( 4) Oct ( 8) Nov ( 6) Dec     
2003: Jan      Feb      Mar      Apr (11) May (14) Jun (10) Jul ( 6) Aug ( 7) Sep ( 5) Oct      Nov ( 7) Dec ( 7)
2002: Jan      Feb      Mar      Apr      May      Jun      Jul      Aug      Sep      Oct      Nov      Dec ( 1)
RSS 2.0

02 Jun 2008 mod_lisp refresh for Win32 Apache 2.2.8
Walking on air

I have recompiled mod_lisp2.c against Apache 2.2.8 for Windows using Visual C++ Express 2008. mod_lisp itself only needs the include files and libraries that are an optional part of the Apache binary installation, but I downloaded the Apache source (that includes Visual Studio 6 project files) so that I could check the compiler and linker settings.

My slightly modified mod_lisp2.c, the Visual C++ 9 project file and the Release build of the module are available in a .zip file. Please note the title of this blog when considering whether to use any of it.

The diff looks like this:

*** ../../download/programming/Other Lisp stuff/mod_lisp2 - svn.c Tue Apr  8 23:33:07 2008
--- mod_lisp2.c Mon Jun  2 18:15:31 2008
***************
*** 443,451 ****
  {
    char crlf[2] =  {0xd, 0xa};
    char length[16];
!   snprintf(length, 16, "%x", n_bytes);
    
!   apr_status_t status = write_lisp_data (socket, length, strlen(length));
    if ( status == APR_SUCCESS)
      {
        status = write_lisp_data (socket, crlf, 2);
--- 443,453 ----
  {
    char crlf[2] =  {0xd, 0xa};
    char length[16];
!   apr_status_t status;
! 
!   apr_snprintf(length, 16, "%x", n_bytes);    // 2 Jun 08 JDP
    
!   status = write_lisp_data (socket, length, strlen(length));
    if ( status == APR_SUCCESS)
      {
        status = write_lisp_data (socket, crlf, 2);
[lisp] # .

19 Dec 2005 SBCL on Win32 progress
Via Christophe Rhodes, Alistair Bridgewater's progress on porting SBCL to Windows. Impressive stuff, but still a fair way to go. Brian Mastenbrook has some interesting comments, referring to the projects on the CL-Gardeners list:
If there were one Common Lisp which I could run on every platform — one which provided portability for applications using threads and doodads and whatsits without requiring me to GPL my code because I use some internal interface of that implementation — I would probably use it, even if it provided less performance than my current lisp of choice. When it comes down to it, I rarely need performance. No such flower or weed exists yet. If I were to plant it, I would not plant it in the garden of Common Lisp. For as much as I love working in this language I would not take the opportunity to implement any of the obvious advances in language design in the past twenty years and pass it by just to implement ANSI Common Lisp.

And then I think: why don't I just buy a couple of LispWorks licenses for my application development needs, and then use Factor as the FOSS, cross-platform, natively-compiled, metaprogramming-capable, embeddable language for Ngake? At least until Arc is ready, although that could be many years away...

Meanwhile, the CL-Gardeners list continues to throw up links to useful Lisp projects, like Chris Riesbeck's Lisp Critic.

Updated 21/12/05: Alistair has posted more information to the CL-Gardeners list.

[lisp] # .

17 Dec 2005 Some Lisp links I've come across recently
My daughter and I
[lisp] # .

06 Dec 2005 LispMe, and supporting cast
I would like to knock up a simple but customised timekeeping app to run on my semi-ancient Clié PDA (running PalmOS 4.1). Ideally I would've liked to use Python or Ruby or Tcl/Tk, that is, something that might've had a decent UI layer. But none of those seemed to be currently supported, so I went for LispMe, an R4RS Scheme compiler and runtime for PalmOS written by Fred Bayer. It looks quite nice, although I don't know whether editing source code via Graffiti is going to be much fun. Fred suggests pedit, so I've installed that as well. And TealMaster, and DateBk. Now I can have a go at working through The Little Schemer and The Seasoned Schemer, before one day tackling The Wizard Book (with the aid of the videos I've been downloading).
[lisp] # .

16 Oct 2005 A man can dream, can't he?
I'm aware that my weblog posts are almost entirely about things I've found and ideas I'd like to investigate, and hardly ever announce something I've actually completed myself. Oh well. All that could change at the end of the year, if I play my cards right.

Anyway, here is my current list of "cool things I'd like to do with Corman Lisp."

  1. Set up a patches page listing all the sets of patches people have prepared for Corman Lisp:
    • Chris Double's patches (if there are any that haven't already been folded into the official distribution)
    • Edi Weitz's ASDF patches
    • Espen Wiborg's SLIME patches
    • And of course any patches I manage to come up with...
    It occurred to me that a darcs repository with current versions of all these patches could be set up, and then zip files of modified sources containing any desired combination of patches could be automagically generated.
  2. Install Paul Dietz's GCL ANSI test suite and run it against Corman Lisp.
  3. Try to run Pascal Costanza's CLOS feature tests against Corman Lisp.
  4. Try to port Pascal's Closer to MOP compatibility layer to Corman Lisp.
  5. Install CFFI and Verrazano. Try to run them against the Torque Game Engine. Compare them to something based on the ideas behind FuBi.
  6. Get Corman Lisp to compile under GCC/MinGW, verified by the GCL ANSI test suite.
[lisp/corman] # .

14 Oct 2005 Corman Lisp & SLIME, part 4
I've made a local copy of Espen Wiborg's Corman Lisp SLIME stuff.
[lisp/corman] # .

13 Oct 2005 Lisp FFI links
LispNYC's Summer of Lisp funded a couple of Lisp FFI projects: FetterFFI and Hello-C. The former is now called Verrazano, and the latter has become the CFFI project, and is a backend for Verrazano (or VZN, as it seems to be known). At least they both look pretty active.

Reading the Fetter/VZN mailing list archives was interesting. It sounds like its at a pretty workable state. They don't seem to have found GCCXML to be a limiting factor, and their handling of overloaded names is, er, maximally straightforward.

[lisp] # .

10 Oct 2005 Lisp libraries and continuations
Chris Double links to a paper by Joe Marshall (whose FOG code I've linked to already) about implementing first-class continuations in languages like Java or C#. Must read.

And Gary King has finally posted about Lisp, and actually links to several libraries he's preparing for release. I often think that I should study people's Lisp utility libraries, as I'm sure that would be educational.

On the SLIME mailing list, someone linked to this new evaluator for SBCL.

[lisp] # .

25 Aug 2005 Closer project and ContextL - towards a better MOP
Via Chris Double's blog, the Closer project has a suite of MOP tests and a MOP compatibility layer designed to provide a consistent foundation for heavy MOP work across different Lisp implementations. Only tested on OS X so far by the looks of it, but it'd be amusing (OK, maybe educational) to throw it at Corman Lisp and see how far it gets.
[lisp] # .

11 Aug 2005 GLR parsers in Lisp
I had a little look around for GLR parsers in Lisp, and came across a post by Dan Knapp (who also has a useful-looking guide to proxying a Lisp web server with Apache). He links to an interesting-looking report on scannerless GLR parsing, which I shall print out and attempt to read. There's also dparser, a scannerless GLR parser written in C, which has a manual and looks quite complete.
[lisp] # .


powered by PyBlosxom powered by Nginx Python Paste