This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: Class name mangling
- From: Per Bothner <per at bothner dot com>
- To: Wen-Chun Ni <wcn at tbcommerce dot com>
- Cc: Kawa List <kawa at sources dot redhat dot com>
- Date: Fri, 29 Nov 2002 22:29:28 -0800
- Subject: Re: Class name mangling
- References: <20021129212143.A30090@tbcommerce.com>
Wen-Chun Ni wrote:
Hi Per,
It seems the class name "de-mangling" produced by define-simple-class
no longer works. Things like <2d-vector> (which is mangled to $N2d$Mnvector)
in the manual used to work under 1.6.68 but our most current CVS version
can't find it.
You need to be a little more specific about who can't find what.
Note there are actually two (or perhaps three) manglings:
(1) a non-reversible "Java-like" where "foo-bar" is mangled to "fooBar".
(2) a reversible mangling where "foo-bar" is mangled to "foo$Mnbar".
(3) in most cases the source Scheme name is used as it is,if it is a
valid Java name, and otherwise the reversible mangling is used.
Which of these should be used when may possibly be inconsistent or
or otherwise not the best choice, however, so that is certainly open
to discussion! (It has changed a bit over time.)
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/