Welcome Common Lisp Recipes readers

Common Lisp Recipes: A Problem-Solution Approach

This book is a collection of solutions to problems and answers to questions you are likely to encounter when writing real-world applications in Common Lisp. Written by an author who has used Common Lisp in many successful commercial projects over more than a decade, this book covers areas as diverse as web programming, databases, graphical user interfaces, integration with other programming languages, multi-threading, and mobile devices as well as debugging techniques and optimization, to name just a few. It is also the first Common Lisp book to tackle such advanced topics as environment access, logical pathnames, Gray streams, delivery of executables, pretty printing, setf expansions, or changing the syntax of Common Lisp.

The book is organized around specific problems or questions each followed by ready-to-use example solutions and clear explanations of the concepts involved, plus pointers to alternatives and more information. Each recipe can be read independently of the others and thus the book will earn a special place on your bookshelf as a reference work you always want to have within reach.

Common Lisp Recipes is aimed at programmers who are already familiar with Common Lisp to a certain extent but do not yet have the experience you typically only get from years of hacking in a specific computer language. It is written in a style that mixes hands-on no-frills pragmatism wi th precise information and prudent mentorship.

If you feel attracted to Common Lisp's mix of breathtaking features and down-to-earth utilitarianism, you'll also like this book.

Order the Book from Amazon


Getting Started

Download the code examples and unzip them into a convenient directory. The code is organized into chapters directories (chapter-01, chapter-02, etc.) each containing one or more files. Each chapter contains a file name code.lisp, which contains the Lisp code appearing in that chapter. Some directories contain other files, mostly non-Lisp source files, but sometimes additional Lisp files.

If you do not already have Allegro CL installed, you can download the free Allegro CL Express edition linked to above. There are versions for Windows, Linux and the Mac. Our illustrations are from the Windows version, using the Integrated Development Environment (IDE).

In this first picture, we have started Allegro CL 10.0 Express and the IDE. (We have resized and rearranged the windows to make the picture fit better.)

We have clicked on the Open File icon (indicated by the red arrow) and naviagted the file choice dialog to the the chapter-01 directory, and selected the code.lisp file for loading.

The file is now loaded into an editor pane.

You can copy forms from the editor pane and paste them into the Lisp Listener, as we have done with the first form, or you can select a form and choose Incremental Evaluation from the Tools menu, as shown. (Just placing the cursor in the form works as well.)

For Allegro CL information and help, use the Help menu.


Please send questions to support@franz.com

Copyright © 2020 Franz Inc., All Rights Reserved | Privacy Statement Twitter Google+