MIT/Scheme as a simple compiler under Windows
Asked Answered
A

3

7

Is there a possibility to use mit scheme as a simple compiler (without runing Edwin) in Windows?

I want to edit code in wditor of my choice and compile it, but I haven't found and option to do this.

When I execute...

mit-scheme < file.scm

...I get a window with:

"can't find a readable default for option --band.
searched for file all.com in these directories:
c:\local\mit-scheme"

Anaclinal answered 20/11, 2010 at 15:13 Comment(0)
S
7

Try this:

mit-scheme --band mit-scheme-install-folder/lib/all.com \
           --library mit-scheme-install-folder/lib --load file.scm
Segal answered 21/11, 2010 at 15:2 Comment(0)
T
9

If you'd like to save some typing every time you want to run mit-scheme.exe, you can add the mit-scheme-install-folder/lib path to the environment variable MITSCHEME_LIBRARY_PATH.

Townsville answered 7/7, 2011 at 22:54 Comment(0)
S
7

Try this:

mit-scheme --band mit-scheme-install-folder/lib/all.com \
           --library mit-scheme-install-folder/lib --load file.scm
Segal answered 21/11, 2010 at 15:2 Comment(0)
L
0

I know you said MIT-Scheme, but check out DrRacket (formerly, DrScheme), which runs Scheme code well from the command line.

Litter answered 7/7, 2011 at 23:12 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.