Land of Lisp: Learn to Program in Lisp, One Game at a Time!

Front Cover
No Starch Press, Oct 15, 2010 - Computers - 504 pages
Lisp has been hailed as the world’s most powerful programming language, but its cryptic syntax and academic reputation can be enough to scare off even experienced programmers. Those dark days are finally over—Land of Lisp brings the power of functional programming to the people!

With his brilliantly quirky comics and out-of-this-world games, longtime Lisper Conrad Barski teaches you the mysteries of Common Lisp. You’ll start with the basics, like list manipulation, I/O, and recursion, then move on to more complex topics like macros, higher order programming, and domain-specific languages. Then, when your brain overheats, you can kick back with an action-packed comic book interlude!

Along the way you’ll create (and play) games like Wizard Adventure, a text adventure with a whiskey-soaked twist, and Grand Theft Wumpus, the most violent version of Hunt the Wumpus the world has ever seen.

You'll learn to:
–Master the quirks of Lisp’s syntax and semantics
–Write concise and elegant functional programs
–Use macros, create domain-specific languages, and learn other advanced Lisp techniques
–Create your own web server, and use it to play browser-based games
–Put your Lisp skills to the test by writing brain-melting games like Dice of Doom and Orc Battle

With Land of Lisp, the power of functional programming is yours to wield.
 

What people are saying - Write a review

We haven't found any reviews in the usual places.

Contents

Introduction
1
Lisp is Power
12
Getting Started with Lisp
15
Creating Your First Lisp Program
21
Exploring the Syntax of Lisp Code
31
Lisp is Symmetry
46
Making Decisions with Conditions
49
Building a Text Game Engine
67
Printing Text with the format Function
221
Working with Streams
237
Lets Create a Web Server
253
Lisp is Science
288
Ramping Lisp Up a Notch with Functional Programming
291
Dice of Doom a Game Written in the Functional Style
303
The Magic of Lisp Macros
339
DomainSpecific Languages
355

Interacting with the World Reading and Printing in Lisp
85
lambda A Function So Important It Deserves Its Own Chapter
103
Going Beyond Basic Lists
107
This Aint Your Daddys Wumpus
129
Advanced Datatypes and Generic Programming
153
Lisp is Hacking
190
Looping with the loop Command
195
Lazy Programming
375
Creating a Graphical WebBased Version of Dice of Doom
401
Making Dice of Doom More Fun
417
Epilogue
429
Index
464
Copyright

Other editions - View all

Common terms and phrases

About the author (2010)

Conrad Barski has an M.D. from the University of Miami, and nearly 20 years of programming experience. This includes a stint developing an obscure Atari Jaguar game, and working on many medical software projects. Barski is also an avid cartoonist, having created the popular alien Lisp mascot and many graphical tutorials. He currently develops cardiology software and lives in Washington, D.C.

Bibliographic information