LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Can MIT/GNU scheme compile to a standalone executable? (https://www.linuxquestions.org/questions/linux-software-2/can-mit-gnu-scheme-compile-to-a-standalone-executable-918607/)

hda7 12-13-2011 08:29 PM

Can MIT/GNU scheme compile to a standalone executable?
 
I know that MIT/GNU scheme can be used to compile a scheme program to native code using "cf", but can it compile into a standalone executable? Or, can the resulting ".com" file be transformed into a standalone executable? I can't find much information about this in the manual.

jthill 12-14-2011 01:34 PM

Hunt up chicken scheme, it compiles scheme to C. It's BSD-licensed, at least a decade old and the mailing lists are quite active, that's all I know about it.

hda7 12-14-2011 07:36 PM

Quote:

Originally Posted by jthill (Post 4549926)
Hunt up chicken scheme, it compiles scheme to C. It's BSD-licensed, at least a decade old and the mailing lists are quite active, that's all I know about it.

That looks like it will do the job well. The main website is at http://www.call-cc.org/.

Other implementations I found that can compile are Bigloo and Gambit.

I'll probably use Chicken, but I'm still curious about whether MIT/GNU scheme can do it.

hda7 12-15-2011 10:06 AM

I installed chicken scheme, and it successfully compiled a (slightly modified) scheme program I had written. It looks like chicken is exactly what I needed.

Thanks!


All times are GMT -5. The time now is 01:37 PM.