julie
  • julie
If anyone wants to avoid learning emacs for this course, alternatives are: 1) DrScheme gui (maybe a few inconsistencies with mit code there? Didnt test for myself) 2)Vim + gnu screen with some little tweaking(split window between vim and repl interpreter) + SaneCL plugin for auto-indenting. Syntax highlight works when editing .scm files, parenthesis matching also, auto-indenting seems to work too.
MIT 6.001 Structure and Interpretation of Computer Programs, Spring 2005
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
schrodinger
  • schrodinger
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
julie
  • julie
PS: i think second solution is for unix or linux systems only, but may be viable in other systems with a program like gnu screen. Hope this helps some people, and sorry for the wall of text too.
Tim
  • Tim
Could you tell me about the second combination? Currently I use vim to write the code and then I load the file inside the interpreter. Do I miss a lot?
shadowfiend
  • shadowfiend
I don't think you're missing much except the readily accessible REPL (Read Eval Print Loop) which functions nicely in the MIT provided Edwin/Emacs environment. It's available at the link below. http://www.gnu.org/software/mit-scheme/

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

julie
  • julie
Yes podcherklife ill give some more detail. I found the instruntctions to integrate vim with repl environment (mit scheme in my case) at http://www.ktaylor.name/vim/. Also, in vim version 7.2.2 that i use, if i am editing a file with approriate extension (.scm), syntax highlighting and parenth. matching works. The SaneCL plugin is found at http://www.vim.org/scripts/script.php?script_id=2951. Hope this helps
julie
  • julie
PS no 2: at the above case, when split window mode between vim and repl, you can with ctr+c twice on marked code eval the code in repl. maybe you miss something more sophisticated, but i think the basics are there
anonymous
  • anonymous
This setup works really well for doing Scheme exercises, thanks for sharing! Do you know if it's possible to get an edwin-style Scheme debugger in the vim+repl setup described above? Or is it time to jump ship to a different editor if I need that functionality?
shadowfiend
  • shadowfiend
I'm sure it's *possible* to get such a debugger, but I'm not sure how you would do it, honestly. Vim is capable of many things, but that doesn't mean someone's already done it :)
anonymous
  • anonymous
As much as I am married to vim due to my muscle memory and its leanness, I'm not averse to switching editors if it's worth it. If there's an alternative to the mit-scheme REPL i'm using that has some sort of a built-in debugger that would work fine. If not, I might check out DrRacket or Edwin/Emacs, as I think there's a huge advantage in understanding to be able to step through code in a debugger. Also, the inherent lisp orientation of those editors (in particular the features I've heard described in DrRacket) sound quite nice. And if I do go with an emacs flavor, I guess there's always viper-mode. :)

Looking for something else?

Not the answer you are looking for? Search for more explanations.