[gambit-list] What's the purpose of ##scheme-file-extensions?

Bradley Lucier lucier at math.purdue.edu
Mon Nov 8 13:03:44 EST 2004


In _io.scm we find the definition

(define ##scheme-file-extensions #f)
(set! ##scheme-file-extensions
   '((".scm" . #f)
     (".six" . six)))

and this is used in gsc somehow so that

% gsc -c -expansion interp.gsc

doesn't work (unrecognized file type), yet

% gsc
 > (compile-file-to-c "interp.gsc" '(expansion))

does work.

So what's the point of having ##scheme-file-extensions?  It just seems 
to get in the way.

Brad



More information about the Gambit-list mailing list