How to compile scheme into native binary files ?

Posted by Joe on Stack Overflow See other posts from Stack Overflow or by Joe
Published on 2011-01-03T10:51:08Z Indexed on 2011/01/03 10:53 UTC
Read the original article Hit count: 355

Filed under:
|

I am very new to scheme. And now I am trying to compile some scheme code into binary file which will be loaded faster into interpreter. (The interpreter is a hybrid interpreter)Some one told me that I can compile the code into native binary file and then load it into interperter. And my question is: 1. What is the native binary file? 2. How can I compile the scheme code into a native binary file? 3. How can I load native bianry file into scheme interpreter?

Thanks in advance.

Joe

Suggested that I want to compile below code into native binary file:

(define test (lambda() (display "this is a test"))

And then load the bianry file into interpreter and call the function "test".

© Stack Overflow or respective owner

Related posts about Scheme

Related posts about native