4 ms·
I want to start working through SICP again beginning these Easter holidays. I tried it before using Vim and and ran the REPL in a different terminal. This rea
by laichzeit0 13y ago
I want to start working through SICP again beginning these Easter holidays. I tried it before using Vim and and ran the REPL in a different terminal. This really sucked and I gave it up as a bad job. I decided that Emacs is probably a better "development environment" to try and go through SICP so I did this:
Got Emacs "pimped" [1] enough to behave like Vim but Emacs enough to use Geiser and connect to Racket with Neil Van Dyke's SICP package. (Emacs prelude, Eviled, Solarized and installed packages: geiser, quack, sicp (M-x info-display-manual sicp)).
Gonna see how it goes this time round.
[1] https://github.com/humana/dotfiles/blob/master/emacs/personal/custom.el https://github.com/humana/dotfiles/blob/master/emacs/persona...
- minikomi 13y agoYou can always use Dr Racket. I'm a vim user but find DrRacket fine for doing iterative "practice" with a REPL.
- klibertp 13y agoDrRacket is not as easy to customize as Emacs is and it, by default, offers a different mode of exploratory programming than the one SLIME users expect. In DrRacket you don't evaluate a single form, you just execute a module and then are dropped into it's namespace. If you change a definition in your module you need to re-read all of it or alternatively copy-paste it into the REPL, which is not convenient. I found that the SLIME/Geiser/Emacs model is better for really tiny stuff, while DrRacket's is better for longer scripts, where there are many dependencies. Anyway, while both ways are ok, they are not exactly equivalent - is what I wanted to say.
- bbradley406 13y agoI'm not sure if this matches your exact needs, but there is a way to achieve this functionality in DrRacket: http://docs.racket-lang.org/drracket/Keyboard_Shortcuts.html?q=drracket#%28part._.Sending_.Program_.Fragments_to_the_.R.E.P.L%29 http://docs.racket-lang.org/drracket/Keyboard_Shortcuts.html...
- davexunit 13y agoEmacs + Geiser is _the_ perfect setup for Scheme hacking. Geiser supports both Guile and Racket. It's simply an unparalleled development environment, imo.
- sparkie 13y agoAdd ParEdit if you don't have it yet. (Quick overview of most it's features here: https://www.youtube.com/watch?v=D6h5dFyyUX0 https://www.youtube.com/watch?v=D6h5dFyyUX0)