unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* module system play
@ 2004-03-26 15:45 Thien-Thi Nguyen
  0 siblings, 0 replies; only message in thread
From: Thien-Thi Nguyen @ 2004-03-26 15:45 UTC (permalink / raw)


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


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-26 15:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-26 15:45 module system play Thien-Thi Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).