开发者

How to compile scheme code to a bin file?

I am using a software who has a built-in scheme interpreter. User could communicate and/or manipulate 开发者_运维问答the software by typing command in the interpreter. The interpreter also could load scheme code file or bin file that contain scheme code. I wrote some scheme functions like this:

(define test (lambda(() (display "This is a test!")))

I will use the function "test" in the software interpreter later. I don't want to anyone to change my code, so how can I compile this function into a bin file and load it to the interperter later?

Thanks a lot!!!

Joe


Interpreters don't run compiled code.


You can compile all your scheme program with scheme compilers but not have an hybrid interpreted/compiled code

http://www.call-cc.org/

Yours

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜