[m-rev.] diff: turn off name mangling on .NET backend

Peter Ross peter.ross at miscrit.be
Thu Feb 28 03:59:04 AEDT 2002


fjh wrote:
> On 27-Feb-2002, Peter Ross <peter.ross at miscrit.be> wrote:
> >
> > compiler/mlds_to_il.m:
> >     There is no need to further mangle an id on the .NET backend, as
> >     identifiers don't need to consist of just alpha-numeric
entities.
>
> Won't that break CLS-compliance of the generated identifiers?
>
Yes you are right, however it solves for the moment a more serious
problem.  That is that this name mangling generates names which are too
long to be handled by the ilasm tool.  I am reading the Unicode spec for
what is allowable now and will implement those rules instead.  My quick
read seems to suggest that we can get away with anything providing the
first letter is alpha-numeric.

Pete

--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list