[gambit-list] The module system

Benjohn Barnes BENJOHN at FYSH.ORG
Fri Jun 3 12:35:25 EDT 2011

Hi John,

Thanks – I didn't get a reply about the "X Module System".

I did get Black Hole installed though, and started to work with it, but I got a crash while compiling with it. Mark and Per have come forward with some suggestions on getting some debugging info out of black hole to try and diagnose the issue, so I'll do that – I'm on holiday so probably on reduced bandwidth for a week or so though :-)

Another tip is to go through some of the dumping ground projects. Several are large enough to need a build system, so I've found looking at what those do can help with getting some ideas about using gsc.

All the best,

On 3 Jun 2011, at 00:13, John Velman wrote:

> Did you ever get an answer to this?  I'm in a similar situation, and
> currently puzzling over how to get SRFI1, Blackhole, or Snow?  Due to lack
> of opportunity to spend time on my desktop iMac I've been mostly reading,
> although I did download blackhole -- but didn't try to compile and install
> it yet.
> Best regards,
> John Velman
> On Wed, Jun 01, 2011 at 10:37:31AM +0100, Benjohn Barnes wrote:
>> Hi,
>> I'm reading in "A tour of Scheme in Gambit" about the "X Module System", on page 40:
>> 	http://dynamo.iro.umontreal.ca/~gambit/wiki/images/a/a7/A_Tour_of_Scheme_in_Gambit.pdf
>> It mentions two forms: "module" and "use", and describes how a module will be recompiled if the module source is newer than the binary. This sounds great, but in gsi, or when I compile a file with gsc, neither "module" nor "use" are available:
>>> gambit # gsi
>>> Gambit v4.6.1
>>>> module
>>> *** ERROR IN (console)@1.1 -- Unbound variable: module
>>> 1> (module a_module)
>>> *** ERROR IN (console)@2.2 -- Unbound variable: module
>>> 2> 
>> Is this something that has been removed, or do I have to turn it on?
>> Thank you,
>> 	Benjohn
>> -- 
>> benjohn at fysh.org - Twitter @benjohnbarnes - Skype benjohnbarnes - Mobile +44 (0) 7968 851 636
>> _______________________________________________
>> Gambit-list mailing list
>> Gambit-list at iro.umontreal.ca
>> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list

benjohn at fysh.org - Twitter @benjohnbarnes - Skype benjohnbarnes - Mobile +44 (0) 7968 851 636

More information about the Gambit-list mailing list