Lisp links thread

Coders forum. Discuss techniques, swap code snippets, ask for help etc. relating to all forms of software development.
Post Reply
adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Lisp links thread

Post by adam »

i keep running across lisp links so i'm going to stow them in here if thats ok ;-)

/champagne smashed against side of ship
/don't pretend to be an expert on this stuff, do like reading about it though ;-)

Wrapping code using compiler macros

http://exploring-lisp.blogspot.com/2007 ... os_08.html
adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Post by adam »

little timesaver:

http://programming.reddit.com/search?q=lisp

it's just like an rss feed ;-)
User avatar
teamonkey
Sheepie Whore
Sheepie Whore
Posts: 12082
Joined: Thu Jun 13, 2002 1:07 am 0
XBL Gamertag: itsthetaste
PSN: teamonkey_ca
Contact:

Post by teamonkey »

Does anyone have a "how to grok lisp" guide? I've been playing with it for several years on and off and still haven't reached that point where I want to abandon every other language and program in lisp for the rest of my life.

Practical reasons, please. I'm not a computer scientist and I wouldn't know symbolic elegance if it hit me in the teeth.
adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Post by adam »

i think the honest answer is... use whichever language suits the job at hand

if you haven't heard of paul graham, he's a big lisp evangelist... one of his big reasons for liking it is the macros... code that generates code

"on lisp" on his site is supposed to be the first book that explains macros really well, though it gets a bit too complex for me fairly quick ;-)

http://paulgraham.com/onlisptext.html
User avatar
GoatFoam
Baaaaa!
Baaaaa!
Posts: 1255
Joined: Tue Dec 12, 2006 11:05 am 0
Location: Brizzle
Contact:

Post by GoatFoam »

teamonkey wrote:Does anyone have a "how to grok lisp" guide? I've been playing with it for several years on and off and still haven't reached that point where I want to abandon every other language and program in lisp for the rest of my life.

Practical reasons, please. I'm not a computer scientist and I wouldn't know symbolic elegance if it hit me in the teeth.
"Structure and Interpretation of Computer Programs" by Abelson & Sussman is worth a look.

It concentrates on scheme, which is a simple lisp dialect. Used to be the standard teaching language at MIT I think.
ppr
Baa!
Baa!
Posts: 97
Joined: Wed Aug 06, 2003 11:55 pm 0
Location: upper airspace

Post by ppr »

User avatar
l1n3n01z
Baaaaa!
Baaaaa!
Posts: 1777
Joined: Tue Nov 19, 2002 12:14 pm 0
Location: Iceland
Contact:

Post by l1n3n01z »

GoatFoam wrote:
teamonkey wrote:Does anyone have a "how to grok lisp" guide? I've been playing with it for several years on and off and still haven't reached that point where I want to abandon every other language and program in lisp for the rest of my life.

Practical reasons, please. I'm not a computer scientist and I wouldn't know symbolic elegance if it hit me in the teeth.
"Structure and Interpretation of Computer Programs" by Abelson & Sussman is worth a look.

It concentrates on scheme, which is a simple lisp dialect. Used to be the standard teaching language at MIT I think.
Available online even:
http://mitpress.mit.edu/sicp/full-text/book/book.html
Also a very good one, though not available online is The Little Schemer et al.

Also good one is Practical Common Lisp. It's practical :-)
User avatar
l1n3n01z
Baaaaa!
Baaaaa!
Posts: 1777
Joined: Tue Nov 19, 2002 12:14 pm 0
Location: Iceland
Contact:

Post by l1n3n01z »

adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Post by adam »

i think mit have switched that course to python now after requests from students ;-)

i read that they used to introduce the whole of scheme in 1 or 2 lectures, in at the deep end by the sounds ;-)
User avatar
GoatFoam
Baaaaa!
Baaaaa!
Posts: 1255
Joined: Tue Dec 12, 2006 11:05 am 0
Location: Brizzle
Contact:

Post by GoatFoam »

adam wrote: i read that they used to introduce the whole of scheme in 1 or 2 lectures, in at the deep end by the sounds ;-)
Not really. One of the nice things about scheme is that there really isn't much of it to learn. You can get the language out of the way in a couple of hours and start concentrating on your algorithms.

I can't say I'm a big fan of the syntax, but it is certainly simple.
adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Post by adam »

from what someone online said, it sounds like the first semester of the mit cs course is (or was) designed to be really really hard to weed out all but the most committed geeks ;-)

i think the intro to scheme is maybe one 2 hour lecture then it's seriously- - right off you go
User avatar
Al
Baaaa!
Baaaa!
Posts: 535
Joined: Thu May 23, 2002 5:28 pm 0
XBL Gamertag: Mintytorus
Location: Weybourne, Surrey, UK

Post by Al »

Image

:D
User avatar
lis0r
Baaaa!
Baaaa!
Posts: 894
Joined: Tue Jan 10, 2006 9:26 am 0
Location: The Frozen Wastelands Of The North

Post by lis0r »

teamonkey wrote:Practical reasons, please. I'm not a computer scientist and I wouldn't know symbolic elegance if it hit me in the teeth.
And this is why you'll never grok lisp :wink:
User avatar
teamonkey
Sheepie Whore
Sheepie Whore
Posts: 12082
Joined: Thu Jun 13, 2002 1:07 am 0
XBL Gamertag: itsthetaste
PSN: teamonkey_ca
Contact:

Post by teamonkey »

lis0r wrote:
teamonkey wrote:Practical reasons, please. I'm not a computer scientist and I wouldn't know symbolic elegance if it hit me in the teeth.
And this is why you'll never grok lisp :wink:
:cry:
User avatar
lis0r
Baaaa!
Baaaa!
Posts: 894
Joined: Tue Jan 10, 2006 9:26 am 0
Location: The Frozen Wastelands Of The North

Post by lis0r »

teamonkey wrote:
lis0r wrote:And this is why you'll never grok lisp :wink:
:cry:
It's unfortauntely true - lip is like the polar opposite of assembler.

Assembler throws away all the theory, and gets down to the nitty gritty, practical real-world side of things.

Lisp throws away all the practicality, most links with the real world, and concentrates on the theoretical basis of computation.

And the xkcd strip is only half a joke - to the hardened CompSci, it does sometimes feel that lisp is the language you'd implement reality in.
Post Reply