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: define-simple-class vs modules


On 01/26/2011 01:08 PM, Jamison Hope wrote:
New question: is there any sort of reflection mechanism which will give
me a list of all the bindings exported by a module?
java.lang.Class#getFields is kind of on the right track, except that it
gives me mangled names, gives me everything even if it was
define-private or not listed in module-export and includes the extra
Kawa runtime support stuff inserted by the compiler.

No, there isn't but perhaps there should be.


Maybe something based on R6RS's (rnrs records inspection) library?
Some Schemes (and of course Common Lisp) have a meta-object-protocol
that could provide API suggestions.
--
	--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]