[gambit-list] calling scheme from C

Bradley Lucier lucier at math.purdue.edu
Mon Jun 15 10:20:27 EDT 2009


On Jun 15, 2009, at 9:33 AM, Marc Feeley wrote:

> One remaining issue... what should be the default gsc option?   
> Currently it is -dynamic, but for consistency with other compilers,  
> and in particular C compilers, perhaps the -exe option should be  
> the default.  That way you can do:
>
>    % gsc foo.scm
>    % ./foo
>
> and to get a dynamically loadable library you will have to do:
>
>    % gsc -dynamic foo.scm
>    % gsi foo

I think with dynamic languages like Scheme and Lisp with a REPL and a  
large runtime, the default should remain -dynamic.

Brad




More information about the Gambit-list mailing list