guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

module system play


From: Thien-Thi Nguyen
Subject: module system play
Date: Fri, 26 Mar 2004 16:45:35 +0100

folks,

finally got my brain wrapped around the guile module system, enough to
re-org w/o re-design, packing it all into one fat closure.  for anyone
interested in experimenting w/ module system (re-)design -- e.g., adding
support for parameterized modules -- this is probably easier to work w/
than the implementation(s) commonly distributed w/ guile.

a nice side-effect of this process is that for CODE:

     (use-modules (ice-9 session))
     (apropos "module")

we see:

     guile -c 'CODE' | wc               (1.4.1.98)
        55     299    3816

     pre-inst-guile -c 'CODE' | wc
        19      79     956

the re-org is not yet finished (still to go: further tightening of the
module system "API", internal fast-path, support for #:pure et al, and
of course, documentation), but the basic structure is in place.  source
browsable at:

  http://www.glug.org/snap/core-1-4/ice-9/boot-9/module-system.scm

see also module-system-macros.scm (same dir) and modules.c (in
../../libguile) for concomitant changes.

ok Tom, now i can turn to the regex stuff while you puzzle out how to
get this module system into/onto/over/under pika (should it be deemed
Worthy :-)...

thi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]