Common Lisp Exercises/Problems [closed] - lisp

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I'm working through Practical Common Lisp presently
http://www.gigamonkeys.com/book/
It's an excellent book with some practical assignments towards the end, but I'm looking for basic problems that explore the use of functions, variables and macros. Can anybody suggest a suitable resource to work through in order to reinforce the concepts presented?

Project Euler is a great source of programming problems
also, there is Rosetta Code

You may also want to try the SICP exercises in Common Lisp.

There are great exercises in ANSI Common Lisp the book, http://www.paulgraham.com/acl.html, for each chapter. Great book too, my favorite to learn Lisp with and as a reference.

Related

How to learn modelica? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm completely new to Modelica and was wondering what is the best way to learn on my own? Also I will be using it with MapleSim 5 (or 6 when it will be available) so any information regarding that would be helpful too.
I'll need Modelica to create a few components for a thermal model, then simulate with MapleSim and hopefully I will also manage to co-simulate with another software (EnergPlus) using FMI when it will be available for MapleSim and BCVTB.
Sorry for not being specific with my question, really any reference to a good Modelica guide would be great, thanks.
Clearly, I am biased, but I like to think that my book "Introduction to Physical Modeling with Modelica" is a great way to explore the features of Modelica in the context of engineering problems. I noticed that Wolfram seems to recommend the book as well.
But in the interest of balance, there are two books by Peter Fritzson on the topic of Modelica as well.

Learning Lisp and artificial intelligence [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
This semester at college I have a course for Artificial Intelligence and we are studying Lisp. The problem is that I don't have any functional programming background, but I do know OOP programming (Java, Javascript, PHP).
Can you recommend some good books to get me up to speed on Lisp and artificial intelligence?
These I have found helpful and pretty approachable:
Practical Common Lisp - Peter Seibel
ANSI Common LISP - Paul Graham
Not to forget the classic "Paradigms of Artificial Intelligence Programming: Case Studies in Common Lisp" by Peter Norvig. Especially his coding style is very clear and a pleasure to read.
Artificial Intelligence: A Modern Approach (3rd Edition)
The Little Schemer - 4th Edition
Let Over Lambda—50 Years of Lisp
and there is much more recent C++(boost, melt, blitz++, functional c++,.. etc).
--
BTW, RIP dmr, Thanks.
Here are a few:
http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=lisp+programming+artificial+intelligence&x=0&y=0
I hear this one is really good, too:
http://www.amazon.com/Lisp-3rd-Patrick-Winston/dp/0201083191/ref=sr_1_1?ie=UTF8&qid=1318507734&sr=8-1
I've never read it myself.
This is a good book for coming up to speed on Lisp:
http://www.amazon.com/Practical-Common-Lisp-Peter-Seibel/dp/1590592395/ref=sr_1_1?s=books&ie=UTF8&qid=1318507782&sr=1-1

What interesting open source software is written in Lisp? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I was looking looking for the sources of real-life applications that are written in Lisp. For example a Pacman clone or a word processor would qualify as such.
How about a
web server?
text editor?
a type setter?
an interactive musical score editing application?
More example can be had at the cliki. Just stroll around a little bit.
The package-management application (similar to apt-get) that I use for Arch Linux, Paktahn, is written in Common Lisp.
Here is a list of applications written in Common Lisp. How "real world" they are is debatable, but since you consider a pacman clone to be "real world", I assume you will be satisfied.
Two big things come to mind.
EMACS
Maxima
The first has an incredible number of customizations. It would not surprise me in the least to find Pac-Man implemented in EMACS. Maxima does symbolic mathematics, so I imagine it'd be more difficult to grok the code.

Resources for learning Lisp [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
What is a good book or tutorial to learn Lisp?
Practical Common Lisp is an awesome (and free) book for anyone interested in the language.
If you like learning by writing games "Land of Lisp" is now available, see http://landoflisp.com
A good place to start off would be the ANSI Common Lisp by Paul Graham which is what I'm hooked onto right now :)
EDIT: As mentioned by spacemanaki "there a few areas where Graham's coding style should not be considered typical" and are listed here.
Lisp (3rd Ed) by Winston and Horn is actually a pretty good textbook. I picked it up for a steal (plenty of $2 used copies on Amazon) and I've found it to be a decent learning tool. it is sometimes easier to read than ANSI Common Lisp by Paul Graham, although some of the advanced stuff is a bit weird or out-of-date.
Have you ever look for at https://stackoverflow.com/questions/194812/list-of-freely-available-programming-books ?
One of the best books for a beginner to learn Lisp by David S. Touretzky: http://www.cs.cmu.edu/~dst/LispBook/

Learn Macros in Scheme from On Lisp [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I really want to learn Scheme macros. I glanced over the content of "On Lisp" and a lot of the chapters have been devoted to Lisp macros. However I do not know common lisp. Can I use it to learn Scheme Macros?
Scheme macros ("hygienic macros") are completely different from traditional Lisp macros. Some implementations of Scheme offer Lisp macros in addition to Scheme macros, but this is not required by the Scheme standard.
I would recommend you look for instructional materials specific to Scheme macros if you would like to learn about that style of macro. Google shows many pages offering an introduction to Scheme macros.
Re: Nathan Sanders
On Lisp is definitely worth reading; you get a taste for a style of macros and some interesting solutions to problems. Also, you find can better understand the problem that hygienic macros solve.
I can't comment yet or I would have done so in line.