开发者

MIT/Scheme as a simple compiler under Windows

开发者 https://www.devze.com 2023-01-26 06:07 出处:网络
Is there a possibility to use mit scheme as a simple compiler (without runing Edwin) in Windows? I want to edit code in w开发者_StackOverflow社区ditor of my choice and compile it, but I haven\'t foun

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

I want to edit code in w开发者_StackOverflow社区ditor 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"


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.


Try this:

mit-scheme --band mit-scheme-install-folder/lib/all.com \
           --library mit-scheme-install-folder/lib --load file.scm


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

0

精彩评论

暂无评论...
验证码 换一张
取 消