Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

LISP Project...

Name: Anonymous 2006-11-01 23:18

I've been trying to learn lisp recently, and I've been able to type things into the interpreter and get it to spit out sane results, however...

I don't know how to create any kind of little compiled program using the language.  None of the tutorials I've read show anything about how to get input from the console or any shit like that, none of them show you where the equivalent of void Main () is, (though I think they might just execute linearly...  defun seems to just apply to anything that comes after it) they mostly just describe the language without telling you how to do anything.

Does anyone know where I can download lisp projects that I can compile and pull apart, to examine how they work etc...?

Name: Anonymous 2006-11-01 23:19

BTW, if someone can show me just a basic console app that might compile in Allegro CL, i'd be most appreciative.Q

Name: Anonymous 2006-11-01 23:29

Name: Anonymous 2006-11-01 23:46

>>3

seconded.  this is pretty much the only relevant book on Common LISP and its status in this decade.  pretty mcuh everything else I read was stuff from the 80's and early 90's that was kind of outdated and inaccurate

Name: Anonymous 2006-11-02 0:33

Name: Anonymous 2006-11-02 3:44

Don't forget HtDP, which complements SICP.

Name: Anonymous 2006-11-02 4:01

Discover the (compile-file) function.

Name: Anonymous 2006-11-02 11:08

FOLLOW FREEMAN

Name: Anonymous 2006-11-02 12:51

Use Ruby lol

Name: Anonymous 2006-11-02 14:43

>>5
Scheme is good to learn but not enough powerful for real projects.

Name: Anonymous 2006-11-02 15:06

>>10

But Clisp is a fucking mess.

Name: Anonymous 2006-11-02 16:18

LISP is cool but the limitations of other programming languages makes it very "niche" -- what you learn to exploit in LISP rarely works as fluidly in other languages, if at all.

For example, writing a renderer in LISP is structurally easier than in C++... at least as far as the scene-graph portion is concerned, where you can have so many different types of objects (Models, Lights, Cameras, even physics objects like Force Fields and Wind Vectors).  Scene graphs are just easier to implement when you can easily store things in heterogenous arrays/lists, as opposed to a strongly-typed language.

C++ would be so much more useful if class inheritance was more "runtime flexible" rather than merely "development-time flexible", if you know what I mean.

Of course... it's easier to get OpenGL to "just work" in C++... it took me forever to figure out foreign-function interfaces in LISP... and FFI syntax and calling conventions are different for most Common LISP interpreters :/

People who write Common LISP interpreters need a swift kick in their asses and need to start agreeing to and abiding by standards that aren't explicitly defined in the language's own specifications.  I want see Common LISP succeed, but Common LISP's culture of elitist, arrogant, mouth-breathing nerds (see also: Naggum, Erik in the common lisp newsgroup) is the language's biggest obstacle.

Name: Anonymous 2006-11-02 16:30

C++ would be so much more useful if it were dynamically typed, dynamically bound, reflexive, garbage collected, and had native heterogeneous lists and dictionaries. If we follow this reasoning we get to Python, Ruby and others, which are as nice to work with as we want, but not yet efficient enough for what we want to do with them :( .

Name: Anonymous 2006-11-02 19:59

>>13
Speaks truth.

The only alternatives for C-derived languages are Objective-C and D, which come closer to such a goal but still miss.

Name: Anonymous 2006-11-02 20:31

Wow you idiots ever heard of ABSTRACTION. Wow you guys really fail it.

Name: Anonymous 2006-11-02 21:27

Abstraction? What's that?

I write all my code in linear sequences of bits.

Name: Anonymous 2006-11-03 14:24

>>15

WOW I START ALL MY SENTENCES WITH "WOW" BECAUSE I'M WITTY AND CLEVER LIKE THAT

Name: Anonymous 2006-11-03 20:31

>>17
You fail at sarcasm with your unwitty uppercase letters.

Name: Anonymous 2006-11-04 14:35

>>18

You fail at telling people they fail with your use of stating the obvious and failing to grasp irony like a typical Amerikkkan.

Name: Anonymous 2006-11-04 15:06

Lol Amerikkkans

Name: Anonymous 2006-11-04 17:40

>>19
I don't live in America, stupid. I have a brain, enjoy your patents, DMCA, Patriot Act and Guitmo.

Name: Anonymous 2006-11-04 17:55

>>21
Amerika is the world police, bitch.  I'll have them send a ICBM your way for your unpatriotic speech.

Name: Anonymous 2006-11-04 21:14

>>22

Fuck you, yank bastard

You deserve another 9/11 or two

Name: Anonymous 2006-11-04 22:11

say your s's like th's

Name: Anonymous 2006-11-05 1:13

>>20
>>21
>>22
>>23

Same stupid fucking crazy person talking to himself

gtfo

Name: Anonymous 2006-11-05 2:29

I wish C++ or C# had a command interpreter like LISP.

Name: Anonymous 2006-11-05 8:51

>>26
Signed, REPLs make developing so much easier. Don't have to write a test program and compile it just to see if some line of code does what you expect.

Name: Anonymous 2006-11-05 8:55

>>27
Real programmers compile LISP in their heads.

Name: Anonymous 2006-11-05 19:27

>>28

You compile LISP?

Name: Anonymous 2006-11-05 22:02

>>29

Most good implementations compile source into either byte code or native machine code.  CMUCL and SBCL compile into native machine code and the interpreters pipe that to the CPU somehow (this is what operating systems do with running programs), while CLISP and I think GCL compile into VM bytecode (somewhat slower, like what Java does).

Name: Anonymous 2006-11-06 0:15

>>30
Does it fucking slow your computer down to zero whenever you load up an applet, and operate fucking slowly like java?

Name: Anonymous 2006-11-06 4:09

>>31
appletappletappletappletappletappletappletappletappletappletappletappletappletappletappletapplet

Name: Anonymous 2006-11-06 5:30

TAPPLE

Name: Anonymous 2006-11-06 8:16

LETAPP

Name: Anonymous 2006-11-06 9:32

PLETAP

Name: Anonymous 2006-11-06 15:27

ETAPPLE

Name: Anonymous 2006-11-06 19:47

>>31

Impossible to say, as no worthwhile application has ever been written in the language.

Name: Anonymous 2006-11-07 0:12

>>37
You mean Java or LISP?

Name: Anonymous 2006-11-07 2:07

>>38

Java.  It's everywhere, but you don't see it.  A lot like AIDS.

LISP is everywhere too, and you also don't see it.  But it's useful... like a ninja.

Name: Anonymous 2006-11-07 3:49

Lisp would be awesome if the Lisp community didn't have its head up its arse.

Imagine if Lisp were like Python/Ruby/Perl/Java/whatever: a single canonical distribution with many well-tested and Relevant libraries. Awesome.

Reality: many disparate CL implementations, each doing Relevant things differently. You want to use sockets and remain portable you say? lollers

Are the Lispniks doing anything about it? Nah. They defend their shitty stagnancy to the death, just like that bearded *nix wizard who sits in the university basement.

Name: Anonymous 2006-11-07 4:05

>>40

I want to do something about it.  I just don't know the first thing how to write a parser/interpreter.  lulz

Name: Anonymous 2006-11-07 5:27

Well, that's part of the problem. There are too many as it is. One more won't be helping at all.

Name: Anonymous 2006-11-07 6:41

LISP really needed a BDFL and a single big fucking official distro packed with the important stuff done once (and in a simple, productive way, so that it's worth using, i.e. unlike Java).

Name: Anonymous 2006-11-07 11:25

>>43
That's what Common Lisp was supposed to be. Of course as the spec aged and more standard functionality was needed, different flavours of CL emerged each with their own extensions. Moral of the story: use Scheme.

Name: Anonymous 2006-11-21 16:02

newLISP FTW!

Name: Anonymous 2006-11-22 9:23

Yet another LISP?

Name: Anonymous 2006-11-25 3:32

>>40
>>Lisp would be awesome if the Lisp community didn't have mouth-breathers like Erik Naggum wasting Usenet-oxygen.

Fixed that for you.

Name: Anonymous 2009-01-14 13:57

VALID PERL CODE

Name: Anonymous 2009-03-06 8:13


The drum had to   jump through a   straw h C   Learning Lisp will   be a more   formal approach to   supporting existing GUI.

Name: 2012-01-25 6:50

Name: Sgt.Kabu͝kimanꕩ䨨 2012-05-28 20:49

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy

Name: Anonymous 2013-08-31 18:22


That's because you're looking at it the wrong way. When you see a cyclone from the top, you are seeing where it is releasing the air that it sucks up. Thus, the direction of reference is traveling outward from the center along the spiral, not inward.

Don't change these.
Name: Email:
Entire Thread Thread List