Land of Lisp: Learn to Program in Lisp, One Game at a Time
amazon.com
amazon.com
I'm finishing the last chapters this week and then there is still tons of editing ahead- The release date will be March next year!
It's going to be a FAT book with lots of games, will cover all the interesting parts of Lisp programming, including full coverage of functional programming, macros, and a lot lot more. Also, it has a zillion cartoons and illustrations.
I wanted to write a Lisp book that puts FUN first- I hope you will enjoy my book!
- Conrad Barski
Also, tutorial starts with something like:
(setf objects '(whiskey-bottle bucket frog chain))
I've installed sbcl and clozure CL with slime especially to try this out (haven't lisped around in ages)... both won't cooperate if there is no defvar for objects before setf. Also, I had a buffer with lisp-mode and C-c C-c to monitor repl in another window, so I had to prepend every output with (print (x))... just thought you might wan't to know.
Cool stuff.
Otherwise, this tutorial is getting a bit long in the tooth and I should probably give it a refresh sometime soon. The setf issue is a known issue for some Lisps- I should have used defparameter instead of setf, but I was still pretty green many years ago when this tutorial was written.
Section I - Lisp is Power
1. Getting Started
2. Our First Lisp Program!
3. The Basic Philosophy Behind Lisp
Section II - Lisp is Symmetry
4. Conditions
5. Learning Lisp Text and Console Programming... By Building a Text Game Engine!
6. Interacting with the World: Reading and Printing in Lisp
6.5. Lambda- A Function So Important It Deserves It's Own Chapter
7. More About Lists
8. This Ain't Your Daddy's Wumpus
9. Advanced Data Types and Generic Programming
Section III- Lisp is Hacking
10. Loop and Format: The Seedy Underbelly of Lisp
11. The Format Function
12. Working with Streams
13. Let's Create A Web Server!
14. Land of Lisp- Secrets of the Seven Guilds
Section IV- Lisp is Science
15. Functional Programming is Beautiful
16. Macros
17. Dice of Doom- Advanced Techniques
18. Making Dice of Doom More Fun
(this is an old TOC- There'll be a few more chapters not in this list)
Will you be covering integrating with any graphics libraries (say OpenGL or similar)?
Step 1: Write REPL game
Step 2: Write a web server from scratch using sockets
Step 3: Write an SVG library
Step 4: Implement an inline SVG-based HTML5 browser frontend for the gameI don't know the extent of your book, but navigating asset management has been a bit of a challenge. I know there's a few libraries out there but docs/examples are at a premium. I'm using cl-devil and looked at freeimage, also looking for 3d model importing and the like.
I was so disappointed by what a racist David Ahl turned out to be. (He was responsible for the incredibly disrespectful "Ninja-Endo" character in late-80s Atari comics.)
http://www.atariage.com/magazines/magazine_page.html?Magazin...
On it he seems to express rather conservative and religious views; make of that what you will.
Conrad, I am from the D.C. area; I have been putting off coming to D.C. Fringe for ages until I got a call from Australia and I was told I was on next week's flight. What a bummer. I lived in Arlington Virginia (on Columbia Pike, right near Falls Church and Alexandria) and I worked in the city at 17 and N. How on bloody earth did I miss a Lisp meeting I would never understand; where I live, I am lucky to find a computer programmer.
http://code.google.com/p/lispbuilder/wiki/UsingLispbuilderSD...
For realtime 3d graphics there's cl-opengl (http://common-lisp.net/project/cl-opengl/). I'm using it right now with sbcl and the glut wrapper (cl-glut). It comes with some examples too.
This project might get you started:
http://createuniverses.blogspot.com/2009/09/qtimagine-skelet...
I always feel there will be a lot of improvement in software for physicians and lawyers and other professionals. But I dont' have background there and I don't have a clear understanding of the problem domain. Will an education background in those area help a software developer?
don't hurry, good things need their time
BTW, on that logo page, you mention that Scheme is your favorite Lisp dialect. If that's so, then why write your book to be about CL instead of Scheme?
We'll have an updated table of contents up fairly soon, and you'll be able to pre-order it as it gets closer to release. We'll also probably post some advanced samples as we move forward, so be sure to check back every once in a while.
Conrad's doing a great job, and it's going to be a really fun book!
Keith Fancher, No Starch Press
"Paradigms of Artificial Intelligence Programming: Case Studies in Common Lisp" by Peter Norving
http://www.amazon.com/Paradigms-Artificial-Intelligence-Prog...
Guess Lisp is 'really' making a come back.
It's an implementation of Dewdney's classic article "Simulated evolution: wherein bugs learn to hunt bacteria"
What's cool is that it lends itself to a very pithy implementation in Lisp that runs right in the REPL, with ASCII graphics.
I'm personally learning some Clojure at the moment and loving it so far.
For instance, I implement a Clojure-style sequence library using Lisp macros towards the end of the book to implement lazy evaluation for a boardgame AI engine.