I am probably missing something very obvious, but I cannot seem to
figure out how to load one file (Scheme source) in another when using
chicken-spock. I'd be grateful for any pointers.
Should I be using some other mechanism to pull in code and libraries?
(What I'm hoping to do is, for example,
Sudarshan S Chawathe scripsit:
> I am probably missing something very obvious, but I cannot seem to
> figure out how to load one file (Scheme source) in another when using
> chicken-spock. I'd be grateful for any pointers.
Scheme `load` is a procedure; that is, it is executed at run time.
Spock
Sudarshan S Chawathe scripsit:
> The 'load' not working makes sense now; thanks for the reminder! It
> seems odd that 'include' or something similar isn't available.
Apparently you are just supposed to supply multiple files of Scheme
code on the Spock command line.
--
John Cowan
> From: John Cowan
> Scheme `load` is a procedure; that is, it is executed at run time.
> Spock is an offline compiler, so there is no way to load Scheme code
> (as opposed to JavaScript code) into a running Spock program. As far
> as I know, Spock doesn't implement