On Jul 12, 2006, at 3:18 PM, Allison Randal wrote:

Leopold Toetsch wrote:
Well, there was already one very legitimate usage of compile time
loadlib, which is now using C<.loadlib> for that:

We certainly need both compile-time and runtime loading of libraries. So, it's just a question of which syntax to use for which case.

chromatic suggests .include for "load this library at compile and run time". The .include directive is currently being used to mean "inline the entire source code for this file here". But, I've always thought of that as a hack we put in before we had library loading working. Any thoughts?


I would prefer .include to maintain its current meaning. Not everything you .include is a complete PIR program.

That would leave us the consistency of the loadlib opcode and the .loadlib directive both meaning "load this library at runtime".


How does this relate to leo's previous statement that .loadlib now does both compile & runtime loads?

Allison


--
Will "Coke" Coleda
[EMAIL PROTECTED]


Reply via email to