compilation - Compiling .scm files with MIT-SCHEME -


well, i'm trying compile simple scheme code using "better" scheme interpreter/compiler mit-scheme:

code.scm:

(declare (usual-integrations)) (define (s x) (* x x)) (display (s 2)) 

what doing? i'm doing this:

dxhj ~ mit-scheme dxhj ~ (cf "code.scm")  ;generating scode file: "s.scm" => "s.bin"... done ;compiling file: "s.bin" => "s.com"... done ;unspecified return value 

well, after can't run anything. how can generate .out file?

it seems mit-scheme cannot compile native, stand-alone binaries. there other implementations can this. example, chicken scheme, bigloo , gambit.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

python - Django-cities exits with "killed" -

python - How to get a widget position inside it's layout in Kivy? -