Is there an easy-to-use compiler for Scheme?

Discussion of Scheme and Racket

Is there an easy-to-use compiler for Scheme?

Postby trefixxx » Mon Feb 02, 2015 8:11 am

Hi everyone,

I am a novice going through the book SICP. When doing the exercises, I would like to easily switch between the MIT course materials, some relevant webpages and my code. Preferably, I would like to have a compiler such as Eclipse for Java, i.e. a program that highlights my code and at the same time compiles it (in a split screen). Is there anything comparable in regards of Lisp/Scheme? I am working on a Mac OS X 10.10 (Yosemite).

I have downloaded GNU Emacs from http://emacsformacosx.com/ however this seems to require much knowledge to get into a decent working flow. I hope you can finally get me started, I have struggled now for some time with that... If there is simply no such compiler could anyone tell me how to compile a file using terminal?

Thank you so much for your help.

P.S.: As of now, I have not found a decent tutorial on how to get started with Scheme. Did I miss anything?
trefixxx
 
Posts: 1
Joined: Mon Feb 02, 2015 7:59 am

Re: Is there an easy-to-use compiler for Scheme?

Postby nuntius » Mon Feb 02, 2015 3:11 pm

Yes, Racket has everything you are looking for, including support for SICP.

http://racket-lang.org/

Many other good Scheme implementations are able to run SICP code, but I think they require a bit more work to get started.

Here's a guide that uses MIT Scheme.

http://hackerretreat.com/why-how-start-sicp/
User avatar
nuntius
 
Posts: 525
Joined: Sat Aug 09, 2008 10:44 am
Location: Newton, MA

Re: Is there an easy-to-use compiler for Scheme?

Postby sylwester » Fri Feb 06, 2015 5:07 pm

I agree DrRacket does indeed work as a good IDE/editor. It also has macroexpansion and a good debugger as well as function as a compiler.
Be sure to not use the standard language though as it is *not* Scheme. The latest Scheme report supported by the suit is R6RS.
If you need to test your software on a different implementations I recommend Ikarus. (Though both chicken and gambit has good compilers too)
I'm the author of two useless languages that uses BF as target machine.
Currently I'm planning a Scheme compiler :p
sylwester
 
Posts: 118
Joined: Mon Jul 11, 2011 2:53 pm


Return to Scheme

Who is online

Users browsing this forum: No registered users and 1 guest