chicken-scheme

Reading time: 0 minutes and 35 seconds with 130 words. 本文总阅读量

它的主要住用适用于产生exe文件,并且对应产生的c代码更加的有效, 运行效率较高。

产生可运行文件

该可运行的文件是通过chicken生成egg文件,也就是c语言,然后编译成机器代码。 所以运行效率更高一些。

;;; hello-world.scm
(print "Hello, world!")

;;; Running it interpreted:
$ csi -s hello-world.scm 
Hello, world!

;;; Compiling and running the executable binary:
$ csc hello-world.scm 

$ ./hello-world
Hello, world!

chicken-scheme

Avatar
Ye Zhaoliang
Engineer of offshore wind turbine technique research

My research interests include distributed energy, wind turbine power generation technique , Computational fluid dynamic and programmable matter.

Related

本站访问量: