This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Requiring modules in source code


Kaloian Doganov wrote:
Is it possible to write Kawa module that can be required without being
first explicitly compiled and serialized (to a .class-file or .zip-file)
with "kawa -C"?

Not easily, but I am planning on doing it. My idea is that: (require "filename") will be equivalent to compiling the "filename" and then immediately requiring the compiled module - except that class files won't actually be written out in to the filesystem. That means using a special class-loader, so there are some issues to consider in that area.

The servlet (web server) support already works like this, though
it doesn't yet support dependencies.
--
	--Per Bothner
per@bothner.com   http://per.bothner.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]