From: Helmut Eller on
* Peter Axon [2010-06-01 06:03+0200] writes:

> I am working my way through ANSI Common Lisp by PG. I am going slowly
> and working through the exercises on paper and then on the computer as I
> go. However I would like to write some actual programs to help me learn.
>
> My question is: does anyone have any good ideas for some small to medium
> programming projects that will help me learn CL? For example when I was
> learning Perl I wrote a simple CLI todo list manager.

Writing a sudoku solver along the lines of http://norvig.com/sudoku.html
is what I do get the feeling for new languages. There are test inputs
available and version in of that program in about every language.

Helmut
From: Kenneth Tilton on
Leo wrote:
> On 2010-06-01 05:43 +0100, Kenneth Tilton wrote:
>> Did you look at Practical Algebra (on-line version)? That might give
>> you some ideas.
>
> I'm interested. Could you give a link to it? I want to be sure I am
> reading the right one: http://www.purplemath.com/modules/index.htm?
>
> Thanks.
>
> Leo

sorry, I do Algebra and typed that by mistake. Try this:

http://www.gigamonkeys.com/book/

"Practical Common Lisp"

kt

--
http://www.stuckonalgebra.com
"The best Algebra tutorial program I have seen... in a class by itself."
Macworld
From: Raymond Wiker on
Peter Axon <peter(a)canvasbook.com.au> writes:

> I am working my way through ANSI Common Lisp by PG. I am going slowly
> and working through the exercises on paper and then on the computer as I
> go. However I would like to write some actual programs to help me learn.
>
> My question is: does anyone have any good ideas for some small to medium
> programming projects that will help me learn CL? For example when I was
> learning Perl I wrote a simple CLI todo list manager.
>
> PS. By small to medium I mean might take as little as an hour or as much
> as a weekend.
> PPS. I have worked through the Casting Spels book and found it helpful.

http://projecteuler.net should provide you with a few interesting problems.
From: fortunatus on
On Jun 1, 4:13 am, p...(a)informatimago.com (Pascal J. Bourguignon)
wrote:
> If you cannot imagine a couple of programs you would like to write
> yourself, I'd be weary of your abilities as a programmer.  Programming
> requires a certain amount of imagination...

Cut the poor guy some slack! ;-> He did the little personal manager
for PERL, didn't he?

Besides, the scientific method begins with gathering as many
possibilities as practical, including the investigator's own thoughts,
but very importantly including sources external to the investigator,
to open the door to new ideas!

Project Ideas:

When I was starting to learn CL & Scheme, I wrote some recursive-
descent parsers to evaluate infix arithmetic expressions. I found the
"muliple value" capabilities of function returns elegant: the first
value brought back success/fail of sub-expression parse, the second
value brought back the numerical result of the sub-expression if
parsing was successful.

One of the first truly useful programs I did was a simulator of
mortgage amortization, given starting principal and interest rate, and
enumerating every day of every month with real leap years in there to
accurately calculate interest . It wasn't hard, but it turned out far
more accurate than the online "calculators" you get on web sites - it
was able to exactly match the loan documents, for instance. My wife
an I used it to decide when to refinance our house. And I finally
understood a tiny bit about finance.

(I second the advice to look at Practical Common Lisp - don't miss
that book if you are in the early stages! A very down-to-earth feel
on how to write programs.)
From: "Antti "Andy" Ylikoski" on
1.6.2010 7:03, Peter Axon kirjoitti:
> I am working my way through ANSI Common Lisp by PG. I am going slowly
> and working through the exercises on paper and then on the computer as I
> go. However I would like to write some actual programs to help me learn.
>
> My question is: does anyone have any good ideas for some small to medium
> programming projects that will help me learn CL? For example when I was
> learning Perl I wrote a simple CLI todo list manager.
>
> PS. By small to medium I mean might take as little as an hour or as much
> as a weekend.
> PPS. I have worked through the Casting Spels book and found it helpful.

Get the book

Paradigms of Artificial Intelligence Programming,
Case Studies in Common LISP

by Peter Norvig, ISBN 978-1-55860-191-8

and see the exercises there.

regards, Antti Ylikoski
Helsinki, Finland, the EU