chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] Loading a user-specified list of extensions?


From: Alejandro Forero Cuervo
Subject: [Chicken-users] Loading a user-specified list of extensions?
Date: Sun, 9 Nov 2008 13:55:33 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

What's the best way for a program to load an egg specified by the user
(not known at compile time; and which, obviously, doesn't export
macros to the loading program)?

For instance, I'd like to do something like:

  (load-extension (read))

Ideally, this should indicate success with the return value (or raise
a condition if the egg could not be loaded).

I've found that I can use ##sys#require for this, but is there a way
to do it without using functions with hashes (ie. I don't want to have
to change this with every new release due to depending on internal
functions)?

Thanks!

Alejo.
http://azul.freaks-unidos.net/




reply via email to

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