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: Name mangling


On 01/27/2011 05:40 AM, Helmut Eller wrote:
I think in newer version of the class file format '-' is allowed
in method names.  Maybe Kawa should use that and stop mangling it?

That might be a good idea.


Note there are two manglings:

(1) Method names generated from function names.  These map
from Scheme style to Java style:
char-ready? -> isCharReady

(2) Everything else uses a reversible mangling:
char-ready? -> char$Mnready$Qu

I think it might be reasonable to keep (1) as current,
but change (2) to:
char-ready? -> char-ready$Qu

Comments?

This would of course break binary compatible, but I'm
afraid I haven't made much attempt at maintaining
binary compatibility across releases.
--
	--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]