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

Pages: 1-

sicp with which dialect?

Name: Anonymous 2012-11-10 6:39

I want to go through sicp. I don't know which dialect of lisp to use. Also which text editor should I use( I currently use vim never tried emacs) Is emacs worth learning for lisp? I am on arch linux btw.

Name: Anonymous 2012-11-10 6:51

Scheme
No
IHBT

Name: Anonymous 2012-11-10 7:03

>>1
No, don't bother with Emacs if you just want to go through SICP.

Racket along with Dr Racket are good for this purpose, but by the time you get to chapter 3 and they introduce mutable state, you'll have to change the code slightly, as the Scheme datastructure you'll need has a different name in Racket (mcons instead of cons).

The rest is straight up the same, I think.

Name: awk 2012-11-10 7:30

I like SBCL sometimes. Scheme for everything tough.

vi:ed FTW!

Name: Anonymous 2012-11-10 7:33

>>1
I want to go through sicp. I don't know which dialect of lisp to use.
I was recommended Racket here and ended up using Chicken. (a third alternative is MIT Scheme and its editor Edwin, the guy you see on the video).
Racket comes with (according to many) a nice editor, so you may find it handy to begin quickly. Just remember to set the language to R5RS. Other people have used Common Lisp, Logo, Haskell, Scala, Javascript, ... ,  add yours if you got the guts

Also which text editor should I use (I currently use vim never tried emacs) Is emacs worth learning for lisp?
I'm sure emacs is worth learning, the only configuration I need to enjoy a Scheme environment is this:
;;; Chicken Scheme / cluck
;;; http://wiki.call-cc.org/cluck
;;; use Quack  instead of Cluck, if you opt for Racket
(require 'cluck)
(setq scheme-program-name "csi -:c")

Thanks to SICP, I now use emacs for Maxima, Octave, Python because it's cool to send the evaluation of a function with a keystroke... But vim is ok too, just open another X window with the Scheme REPL.

I ran all code (up to chapter 5). Sometimes you'll need two or three lines that are not in the book. You'll find everything on the web (or ask here). Is www.neilvandyke.org down? WTF

I am on arch linux btw.
It doesn't matter at all what you use, you'll just be flamed. I suppose you want to: sudo pacman -S chicken racket emacs and install Quack and Cluck manually.

Name: Anonymous 2012-11-10 12:32

Real men use common lisp.

Name: Anonymous 2012-11-10 12:36

>>6
What's that? Scheme++ ?

Name: Anonymous 2012-11-10 12:53

SCHEPPLES

Name: Anonymous 2012-11-10 13:03

Build your own lisp as you go.

Name: Anonymous 2012-11-10 15:56

>>6
YES

Name: Anonymous 2012-11-19 15:21

dubs with which checking?

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