On May 29, 2009, at 10:44 AM, Derick Eddington wrote:

On Fri, 2009-05-29 at 00:28 -0700, Derick Eddington wrote:
Now you can put your sweet command-line options processing library to
work for all these new options ;-)

BTW, I encourage you to claim a personal library namespace and put your
command-line options processing library under it, so others can
distribute and use it independent of Ikarus.

First I need to finish it. :-)

IIRC, you thought of a namespace a while back... :)

I did. :-)  But then again, I already claimed ikarus.  There is no
reason that a library named (ikarus command-line) cannot be used in
other implementations.

I imagine you can add
non-(ikarus ---) non-(rnrs ---) libraries to Ikarus's bootfile, right?
(I'm also just curious about this point.)

I assume you're not asking about the names of the libraries but
rather whether I can add, say, the (match) library or (srfi :1),
right?

As it stands, the bootfile and the initial library set is built
by magic in makefile.ss and the sequence of operations is tricky
as you've noticed before.  So, if you want an additional set of
libraries to augment the built-in set, and have them be in the
boot file, there is more magic that needs to be done.

First, the fasl reader in C which loads the boot file is pretty
restricted compared to the fasl reader in Scheme.  Not every
user library can be massaged to be loadable by the C loader, so,
we *must* use the Scheme loader for these.

Second, these libraries have to be built using the same boot
file in which they are to reside (how nice).  To get around this,
the boot file has to be built incrementally: start with the built
in set to make bootfile0, then use bootfile0 to compile the other
libraries (producing fasl1, fasl2, ...), then somehow augment
bootfile0 and fasl1, fasl2, ... to make the final bootfile.

Note that nothing in bootfile0 can use anything in the augmented
set.  So, if that's the case, I see no point in adding these
libraries to the boot file in the first place.  Do you have
something specific in mind that you'd want to do?  Like are you
thinking of application delivery in the form of ikarus + one
giant bootfile that has everything else?

Aziz,,,

Reply via email to