Lisp links thread

Coders forum. Discuss techniques, swap code snippets, ask for help etc. relating to all forms of software development.
Post Reply
User avatar
failrate
Baaaaaa!
Baaaaaa!
Posts: 2354
Joined: Sun May 23, 2004 6:54 am 0
Location: Sandy Eggo
Contact:

Post by failrate »

If you've written unit tests for any of your Lua code, that could tell you in one quick pop if anything's b0rken.
adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Post by adam »

http://www.nongnu.org/ratpoison/inspiration.html

lisp related & made me giggle...
adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Post by adam »

http://groups.google.com/group/comp.lan ... f9ffff7839
Well, I finally reached enlightenment. I understand why people
don't use lisp. It took me a long time. It isn't a lack of
libraries, or the number of parentheses. The thing that kills a
language is powerful syntax and abstractions.
adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Post by adam »

http://community.schemewiki.org/cgi-bin ... n-scheme2c
Marc showed us how to write a simple Scheme to C compiler, in Scheme. In only 90 minutes! And although not supporting the whole Scheme standard, the compiler supports fully optimized proper tail calls, continuations, and (of course) full closures. The compiler is implemented using two important compilation techniques for functional languages: closure conversion and CPS-conversion.
a video that i haven't watched, unsure of the number of blackboards employed ;-)
Balooga
Posts: 2
Joined: Thu May 31, 2007 6:08 am 0
Location: California
Contact:

Post by Balooga »

teamonkey wrote:Does anyone have a "how to grok lisp" guide?
Casting SPELs in Lisp; shows how to go about creating a text-based adventure game in Lisp.
adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Post by adam »

Balooga wrote:
teamonkey wrote:Does anyone have a "how to grok lisp" guide?
Casting SPELs in Lisp; shows how to go about creating a text-based adventure game in Lisp.
thanks Balooga and welcome... i've tried that one... theres some clever stuff later on where the rooms are linked together (or map made or something) iirc
Balooga
Posts: 2
Joined: Thu May 31, 2007 6:08 am 0
Location: California
Contact:

Post by Balooga »

What pushed me to Lisp were two Q/A sessions on Slashdot several years ago:

- Kent M. Pitman Answers On Lisp And Much More
- Kent M. Pitman's Second Wind

Kent writes well and doesn't get all in-your-face-fanboy over Lisp.

And if any of you sheep require more convincing, here is an actual chart in PDF form that confirms the absolute and very utmost supreme superiority that Lisp has over everything else ever made, ever: The Programmer Hierarchy. So there. :P
adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Post by adam »

http://eval.apply.googlepages.com/changesafe.html

ChangeSafe: an example of stratified design with Common Lisp
User avatar
GoatFoam
Baaaaa!
Baaaaa!
Posts: 1255
Joined: Tue Dec 12, 2006 11:05 am 0
Location: Brizzle
Contact:

Post by GoatFoam »

adam wrote:http://eval.apply.googlepages.com/changesafe.html

ChangeSafe: an example of stratified design with Common Lisp
That one isn't exactly inspiring. "We have been working on this thing for years, and it still isn't ready for a first release, but lisp is dead flexible and lets us do anything!"
adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Post by adam »

never said they were inspiring lisp links ;-)
User avatar
failrate
Baaaaaa!
Baaaaaa!
Posts: 2354
Joined: Sun May 23, 2004 6:54 am 0
Location: Sandy Eggo
Contact:

Post by failrate »

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

Post by adam »

looks good :D you might like lush as well http://lush.sourceforge.net/ iirc it's got hooks into sdl... documentation is a bit sparse though & i expect the community is very small

(it was a bit of a non starter for me because i was trying to learn with common-lisp tutorials & the commands are totally different, but if you're a seasoned programmer you might be ok)
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 »

That DrScheme looks really nice. I might give that a go this weekend. :)
adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Post by adam »

i like it, seems the scheme community is very friendly too

my top tip for drscheme is that you can use [ ] interchangably with () less shift keying required ;-) someone suggested remapping ones keyboard if one gets seriously into lisp, so that the []() are easier to get to [you'll be using them a lot]
User avatar
failrate
Baaaaaa!
Baaaaaa!
Posts: 2354
Joined: Sun May 23, 2004 6:54 am 0
Location: Sandy Eggo
Contact:

Post by failrate »

SDL hooks, eh? That'd make for a good Digital Signal Processing (DSP, innit?) kit.

I think Lisp-like languages have gotten a bad wrap for performance. Void Sniper can currently run well better than 60 FPS.
Post Reply