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

Pages: 1-

GCL

Name: Anonymous 2007-10-03 20:55

In GCL (GNU Common LISP), how does one save his work? (save ("/home/anon/dongs.lisp")) doesn't work.

In before flaming for being shit with LISP.

Name: Anonymous 2007-10-03 20:59

>>1
Save it in your text editor? Don't tell me you tried to type a whole program into the REPL.

Name: Anonymous 2007-10-03 21:19

>>2
Is that wrong?

Name: Anonymous 2007-10-03 21:56

>>3
Only if you want to save your work.

I don't think most Lisps provide a way to save stuff entered at the repl. Generally a Lisper uses Emacs + Slime, which makes it easy to type code into another buffer and load it into your running Lisp, or some Lisp IDE that provides the same thing.

Some Lispers like to do their exploratory programming at the repl and have come up with programs that will save what you type, but I don't remember the program names or who's written such a thing since I don't do that. Google around and you may find it, but it's presumably too late for whatever you have typed thus far.

Name: Anonymous 2007-10-03 22:08

use dribble or save the image.

Name: Anonymous 2007-10-03 22:15

>>4
gedit + GCL for me, then.

Name: Anonymous 2007-10-03 22:40

>>5
Ah, yes. Dribble is what I was thinking of.

>>6
That's a terrible choice. It provides no way to put code into your Lisp and is completely ignorant of Lisp formatting, has no debugger integration, no auto-completion, does not provide automatic lists of function parameters, has no online documentation, and no definition lookup. It doesn't come with CL syntax highlighting either, if you want that.

tl;dr — you want Slime + Emacs

Name: Anonymous 2007-10-03 23:43

>>7
he's using gnome, it should go without saying that he wants none of those features.

Name: Anonymous 2007-10-04 1:58

>>6
lol X.

Real men use the console.

Name: Anonymous 2007-10-04 5:15

GCL should be renamed FCL, FAIL COMMON LISP

Name: Anonymous 2007-10-04 8:50

>>8
Around GNOME, blow up your home.

Name: Anonymous 2010-11-15 3:27

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