Wordpress Themes
Feb 09

The Dandelion environments have been changed to newer versions. And there is finally support for Intel Macs and SBCL on Windows:

[CLISP]

Mac (PPC) – 2.4.8
Mac (Intel) – 2.4.8
Linux – 2.4.4
Windows – 2.4.8

[SBCL]
Mac (PPC) – 1.0.22
Mac (Intel) – 1.0.33
Linux – 1.0.29
Windows – 1.0.29

There is also a little change in the Eclipse plugin itself. It’s now possible to change the environment of existing projects. To do this, you have to right click on your Lisp project, select the Lisp property page and choose the new environment in the combo-box.

Apr 03

Some environment plugins have been changed to more recent versions:

[CLISP]
Mac – 2.4.3
Linux – 2.4.1
Windows – 2.4.4

[SBCL]
Mac – 1.0.15
Linux – 1.0.0

Because I changed the plugin ids you might not get a notification about the new versions from the Eclipse Update Manager. Please reinstall in this case the plugin via the update manager.

Feb 16

Here is a nice video interview with John McCarthy (the inventor of Lisp) on InfoQ:

http://www.infoq.com/interviews/mccarthy-elephant-2000

He talks about Elephant 2000 and as he is asked to compare Ruby with Lisp he answers this:

“I don’t know enough for example about Ruby to know in what way it’s related to Lisp. Does it use, for example, list structures as data. So if you want to compute with sums and products, you have to parse every time? So, in that respect Ruby still isn’t up to where Lisp was in 1960.”

Jan 04

I updated the Hunchtoot Bundle to the latest version 0.15.0 of Hunchentoot. Some libraries were also updated.

The bundle was tested under these implementations:

  • Windows (Vista): LispWorks Personal 5.0.1, CLISP 2.43
  • MacOS X (10.4, ppc): LispWorks Personal 5.0.2, SBCL 1.0.5

If you are using Windows you need to install two dll-files for the SSL-Support. You find these two files in the folder win32 after you unzipped the bundle zip-file. Just copy them to your system32 folder.

Bundle download: http://download.defmacro.de/lisp/hunchentoot-bundle_0.15.0_b1.zip

Aug 09

I’m currently experimenting with Lisp and web programming. First step: Find a Lisp web server. I choosed Hunchentoot because it runs on SBCL and is supported by Lisp superstar Edi Weitz :) . Second step: Install Load the server. Easy enough, but Hunchentoot has some dependencies (and these dependencies have some dependencies too) which make this a not so easy step.

So, I decided to make a Hunchentoot bundle which you can download here and saves you the boring task to resolve all dependencies. The bundle contains a very simple load script (load.lisp) you can use to comfortably load the server. But before you load this file you need to customize it. Simply set the variable *hunchentoot-base* to the folder which contains the load file.

Additional to the server and the dependencies the bundle contains HT-AJAX by Ury Marshak.

I tested the bundle with following Lisp implementation and OSs successfully:

  • Windows: LispWorks Personal 5.0.1
  • Linux (Kubuntu): SBCL 1.0.0, SBCL 1.0.7
  • MacOS X: LispWorks Personal 5.0.1, SBCL 1.0.2

Bundle download: http://download.defmacro.de/lisp/hunchentoot_0.11.1_b1-bundle.zip

Aug 02

Woher der Name Dandelion (engl. für Löwenzahn, Butterblume)?

Jedes ernsthafte Programm braucht heutzutage natürlich ein griffigen Namen und der sollte auch irgendwo passend sein. Der Name für mein Plugin stammt aus dem Pink Floyd Song Flaming:

“Sleeping on a dandelion.”

Als ich das Plugin entwickelt habe, habe ich recht viel Pink Floyd gehört. Die Songstelle hat mir längere Zeit im Ohr gelegen, weshalb ich letztlich den Name gewählt habe.

Worauf ich aber eigentlich hinaus will, ist aber was anderes. Nachdem der Name schon festgelegt wurde (“endgültig”, die Abschlussarbeit wurde schon abgegeben) habe ich festgestellt, dass Dandelion ebenfalls der Name einer alten (Achtung! Im Lisp Kontext hat alt eine etwas andere Bedeutung) Lisp-Machine ist! Und zwar handelt es sich genau um eine Xerox 1108 aus dem Jahre 1981. Ein interessanter Fakt! So passt der Name dann auch schließlich zum Programm :)

Jul 29

I recently uploaded a new version of Dandelion (Version 1.0.5). The new features are:

  • Support for Eclipse Europa (3.3)
  • SBCL as bundled environment (at least for MacOS and Linux)

So, you can now install Dandelion with CLISP or SBCL, or even both if you like! The Windows version of SBCL makes some problems, but I hope to upload this version in a few days.

If you find any bugs, please report it here:

Sourceforge Bugreport Site

Jul 23

Erster Eintrag im neuen Blog! Da das Thema des Blog ‘mostly Lisp’ ist, denke ich, dass hier ein Eintrag über mein Hauptprojekt Dandelion angebracht ist :) .

Dandelion ist ein Plugin für die Eclipse-Plattform. Es fügt Eclipse verschiedene Erweiterungen für die Lisp-Entwicklung hinzu. Der Hauptteil ist dabei natürlich ein spezieller Lisp-Editor mit dem (hoffentlich) sehr komfortabel Lisp-Dateien bearbeitet werden können. Das Plugin bietet folgende Funktionalitäten:

  • Dateiverwaltung (Eclipse-Projekte, Verwaltung in Ordnerstrukturen)
  • Syntaxhervorhebung
  • Quelltextfaltung für Top-Level-Forms
  • Automatische Quelltextformatierung
  • Syntaxanalyse ‘as you type’ (bisher beschränkt auf: Klammerstruktur, defun, defmacro, in-package, lambda)
  • Komplettierungsvorschläge für Funktionen, Makros und Pakete
  • Interaktive Evaluierung, auswerten von Lisp-Ausdrücken direkt aus dem Editor heraus
  • Editor-Outline
  • Listener
  • Apropos-Ansicht
  • Integrierte CLISP-Umgebung, SBCL in Vorbereitung (andere Lisp-Implementierung können über den Einstellungsdialog hinzugefügt werden)

Daneben können bereits in Eclipse vorhandene Funktionen verwendet werden. Wie zum Beispiel CVS, Taskverwaltung, Historie.

Für alle die Interesse haben das Plugin auszuprobieren, hier noch eine kurze Installationsanleitung für den Eclipse Update-Manager:

  1. Menü Help > Software Update > Find and Install… auswählen
  2. Search for new features to install auswählen
  3. Im nächsten Dialog eine neue Remote Site… anlegen (Name: Dandelion, URL: http://dandelion-ecl.sourceforge.net/update/) eintragen
  4. Danach mit Finish die Suche nach neuen Plugins starten, im erscheinenden Dialog kann jetzt die gewünschte Version ausgewählt werden
  5. Installation des Plugins und Neustart von Eclipse
  6. Fertig.

Hinweis: Probleme gibts noch mit der aktuellen Eclipse Version 3.3. Beim Anlegen eines Lisp-Projektes und einer Lisp-Datei wird eine NPE-Exception geworfen. Das angelegte Projekt oder die Datei können aber trotzdem verwendet werden. In den nächsten Tagen werde ich den Fehler noch beseitigen (und evtl. die SBCL-Version einstellen) .

Für jedes Feedback (positiv oder negativ) bin ich sehr dankbar. Gefundene Bugs können über die Sourceforge Bugreport-Seite gemeldet werden.