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
nebogeo
Baa!
Baa!
Posts: 75
Joined: Wed Mar 31, 2004 10:11 pm 0
Contact:

Post by nebogeo »

It is controversial isn't it - it only narrowly passed the vote.

I agree with the sentiment that scheme should be a more experimental minimalistic language primarily, and not get into the same space as more mainstream scripting languages. I do like the standardised modules though - and unicode, and from briefly looking through the spec I think it's better explained and a bit more rigorous.
User avatar
nebogeo
Baa!
Baa!
Posts: 75
Joined: Wed Mar 31, 2004 10:11 pm 0
Contact:

Post by nebogeo »

Oh, btw - I'm working on some fluxus scheme livecoding tutorials:
http://www.youtube.com/watch?v=2O5DJTOy6EA
Might be of interest here...
adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Post by adam »

thanks for that Dave, I'll have a look when i'm on a machine with zee capability...

another one i came across, eulisp, new lisp dialect being worked on at the moment...

http://en.wikipedia.org/wiki/EuLisp
User avatar
failrate
Baaaaaa!
Baaaaaa!
Posts: 2354
Joined: Sun May 23, 2004 6:54 am 0
Location: Sandy Eggo
Contact:

Post by failrate »

@nebogeo: That is ace! A little hard to read the text when the blur effect is applied, but I got the impression that one could easily teach programming techniques to a nontechnical audience with that technique.
User avatar
koogy
Baaa!
Baaa!
Posts: 475
Joined: Thu Aug 31, 2006 11:16 am 0

Post by koogy »

ha, i like the way it gets to 6:40 or so and then suddenly goes mental
User avatar
nebogeo
Baa!
Baa!
Posts: 75
Joined: Wed Mar 31, 2004 10:11 pm 0
Contact:

Post by nebogeo »

failrate wrote:@nebogeo: That is ace! A little hard to read the text when the blur effect is applied, but I got the impression that one could easily teach programming techniques to a nontechnical audience with that technique.
I have done a few workshops which try to do exactly that. You can generally get someone with no programming experience up to the stage of making cubes dance around like that in an hour or so.

Scheme is good for this sort of thing - I think its a good sign for a language when non programmers can pick it up so fast, I don't think the same would be true for C/C++ etc.
adam
Baaaaaa!
Baaaaaa!
Posts: 4418
Joined: Sat Jun 24, 2006 9:15 pm 0

Post by adam »

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

Post by adam »

Page 13 of the Lisp 1.5 Programmer's Manual, showing the 'evalquote' function written as an m-expr. Basically, you're looking at all of Lisp defined in terms of itself.
Image
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 »

User avatar
Firefox
Sheepie Whore
Sheepie Whore
Posts: 11412
Joined: Fri Apr 26, 2002 6:15 pm 0
Location: Sheffield

Post by Firefox »

I've had several goes at reading SICP, but I get very bored and give up. Perhaps I should dip into it at random rather than trying to wade through from the front? :?
"I am a very considerate person. If I want to go out all night on my miniature golf course and shoot lizards, well, no reason to keep the neighbours awake..."
User avatar
GoatFoam
Baaaaa!
Baaaaa!
Posts: 1255
Joined: Tue Dec 12, 2006 11:05 am 0
Location: Brizzle
Contact:

Post by GoatFoam »

Firefox wrote:
I've had several goes at reading SICP, but I get very bored and give up. Perhaps I should dip into it at random rather than trying to wade through from the front? :?
Perhaps.

My problem with it is that I can tell that it is a great book, and the non code bits are fine, but I just don't like lisp syntax. I understand why the syntax is the way it is, and even why it is elegant and good, but I just find it ugly and unpleasant to read.

Maybe forcing myself to do more stuff in scheme would help to fix it, but I shouldn't have to force myself should I?

Stick to Knuth :)
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 »

I'm reading it front-to-back on a part-time basis and I'm not finding it too bad. Not nearly as bad as some of the other books I've got. A little bit at a time though. :)
User avatar
nebogeo
Baa!
Baa!
Posts: 75
Joined: Wed Mar 31, 2004 10:11 pm 0
Contact:

Post by nebogeo »

GoatFoam wrote:Maybe forcing myself to do more stuff in scheme would help to fix it, but I shouldn't have to force myself should I?
I had to force myself to do that when my mindset was all C/C++, which took a year or so. Now C/C++ just feels a bit yucky (I still do an awful lot of it though).

I do program Scheme in an object orientated manner though - which probably marks me as a heretic from all sorts of viewpoints :)
User avatar
failrate
Baaaaaa!
Baaaaaa!
Posts: 2354
Joined: Sun May 23, 2004 6:54 am 0
Location: Sandy Eggo
Contact:

Post by failrate »

Not really blasphemy to write OO Scheme. MrEd has loads of objects, and even writing macros around structs can give the feel of proper OO.

@GoatFoam: As part of the Shmup-Dev contest going on right now, I'm making basic shmup in DrScheme. I'm going to be open-sourcing the code on submission, and the deadline is only 7 days away. It's basically all the code required for a 2D shooter in less than a thousand lines of code at last count.
User avatar
GoatFoam
Baaaaa!
Baaaaa!
Posts: 1255
Joined: Tue Dec 12, 2006 11:05 am 0
Location: Brizzle
Contact:

Post by GoatFoam »

failrate wrote: @GoatFoam: As part of the Shmup-Dev contest going on right now, I'm making basic shmup in DrScheme. I'm going to be open-sourcing the code on submission, and the deadline is only 7 days away. It's basically all the code required for a 2D shooter in less than a thousand lines of code at last count.
Take out all the line breaks and you can do it in one line '-)

I don't dispute the power of the language - that is obvious. I just don't get on with the notation. (f x) just seems less natural than f(x).

That is just me being old and inflexible though, so I think I will pick scheme up and have another go after my next project.
Post Reply