Hi,
The Tour of Scheme in Gambit said all the time that a module system is needed for there to be module support.
At the time I just wrote an X for its name, as Black Hole didn't have a name yet. Also, the use form switched name to import two years ago or so. For both of these I thought this was updated since this fall though, let me know if it's not.
With the next revision of the Black Hole docs, I'll consider making the 'root source' document in the same format as Gambit's manual, and generate HTML and PDF from there the same way as Gambit does.
Brgds, Mikael
On Fri, 14 Oct 2011 02:03:17 +0000, Hendrik Boom wrote:
> I just made bootstrap from the 4.6.1 development sources, which I
> downloaded using git.
>
> When I start gsi and, according to the section "Subdivide code into
> modules" in the tour of Scheme in Gambit, I use "use" it tells me
>
> hendrik@notlookedfor:~/dv/lang/gambit/gambit$ gsi/gsi Gambit v4.6.1
>
>> (use ssax-sxml)
> *** ERROR IN (console)@1.2 -- Unbound variable: use 1>
>
> So evidently something is still missing, unconfigured, unbuilt, or
> whatever. It doesn't even get around to looking for the library --
> which is another question: how does it find the libraries, assuming it
> gets that far. And if the X module system is itself a module, how do I
> bootstrap it into the system?
>
> Or should I be using an entirely different mechanism?
>
> -- hendrik
Well, I found other items on gmane's archive of this mailing list. IT
looks as if the answer is that Gambit itself doesn't provide modules at
all, despite the mention in the Tour of Scheme in Gambit. But it seems
that there exists a completely separate module facility that can be used
with it. With its own installation instructions. And by the way, one
should use (import ...) instead of (use ...)
Really, this information shouldn't be that hard to find.
And is there a good reason why so many manuals on the gambit web site are
in pdf, odt, and doc formats and not in the obvious web-friendly html?
I'll report again when I've worked through the BlackHole installation.
-- hendrik
_______________________________________________
Gambit-list mailing list
Gambit-list@iro.umontreal.ca
https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list